From 555d62c553eb26a9cf3cd24816084482e7cf8bed Mon Sep 17 00:00:00 2001 From: minhngoc270499 Date: Thu, 13 Jun 2024 02:01:02 +0700 Subject: [PATCH] feat: add merlin and hyperliquid --- src/consts/chains.ts | 36 ++++++++++++++++++++++++++++++++++++ src/consts/tokens.yaml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/src/consts/chains.ts b/src/consts/chains.ts index 9b8cef87..4d794fa5 100644 --- a/src/consts/chains.ts +++ b/src/consts/chains.ts @@ -28,4 +28,40 @@ export const chains: ChainMap = { estimateBlockTime: 10, }, }, + hyperliquidtestnet: { + protocol: ProtocolType.Ethereum, + chainId: 998, + domainId: 998, + name: 'hyperliquidtestnet', + displayName: 'Hyperliquid Testnet', + nativeToken: { name: 'Ether', symbol: 'ETH', decimals: 18 }, + rpcUrls: [{ http: 'https://api.hyperliquid-testnet.xyz/evm' }], + blocks: { + confirmations: 1, + reorgPeriod: 1, + estimateBlockTime: 10, + }, + }, + zircuittestnet: { + protocol: ProtocolType.Ethereum, + chainId: 48899, + domainId: 48899, + name: 'zircuittestnet', + displayName: 'Zircuit Testnet', + nativeToken: { name: 'Ether', symbol: 'ETH', decimals: 18 }, + rpcUrls: [{ http: 'https://zircuit1.p2pify.com/' }], + blockExplorers: [ + { + name: 'Zircuit explorer', + url: 'https://explorer.zircuit.com/', + apiUrl: 'https://explorer.zircuit.com/api', + family: ExplorerFamily.Blockscout, + }, + ], + blocks: { + confirmations: 1, + reorgPeriod: 1, + estimateBlockTime: 10, + }, + }, }; diff --git a/src/consts/tokens.yaml b/src/consts/tokens.yaml index ca59b2f8..775856bb 100644 --- a/src/consts/tokens.yaml +++ b/src/consts/tokens.yaml @@ -20,3 +20,35 @@ tokens: addressOrDenom: "0x6301360802E31Ff5824cA90CaF183D4828644071" connections: - token: ethereum|ethereum|0x93840E9885C6DEdcc0e9f4440D3defE914b755C3 + - chainName: sepolia + standard: EvmHypNative + name: Ether + symbol: ETH + decimals: 18 + addressOrDenom: "0xF3EF9E3aF0f4696D9DBcC26140F7c0a52188BDf0" + connections: + - token: ethereum|zircuittestnet|0x1A145b7761e2B7D939eaABeAA2b8ef5aAeb813fD + - chainName: zircuittestnet + standard: EvmHypSynthetic + name: Ether + symbol: ETH + decimals: 18 + addressOrDenom: "0x1A145b7761e2B7D939eaABeAA2b8ef5aAeb813fD" + connections: + - token: ethereum|sepolia|0xF3EF9E3aF0f4696D9DBcC26140F7c0a52188BDf0 + - chainName: sepolia + standard: EvmHypNative + name: Ether + symbol: ETH + decimals: 18 + addressOrDenom: "0x2eE2425B818531aa329BAAA7028786ad0e6D2D2f" + connections: + - token: ethereum|hyperliquidtestnet|0x2f7Ff3EDB340EFbF93451e9806745fc510Af8086 + - chainName: hyperliquidtestnet + standard: EvmHypSynthetic + name: Ether + symbol: ETH + decimals: 18 + addressOrDenom: "0x2f7Ff3EDB340EFbF93451e9806745fc510Af8086" + connections: + - token: ethereum|sepolia|0x2eE2425B818531aa329BAAA7028786ad0e6D2D2f