From a3e01df8b714dd34c4990aeb01a6fb0a74cec9f8 Mon Sep 17 00:00:00 2001 From: Kaan Uzdogan Date: Thu, 23 Feb 2023 17:00:33 +0100 Subject: [PATCH 1/2] Update chains.json --- src/chains.json | 368 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 350 insertions(+), 18 deletions(-) diff --git a/src/chains.json b/src/chains.json index 6597755a9..98768015d 100644 --- a/src/chains.json +++ b/src/chains.json @@ -369,7 +369,6 @@ "icon": "songbird", "rpc": [ "https://songbird-api.flare.network/ext/C/rpc", - "https://songbird.towolabs.com/ext/C/rpc", "https://sgb.ftso.com.au/ext/bc/C/rpc", "https://sgb.lightft.so/rpc", "https://sgb-rpc.ftso.eu" @@ -1810,6 +1809,31 @@ } ] }, + { + "name": "Bitkub Chain", + "chain": "BKC", + "icon": "bkc", + "rpc": ["https://rpc.bitkubchain.io", "wss://wss.bitkubchain.io"], + "faucets": [], + "nativeCurrency": { + "name": "Bitkub Coin", + "symbol": "KUB", + "decimals": 18 + }, + "infoURL": "https://www.bitkubchain.com/", + "shortName": "bkc", + "chainId": 96, + "networkId": 96, + "explorers": [ + { + "name": "Bitkub Chain Explorer", + "url": "https://bkcscan.com", + "standard": "none", + "icon": "bkc" + } + ], + "redFlags": ["reusedChainId"] + }, { "name": "Binance Smart Chain Testnet", "chain": "BSC", @@ -2139,6 +2163,29 @@ "networkId": 116, "explorers": [] }, + { + "name": "Arcology Testnet", + "chain": "Arcology", + "icon": "acolicon", + "rpc": ["https://testnet.arcology.network/rpc"], + "faucets": [], + "nativeCurrency": { + "name": "Arcology Coin", + "symbol": "Acol", + "decimals": 18 + }, + "infoURL": "https://arcology.network/", + "shortName": "arcology", + "chainId": 118, + "networkId": 118, + "explorers": [ + { + "name": "arcology", + "url": "https://testnet.arcology.network/explorer", + "standard": "none" + } + ] + }, { "name": "ENULS Mainnet", "chain": "ENULS", @@ -2968,24 +3015,29 @@ ] }, { - "name": "zkSync alpha testnet", + "name": "zkSync Era Testnet", "chain": "ETH", "rpc": ["https://zksync2-testnet.zksync.dev"], - "faucets": ["https://portal.zksync.io/faucet"], + "faucets": ["https://goerli.portal.zksync.io/faucet"], "nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 }, - "infoURL": "https://v2-docs.zksync.io/", + "infoURL": "https://era.zksync.io/docs/", "shortName": "zksync-goerli", "chainId": 280, "networkId": 280, - "icon": "ethereum", + "icon": "zksync-era", "explorers": [ { - "name": "blockscout", - "url": "https://zksync2-testnet.zkscan.io", - "icon": "blockscout", + "name": "zkSync Era Block Explorer", + "url": "https://goerli.explorer.zksync.io", + "icon": "zksync-era", "standard": "EIP3091" } - ] + ], + "parent": { + "type": "L2", + "chain": "eip155-1", + "bridges": [{ "url": "https://goerli.portal.zksync.io/bridge" }] + } }, { "name": "Boba Network", @@ -3011,6 +3063,124 @@ "bridges": [{ "url": "https://gateway.boba.network" }] } }, + { + "name": "Hedera Mainnet", + "chain": "Hedera", + "icon": "hedera", + "rpc": ["https://mainnet.hashio.io/api"], + "features": [{ "name": "EIP155" }, { "name": "EIP1559" }], + "faucets": [], + "nativeCurrency": { "name": "hbar", "symbol": "HBAR", "decimals": 8 }, + "infoURL": "https://hedera.com", + "shortName": "hedera-mainnet", + "chainId": 295, + "networkId": 295, + "slip44": 3030, + "explorers": [ + { + "name": "HashScan", + "url": "https://hashscan.io/mainnet/dashboard", + "standard": "none" + }, + { + "name": "Arkhia Explorer", + "url": "https://explorer.arkhia.io", + "standard": "none" + }, + { + "name": "DragonGlass", + "url": "https://app.dragonglass.me", + "standard": "none" + }, + { + "name": "Hedera Explorer", + "url": "https://hederaexplorer.io", + "standard": "none" + }, + { + "name": "Ledger Works Explore", + "url": "https://explore.lworks.io", + "standard": "none" + } + ] + }, + { + "name": "Hedera Testnet", + "chain": "Hedera", + "icon": "hedera", + "rpc": ["https://testnet.hashio.io/api"], + "features": [{ "name": "EIP155" }, { "name": "EIP1559" }], + "faucets": ["https://portal.hedera.com"], + "nativeCurrency": { "name": "hbar", "symbol": "HBAR", "decimals": 8 }, + "infoURL": "https://hedera.com", + "shortName": "hedera-testnet", + "chainId": 296, + "networkId": 296, + "slip44": 3030, + "explorers": [ + { + "name": "HashScan", + "url": "https://hashscan.io/testnet/dashboard", + "standard": "none" + }, + { + "name": "Arkhia Explorer", + "url": "https://explorer.arkhia.io", + "standard": "none" + }, + { + "name": "DragonGlass", + "url": "https://app.dragonglass.me", + "standard": "none" + }, + { + "name": "Hedera Explorer", + "url": "https://hederaexplorer.io", + "standard": "none" + }, + { + "name": "Ledger Works Explore", + "url": "https://explore.lworks.io", + "standard": "none" + } + ] + }, + { + "name": "Hedera Previewnet", + "chain": "Hedera", + "icon": "hedera", + "rpc": ["https://previewnet.hashio.io/api"], + "features": [{ "name": "EIP155" }, { "name": "EIP1559" }], + "faucets": ["https://portal.hedera.com"], + "nativeCurrency": { "name": "hbar", "symbol": "HBAR", "decimals": 8 }, + "infoURL": "https://hedera.com", + "shortName": "hedera-previewnet", + "chainId": 297, + "networkId": 297, + "slip44": 3030, + "explorers": [ + { + "name": "HashScan", + "url": "https://hashscan.io/previewnet/dashboard", + "standard": "none" + } + ] + }, + { + "name": "Hedera Localnet", + "chain": "Hedera", + "icon": "hedera", + "rpc": [], + "features": [{ "name": "EIP155" }, { "name": "EIP1559" }], + "faucets": [], + "nativeCurrency": { "name": "hbar", "symbol": "HBAR", "decimals": 8 }, + "infoURL": "https://hedera.com", + "shortName": "hedera-localnet", + "chainId": 298, + "networkId": 298, + "slip44": 3030, + "explorers": [] + }, { "name": "Optimism on Gnosis", "chain": "OGC", @@ -3155,25 +3325,29 @@ ] }, { - "name": "zkSync v2", + "name": "zkSync Era Mainnet", "chain": "ETH", - "rpc": [], + "rpc": ["https://zksync2-mainnet.zksync.io"], "faucets": [], "nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 }, "infoURL": "https://zksync.io/", "shortName": "zksync", "chainId": 324, "networkId": 324, - "icon": "ethereum", + "icon": "zksync-era", "explorers": [ { - "name": "zkSync v2 Block Explorer", + "name": "zkSync Era Block Explorer", "url": "https://explorer.zksync.io", + "icon": "zksync-era", "standard": "EIP3091" } ], - "parent": { "type": "L2", "chain": "eip155-1", "bridges": [] }, - "status": "incubating" + "parent": { + "type": "L2", + "chain": "eip155-1", + "bridges": [{ "url": "https://portal.zksync.io/bridge" }] + } }, { "name": "Web3Q Mainnet", @@ -3877,6 +4051,24 @@ "chainId": 600, "networkId": 600 }, + { + "name": "Graphlinq Blockchain Mainnet", + "chain": "GLQ Blockchain", + "rpc": ["https://glq-dataseed.graphlinq.io"], + "faucets": [], + "nativeCurrency": { "name": "GLQ", "symbol": "GLQ", "decimals": 18 }, + "infoURL": "https://graphlinq.io", + "shortName": "glq", + "chainId": 614, + "networkId": 614, + "explorers": [ + { + "name": "GLQ Explorer", + "url": "https://explorer.graphlinq.io", + "standard": "none" + } + ] + }, { "name": "SX Network Testnet", "chain": "SX", @@ -5144,6 +5336,25 @@ "icon": "defichain-network", "explorers": [] }, + { + "name": "AmStar Testnet", + "chain": "AmStar", + "icon": "amstar", + "rpc": ["https://testnet-rpc.amstarscan.com"], + "faucets": [], + "nativeCurrency": { "name": "SINSO", "symbol": "SINSO", "decimals": 18 }, + "infoURL": "https://sinso.io", + "shortName": "ASARt", + "chainId": 1138, + "networkId": 1138, + "explorers": [ + { + "name": "amstarscan-testnet", + "url": "https://testnet.amstarscan.com", + "standard": "EIP3091" + } + ] + }, { "name": "MathChain", "chain": "MATH", @@ -6147,6 +6358,48 @@ } ] }, + { + "name": "Bitcichain Mainnet", + "chain": "BITCI", + "icon": "bitci", + "rpc": ["https://rpc.bitci.com"], + "faucets": [], + "nativeCurrency": { "name": "Bitci", "symbol": "BITCI", "decimals": 18 }, + "infoURL": "https://www.bitcichain.com", + "shortName": "bitci", + "chainId": 1907, + "networkId": 1907, + "explorers": [ + { + "name": "Bitci Explorer", + "url": "https://bitciexplorer.com", + "standard": "EIP3091" + } + ] + }, + { + "name": "Bitcichain Testnet", + "chain": "TBITCI", + "icon": "bitci", + "rpc": ["https://testnet.bitcichain.com"], + "faucets": ["https://faucet.bitcichain.com"], + "nativeCurrency": { + "name": "Test Bitci", + "symbol": "TBITCI", + "decimals": 18 + }, + "infoURL": "https://www.bitcichain.com", + "shortName": "tbitci", + "chainId": 1908, + "networkId": 1908, + "explorers": [ + { + "name": "Bitci Explorer Testnet", + "url": "https://testnet.bitciexplorer.com", + "standard": "EIP3091" + } + ] + }, { "name": "ONUS Chain Testnet", "title": "ONUS Chain Testnet", @@ -8138,6 +8391,26 @@ } ] }, + { + "name": "Hika Network Testnet", + "title": "Hika Network Testnet", + "chain": "HIK", + "icon": "hik", + "rpc": ["https://rpc-testnet.hika.network/"], + "faucets": [], + "nativeCurrency": { "name": "Hik Token", "symbol": "HIK", "decimals": 18 }, + "infoURL": "https://hika.network/", + "shortName": "hik", + "chainId": 5729, + "networkId": 5729, + "explorers": [ + { + "name": "Hika Network Testnet Explorer", + "url": "https://scan-testnet.hika.network", + "standard": "none" + } + ] + }, { "name": "Ganache", "title": "Ganache GUI Ethereum Testnet", @@ -8448,8 +8721,13 @@ "standard": "none" }, { - "name": "Canto Cosmos Explorer (BigDipper)", - "url": "https://cosmos.explorer.canto.io", + "name": "Canto Cosmos Explorer", + "url": "https://cosmos-explorers.neobase.one", + "standard": "none" + }, + { + "name": "Canto EVM Explorer (Blockscout)", + "url": "https://tuber.build", "standard": "none" } ] @@ -8863,6 +9141,21 @@ "chainId": 8768, "networkId": 8768 }, + { + "name": "MARO Blockchain Mainnet", + "chain": "MARO Blockchain", + "icon": "MARO", + "rpc": ["https://rpc-mainnet.ma.ro"], + "faucets": [], + "nativeCurrency": { "name": "MARO", "symbol": "MARO", "decimals": 18 }, + "infoURL": "https://ma.ro/", + "shortName": "maro", + "chainId": 8848, + "networkId": 8848, + "explorers": [ + { "name": "MARO Scan", "url": "https://scan.ma.ro/#", "standard": "none" } + ] + }, { "name": "Unique", "icon": "unique", @@ -9763,6 +10056,18 @@ } ] }, + { + "name": "BLG Testnet", + "chain": "BLG", + "icon": "blg", + "rpc": ["https://rpc.blgchain.com"], + "faucets": ["https://faucet.blgchain.com"], + "nativeCurrency": { "name": "Blg", "symbol": "BLG", "decimals": 18 }, + "infoURL": "https://blgchain.com", + "shortName": "blgchain", + "chainId": 12321, + "networkId": 12321 + }, { "name": "Step Testnet", "title": "Step Test Network", @@ -11752,6 +12057,33 @@ } ] }, + { + "name": "Base Goerli Testnet", + "chain": "ETH", + "rpc": ["https://goerli.base.org"], + "faucets": ["https://www.coinbase.com/faucets/base-ethereum-goerli-faucet"], + "nativeCurrency": { + "name": "Goerli Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://base.org", + "shortName": "basegor", + "chainId": 84531, + "networkId": 84531, + "explorers": [ + { + "name": "basescan", + "url": "https://goerli.basescan.org", + "standard": "none" + }, + { + "name": "basescout", + "url": "https://base-goerli.blockscout.com", + "standard": "none" + } + ] + }, { "name": "Chiliz Scoville Testnet", "chain": "CHZ", @@ -13205,7 +13537,7 @@ "chain": "BRNKCTEST", "icon": "brnkc", "rpc": ["https://brnkc-test.bearnetwork.net"], - "faucets": [], + "faucets": ["https://faucet.bearnetwork.net"], "nativeCurrency": { "name": "Bear Network Chain Testnet Token", "symbol": "tBRNKC", From 5a6bcbfa263ee4809223f1e2d8409d959c520939 Mon Sep 17 00:00:00 2001 From: Kaan Uzdogan Date: Thu, 23 Feb 2023 17:09:58 +0100 Subject: [PATCH 2/2] Add chain 84531 --- src/sourcify-chains.ts | 7 +++++++ test/chains/chain-tests.js | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/src/sourcify-chains.ts b/src/sourcify-chains.ts index 1cd66ec7d..3b2b07113 100644 --- a/src/sourcify-chains.ts +++ b/src/sourcify-chains.ts @@ -683,6 +683,13 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = { rpc: ["https://brnkc-mainnet.bearnetwork.net"], txRegex: getBlockscoutRegex(), }, + "84531": { + // Base Goerli Testnet + supported: true, + monitored: true, + contractFetchAddress: "https://goerli.basescan.org/" + ETHERSCAN_SUFFIX, + txRegex: ETHERSCAN_REGEX, + }, }; const sourcifyChainsMap: SourcifyChainMap = {}; diff --git a/test/chains/chain-tests.js b/test/chains/chain-tests.js index d3de13b5a..f377036ac 100644 --- a/test/chains/chain-tests.js +++ b/test/chains/chain-tests.js @@ -1336,6 +1336,24 @@ describe("Test Supported Chains", function () { "shared/withImmutables.metadata.json" ); + // Base Goerli Testnet + verifyContract( + "0x8F78b9c92a68DdF719849a40702cFBfa4EB60dD0", + "84531", + "Base Goerli Testnet", + ["shared/1_Storage.sol"], + "shared/1_Storage.metadata.json" + ); + verifyContractWithImmutables( + "0xd46fd24ea21F04459407Fb0B518451e54d0b07a1", + "84531", + "Base Goerli Testnet", + ["uint256"], + [12345], + ["shared/WithImmutables.sol"], + "shared/withImmutables.metadata.json" + ); + ////////////////////// // Helper functions // //////////////////////