From 5d2b4c2633ae9f6048d2dcb3089a42cd49887179 Mon Sep 17 00:00:00 2001 From: minhngoc270499 Date: Tue, 25 Jun 2024 17:53:54 +0700 Subject: [PATCH] feat: deploy merlin testnet --- src/consts/chains.ts | 22 ++++++++++++++++++++++ src/consts/tokens.yaml | 26 +++++++++++++++++++++++++- 2 files changed, 47 insertions(+), 1 deletion(-) diff --git a/src/consts/chains.ts b/src/consts/chains.ts index d2f82e6e..aca5d6f7 100644 --- a/src/consts/chains.ts +++ b/src/consts/chains.ts @@ -86,4 +86,26 @@ export const chains: ChainMap = { estimateBlockTime: 10, }, }, + merlintestnet: { + protocol: ProtocolType.Ethereum, + chainId: 686868, + domainId: 686868, + name: 'merlintestnet', + displayName: 'Merlin Testnet', + nativeToken: { name: 'BTC', symbol: 'BTC', decimals: 18 }, + rpcUrls: [{ http: 'https://testnet-rpc.merlinchain.io' }], + blockExplorers: [ + { + name: 'Merlin testnet explorer', + url: 'https://testnet-scan.merlinchain.io', + apiUrl: 'https://testnet-scan.merlinchain.io/api', + family: ExplorerFamily.Blockscout, + }, + ], + blocks: { + confirmations: 1, + reorgPeriod: 1, + estimateBlockTime: 10, + }, + }, }; diff --git a/src/consts/tokens.yaml b/src/consts/tokens.yaml index 4afd43f2..b2555f7b 100644 --- a/src/consts/tokens.yaml +++ b/src/consts/tokens.yaml @@ -84,4 +84,28 @@ tokens: decimals: 18 addressOrDenom: "0xa9c12F47836207879Ec1bbec09361DB932Db2f09" connections: - - token: ethereum|sepolia|0x21b044ceE37B6bd05b923D9f02394C294aE66964 \ No newline at end of file + - token: ethereum|sepolia|0x21b044ceE37B6bd05b923D9f02394C294aE66964 + - chainName: sepolia + standard: EvmHypNative + totalSupply: 0 + decimals: 18 + name: Ether + symbol: ETH + type: native + owner: "0xD227Ed60eEE10c535Ac2878E0e29C1F8541529fA" + mailbox: "0xd64b281d9cB8530094e5cEC33d1810eD7D037766" + addressOrDenom: "0x7EA029a55FAE7282c8E79f691e0e8B1327c4b712" + connections: + - token: ethereum|merlintestnet|0xEfBddC5d3b88FF439d8B89A69402265b5773a52f + - chainName: merlintestnet + standard: EvmHypSynthetic + totalSupply: 0 + decimals: 18 + name: Ether + symbol: ETH + type: synthetic + owner: "0xD227Ed60eEE10c535Ac2878E0e29C1F8541529fA" + mailbox: "0x3f93366772e3705f8E3D272d1bd7E0aF3D2569e7" + addressOrDenom: "0xEfBddC5d3b88FF439d8B89A69402265b5773a52f" + connections: + - token: ethereum|sepolia|0x7EA029a55FAE7282c8E79f691e0e8B1327c4b712 \ No newline at end of file