From a503a25a66830e05d2431810def91338f014961a Mon Sep 17 00:00:00 2001 From: wanglonghong Date: Mon, 18 Sep 2023 17:27:43 +0800 Subject: [PATCH 1/2] feat: add local hub/spoke chains --- crossChain.json | 120 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 86 insertions(+), 34 deletions(-) diff --git a/crossChain.json b/crossChain.json index 7ffa99b..37a937b 100644 --- a/crossChain.json +++ b/crossChain.json @@ -1853,40 +1853,7 @@ "removeLiquidityRouterContract": "48000" } }, - { - "name": "Local1337", - "chainId": 1337, - "domainId": "133712", - "type": "mainnet", - "confirmations": 10, - "network": "local1337", - "networkId": 1337, - "nativeCurrency": { "name": "Ethereum", "symbol": "ETH", "decimals": 18 }, - "assetId": { - "0x0000000000000000000000000000000000000000": { - "symbol": "ETH", - "mainnetEquivalent": "0x0000000000000000000000000000000000000000", - "decimals": 18 - } - } - }, - { - "name": "Local1338", - "chainId": 1338, - "domainId": "133812", - "type": "mainnet", - "confirmations": 10, - "network": "local1338", - "networkId": 1337, - "nativeCurrency": { "name": "Ethereum", "symbol": "ETH", "decimals": 18 }, - "assetId": { - "0x0000000000000000000000000000000000000000": { - "symbol": "ETH", - "mainnetEquivalent": "0x0000000000000000000000000000000000000000", - "decimals": 18 - } - } - }, + { "name": "Milkomeda Cardano (C1)", "chainId": 2001, @@ -2702,5 +2669,90 @@ "gasStations": [], "explorers": [{ "url": "https://explorer.harmony.one/" }], "gasEstimates": {} + }, + { + "name": "Local1337", + "chainId": 1337, + "domainId": "133712", + "type": "mainnet", + "confirmations": 10, + "network": "local1337", + "networkId": 1337, + "nativeCurrency": { "name": "Ethereum", "symbol": "ETH", "decimals": 18 }, + "assetId": { + "0x0000000000000000000000000000000000000000": { + "symbol": "ETH", + "mainnetEquivalent": "0x0000000000000000000000000000000000000000", + "decimals": 18 + } + } + }, + { + "name": "Local1338", + "chainId": 1338, + "domainId": "133812", + "type": "mainnet", + "confirmations": 10, + "network": "local1338", + "networkId": 1337, + "nativeCurrency": { "name": "Ethereum", "symbol": "ETH", "decimals": 18 }, + "assetId": { + "0x0000000000000000000000000000000000000000": { + "symbol": "ETH", + "mainnetEquivalent": "0x0000000000000000000000000000000000000000", + "decimals": 18 + } + } + }, + { + "name": "Local Mainnet", + "chainId": 31337, + "domainId": "31337", + "type": "local", + "confirmations": 10, + "network": "localmainnet", + "networkId": 31337, + "nativeCurrency": { "name": "Ethereum", "symbol": "ETH", "decimals": 18 }, + "assetId": { + "0x0000000000000000000000000000000000000000": { + "symbol": "ETH", + "mainnetEquivalent": "0x0000000000000000000000000000000000000000", + "decimals": 18 + } + } + }, + { + "name": "Local Optimism", + "chainId": 31338, + "domainId": "31338", + "type": "local", + "confirmations": 10, + "network": "localoptimism", + "networkId": 31338, + "nativeCurrency": { "name": "Ethereum", "symbol": "ETH", "decimals": 18 }, + "assetId": { + "0x0000000000000000000000000000000000000000": { + "symbol": "ETH", + "mainnetEquivalent": "0x0000000000000000000000000000000000000000", + "decimals": 18 + } + } + }, + { + "name": "Local Arbitrum", + "chainId": 31339, + "domainId": "31339", + "type": "local", + "confirmations": 10, + "network": "localmainnet", + "networkId": 31339, + "nativeCurrency": { "name": "Ethereum", "symbol": "ETH", "decimals": 18 }, + "assetId": { + "0x0000000000000000000000000000000000000000": { + "symbol": "ETH", + "mainnetEquivalent": "0x0000000000000000000000000000000000000000", + "decimals": 18 + } + } } ] From 9e1cf5366a919a6714db74744ed451aa96000575 Mon Sep 17 00:00:00 2001 From: wanglonghong Date: Mon, 18 Sep 2023 17:30:18 +0800 Subject: [PATCH 2/2] fix: name --- crossChain.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crossChain.json b/crossChain.json index 37a937b..a66f362 100644 --- a/crossChain.json +++ b/crossChain.json @@ -2744,7 +2744,7 @@ "domainId": "31339", "type": "local", "confirmations": 10, - "network": "localmainnet", + "network": "localarbitrum", "networkId": 31339, "nativeCurrency": { "name": "Ethereum", "symbol": "ETH", "decimals": 18 }, "assetId": {