diff --git a/README.md b/README.md index 31a4b6da..fbfcf39f 100644 --- a/README.md +++ b/README.md @@ -89,4 +89,5 @@ There are also aggregated json files with all chains automatically assembled: * [eth-chains](https://github.com/taylorjdawson/eth-chains) * [EVM-BOX](https://github.com/izayl/evm-box) * [FaucETH](https://github.com/komputing/FaucETH) + * [Sourcify playground](https://playground.sourcify.dev) * Your project - contact us to add it here! diff --git a/_data/chains/eip155-1286.json b/_data/chains/deprecated/eip155-1286.json similarity index 100% rename from _data/chains/eip155-1286.json rename to _data/chains/deprecated/eip155-1286.json diff --git a/_data/chains/eip155-10.json b/_data/chains/eip155-10.json index ca033651..40e5ae54 100644 --- a/_data/chains/eip155-10.json +++ b/_data/chains/eip155-10.json @@ -1,5 +1,5 @@ { - "name": "Optimistic Ethereum", + "name": "Optimism", "chain": "ETH", "rpc": ["https://mainnet.optimism.io/"], "faucets": [], diff --git a/_data/chains/eip155-100.json b/_data/chains/eip155-100.json index 59cf6497..1ba46ec4 100644 --- a/_data/chains/eip155-100.json +++ b/_data/chains/eip155-100.json @@ -2,15 +2,15 @@ "name": "Gnosis Chain (formerly xDai)", "chain": "Gnosis", "rpc": [ - "https://rpc.xdaichain.com", + "https://rpc.gnosischain.com", "https://xdai.poanetwork.dev", - "wss://rpc.xdaichain.com/wss", + "wss://rpc.gnosischain.com/wss", "wss://xdai.poanetwork.dev/wss", "http://xdai.poanetwork.dev", "https://dai.poa.network", "ws://xdai.poanetwork.dev:8546" ], - "faucets": ["https://faucet.gimlu.com/gnosis", "https://stakely.io/faucet/xdai-chain", "https://faucet.prussia.dev/xdai"], + "faucets": ["https://faucet.gimlu.com/gnosis", "https://stakely.io/faucet/gnosis-chain-xdai", "https://faucet.prussia.dev/xdai"], "nativeCurrency": { "name": "xDAI", "symbol": "xDAI", diff --git a/_data/chains/eip155-100001.json b/_data/chains/eip155-100001.json index a2d0b175..8a5fb4e4 100644 --- a/_data/chains/eip155-100001.json +++ b/_data/chains/eip155-100001.json @@ -2,6 +2,7 @@ "name": "QuarkChain Mainnet Shard 0", "chain": "QuarkChain", "rpc": [ + "https://mainnet-s0-ethapi.quarkchain.io", "http://eth-jrpc.mainnet.quarkchain.io:39000/" ], "faucets": [ diff --git a/_data/chains/eip155-100002.json b/_data/chains/eip155-100002.json index f81dd7e5..68e23e6f 100644 --- a/_data/chains/eip155-100002.json +++ b/_data/chains/eip155-100002.json @@ -2,6 +2,7 @@ "name": "QuarkChain Mainnet Shard 1", "chain": "QuarkChain", "rpc": [ + "https://mainnet-s1-ethapi.quarkchain.io", "http://eth-jrpc.mainnet.quarkchain.io:39001/" ], "faucets": [ diff --git a/_data/chains/eip155-100003.json b/_data/chains/eip155-100003.json index c5702393..8dc0e589 100644 --- a/_data/chains/eip155-100003.json +++ b/_data/chains/eip155-100003.json @@ -2,6 +2,7 @@ "name": "QuarkChain Mainnet Shard 2", "chain": "QuarkChain", "rpc": [ + "https://mainnet-s2-ethapi.quarkchain.io", "http://eth-jrpc.mainnet.quarkchain.io:39002/" ], "faucets": [ diff --git a/_data/chains/eip155-100004.json b/_data/chains/eip155-100004.json index ae3b5865..89c0ac9b 100644 --- a/_data/chains/eip155-100004.json +++ b/_data/chains/eip155-100004.json @@ -2,6 +2,7 @@ "name": "QuarkChain Mainnet Shard 3", "chain": "QuarkChain", "rpc": [ + "https://mainnet-s3-ethapi.quarkchain.io", "http://eth-jrpc.mainnet.quarkchain.io:39003/" ], "faucets": [ diff --git a/_data/chains/eip155-100005.json b/_data/chains/eip155-100005.json index e795282d..576de5b7 100644 --- a/_data/chains/eip155-100005.json +++ b/_data/chains/eip155-100005.json @@ -2,6 +2,7 @@ "name": "QuarkChain Mainnet Shard 4", "chain": "QuarkChain", "rpc": [ + "https://mainnet-s4-ethapi.quarkchain.io", "http://eth-jrpc.mainnet.quarkchain.io:39004/" ], "faucets": [ diff --git a/_data/chains/eip155-100006.json b/_data/chains/eip155-100006.json index 8b23c9ad..fd593023 100644 --- a/_data/chains/eip155-100006.json +++ b/_data/chains/eip155-100006.json @@ -2,6 +2,7 @@ "name": "QuarkChain Mainnet Shard 5", "chain": "QuarkChain", "rpc": [ + "https://mainnet-s5-ethapi.quarkchain.io", "http://eth-jrpc.mainnet.quarkchain.io:39005/" ], "faucets": [ diff --git a/_data/chains/eip155-100007.json b/_data/chains/eip155-100007.json index b6ee3cc4..eb660181 100644 --- a/_data/chains/eip155-100007.json +++ b/_data/chains/eip155-100007.json @@ -2,6 +2,7 @@ "name": "QuarkChain Mainnet Shard 6", "chain": "QuarkChain", "rpc": [ + "https://mainnet-s6-ethapi.quarkchain.io", "http://eth-jrpc.mainnet.quarkchain.io:39006/" ], "faucets": [ diff --git a/_data/chains/eip155-100008.json b/_data/chains/eip155-100008.json index ecc23244..999939b6 100644 --- a/_data/chains/eip155-100008.json +++ b/_data/chains/eip155-100008.json @@ -2,6 +2,7 @@ "name": "QuarkChain Mainnet Shard 7", "chain": "QuarkChain", "rpc": [ + "https://mainnet-s7-ethapi.quarkchain.io", "http://eth-jrpc.mainnet.quarkchain.io:39007/" ], "faucets": [ diff --git a/_data/chains/eip155-1028.json b/_data/chains/eip155-1028.json index ee4ed4b7..50b4ca1b 100644 --- a/_data/chains/eip155-1028.json +++ b/_data/chains/eip155-1028.json @@ -16,7 +16,7 @@ "networkId": 1028, "explorers": [{ "name": "testbttcscan", - "url": "https://testscan.bittorrentchain.io/", + "url": "https://testscan.bittorrentchain.io", "standard": "none" }] } diff --git a/_data/chains/eip155-1030.json b/_data/chains/eip155-1030.json index 7f4b2a46..6e548091 100644 --- a/_data/chains/eip155-1030.json +++ b/_data/chains/eip155-1030.json @@ -1,7 +1,8 @@ { - "name": "Conflux", + "name": "Conflux eSpace", "chain": "Conflux", - "rpc": ["https://ethcore.confluxrpc.com"], + "network": "mainnet", + "rpc": ["https://evm.confluxrpc.com"], "faucets": [], "nativeCurrency": { "name": "CFX", @@ -12,10 +13,11 @@ "shortName": "cfx", "chainId": 1030, "networkId": 1030, + "icon": "conflux", "explorers": [ { "name": "Conflux Scan", - "url": "https://confluxscan.io", + "url": "https://evm.confluxscan.net", "standard": "none" } ] diff --git a/_data/chains/eip155-1088.json b/_data/chains/eip155-1088.json index 7c632728..b520cf5a 100644 --- a/_data/chains/eip155-1088.json +++ b/_data/chains/eip155-1088.json @@ -15,7 +15,7 @@ "explorers": [ { "name": "blockscout", - "url": "https://andromeda-explorer.metis.io/", + "url": "https://andromeda-explorer.metis.io", "standard": "EIP3091" } ], diff --git a/_data/chains/eip155-110001.json b/_data/chains/eip155-110001.json index b9aef9be..1657a147 100644 --- a/_data/chains/eip155-110001.json +++ b/_data/chains/eip155-110001.json @@ -2,6 +2,7 @@ "name": "QuarkChain Devnet Shard 0", "chain": "QuarkChain", "rpc": [ + "https://devnet-s0-ethapi.quarkchain.io", "http://eth-jrpc.devnet.quarkchain.io:39900/" ], "faucets": [ diff --git a/_data/chains/eip155-110002.json b/_data/chains/eip155-110002.json index 31b5d6af..0aeab7a0 100644 --- a/_data/chains/eip155-110002.json +++ b/_data/chains/eip155-110002.json @@ -2,6 +2,7 @@ "name": "QuarkChain Devnet Shard 1", "chain": "QuarkChain", "rpc": [ + "https://devnet-s1-ethapi.quarkchain.io", "http://eth-jrpc.devnet.quarkchain.io:39901/" ], "faucets": [ diff --git a/_data/chains/eip155-110003.json b/_data/chains/eip155-110003.json index 91a22879..231b0cc0 100644 --- a/_data/chains/eip155-110003.json +++ b/_data/chains/eip155-110003.json @@ -2,6 +2,7 @@ "name": "QuarkChain Devnet Shard 2", "chain": "QuarkChain", "rpc": [ + "https://devnet-s2-ethapi.quarkchain.io", "http://eth-jrpc.devnet.quarkchain.io:39902/" ], "faucets": [ diff --git a/_data/chains/eip155-110004.json b/_data/chains/eip155-110004.json index 120fcc6c..1238a92d 100644 --- a/_data/chains/eip155-110004.json +++ b/_data/chains/eip155-110004.json @@ -2,6 +2,7 @@ "name": "QuarkChain Devnet Shard 3", "chain": "QuarkChain", "rpc": [ + "https://devnet-s3-ethapi.quarkchain.io", "http://eth-jrpc.devnet.quarkchain.io:39903/" ], "faucets": [ diff --git a/_data/chains/eip155-110005.json b/_data/chains/eip155-110005.json index 8b76ed3d..b8db14e1 100644 --- a/_data/chains/eip155-110005.json +++ b/_data/chains/eip155-110005.json @@ -2,6 +2,7 @@ "name": "QuarkChain Devnet Shard 4", "chain": "QuarkChain", "rpc": [ + "https://devnet-s4-ethapi.quarkchain.io", "http://eth-jrpc.devnet.quarkchain.io:39904/" ], "faucets": [ diff --git a/_data/chains/eip155-110006.json b/_data/chains/eip155-110006.json index 85e9b8be..b1ca7236 100644 --- a/_data/chains/eip155-110006.json +++ b/_data/chains/eip155-110006.json @@ -2,6 +2,7 @@ "name": "QuarkChain Devnet Shard 5", "chain": "QuarkChain", "rpc": [ + "https://devnet-s5-ethapi.quarkchain.io", "http://eth-jrpc.devnet.quarkchain.io:39905/" ], "faucets": [ diff --git a/_data/chains/eip155-110007.json b/_data/chains/eip155-110007.json index e427d535..69742ea3 100644 --- a/_data/chains/eip155-110007.json +++ b/_data/chains/eip155-110007.json @@ -2,6 +2,7 @@ "name": "QuarkChain Devnet Shard 6", "chain": "QuarkChain", "rpc": [ + "https://devnet-s6-ethapi.quarkchain.io", "http://eth-jrpc.devnet.quarkchain.io:39906/" ], "faucets": [ diff --git a/_data/chains/eip155-110008.json b/_data/chains/eip155-110008.json index c9044a47..277b058a 100644 --- a/_data/chains/eip155-110008.json +++ b/_data/chains/eip155-110008.json @@ -2,6 +2,7 @@ "name": "QuarkChain Devnet Shard 7", "chain": "QuarkChain", "rpc": [ + "https://devnet-s7-ethapi.quarkchain.io", "http://eth-jrpc.devnet.quarkchain.io:39907/" ], "faucets": [ diff --git a/_data/chains/eip155-11111.json b/_data/chains/eip155-11111.json new file mode 100644 index 00000000..6123e340 --- /dev/null +++ b/_data/chains/eip155-11111.json @@ -0,0 +1,25 @@ +{ + "name": "WAGMI", + "chain": "WAGMI", + "icon": "wagmi", + "rpc": [ + "https://api.trywagmi.xyz/rpc" + ], + "faucets": [], + "nativeCurrency": { + "name": "WAGMI", + "symbol": "WGM", + "decimals": 18 + }, + "infoURL": "https://trywagmi.xyz", + "shortName": "WAGMI", + "chainId": 11111, + "networkId": 11111, + "explorers": [ + { + "name": "WAGMI Explorer", + "url": "https://trywagmi.xyz", + "standard": "none" + } + ] +} \ No newline at end of file diff --git a/_data/chains/eip155-11297108099.json b/_data/chains/eip155-11297108099.json index 5d6ec8f5..0251bad8 100644 --- a/_data/chains/eip155-11297108099.json +++ b/_data/chains/eip155-11297108099.json @@ -1,7 +1,9 @@ { "name": "Palm Testnet", "chain": "Palm", - "rpc": [], + "rpc": [ + "https://palm-testnet.infura.io/v3/{INFURA_API_KEY}" + ], "faucets": [], "nativeCurrency": { "name": "PALM", diff --git a/_data/chains/eip155-11297108109.json b/_data/chains/eip155-11297108109.json index 686695ff..d1952904 100644 --- a/_data/chains/eip155-11297108109.json +++ b/_data/chains/eip155-11297108109.json @@ -1,7 +1,9 @@ { - "name": "Palm Mainnet", + "name": "Palm", "chain": "Palm", - "rpc": [], + "rpc": [ + "https://palm-mainnet.infura.io/v3/{INFURA_API_KEY}" + ], "faucets": [], "nativeCurrency": { "name": "PALM", diff --git a/_data/chains/eip155-11437.json b/_data/chains/eip155-11437.json new file mode 100644 index 00000000..0dcbf80f --- /dev/null +++ b/_data/chains/eip155-11437.json @@ -0,0 +1,23 @@ +{ + "name": "Shyft Testnet", + "chain": "SHYFTT", + "icon": "shyft", + "rpc": [ + "https://rpc.testnet.shyft.network/" + ], + "faucets": [], + "nativeCurrency": { + "name": "Shyft Test Token", + "symbol": "SHYFTT", + "decimals": 18 + }, + "infoURL": "https://shyft.network", + "shortName": "shyftt", + "chainId": 11437, + "networkId": 11437, + "explorers": [{ + "name": "Shyft Testnet BX", + "url": "https://bx.testnet.shyft.network", + "standard": "EIP3091" + }] +} diff --git a/_data/chains/eip155-1214.json b/_data/chains/eip155-1214.json new file mode 100644 index 00000000..6e1a0c4a --- /dev/null +++ b/_data/chains/eip155-1214.json @@ -0,0 +1,25 @@ +{ + "name": "EnterChain Mainnet", + "chain": "ENTER", + "network": "mainnet", + "rpc": [ + "https://tapi.entercoin.net/" + ], + "faucets": [], + "nativeCurrency": { + "name": "EnterCoin", + "symbol": "ENTER", + "decimals": 18 + }, + "infoURL": "https://entercoin.net", + "shortName": "enter", + "chainId": 1214, + "networkId": 1214, + "icon": "enter", + "explorers": [{ + "name": "Enter Explorer - Expenter", + "url": "https://explorer.entercoin.net", + "icon": "enter", + "standard": "EIP3091" + }] +} diff --git a/_data/chains/eip155-125.json b/_data/chains/eip155-125.json new file mode 100644 index 00000000..a0c5f584 --- /dev/null +++ b/_data/chains/eip155-125.json @@ -0,0 +1,25 @@ +{ + "name": "OYchain Testnet", + "chain": "OYchain", + "rpc": [ + "https://rpc.testnet.oychain.io" + ], + "faucets": [ + "https://faucet.oychain.io" + ], + "nativeCurrency": { + "name": "OYchain Token", + "symbol": "OY", + "decimals": 18 + }, + "infoURL": "https://www.oychain.io", + "shortName": "oychain testnet", + "chainId": 125, + "networkId": 125, + "slip44": 125, + "explorers": [{ + "name": "OYchain Testnet Explorer", + "url": "https://explorer.testnet.oychain.io", + "standard": "none" + }] + } diff --git a/_data/chains/eip155-126.json b/_data/chains/eip155-126.json new file mode 100644 index 00000000..dcca42f1 --- /dev/null +++ b/_data/chains/eip155-126.json @@ -0,0 +1,26 @@ +{ + "name": "OYchain Mainnet", + "chain": "OYchain", + "icon": "oychain", + "rpc": [ + "https://rpc.mainnet.oychain.io" + ], + "faucets": [ ], + + "nativeCurrency": { + "name": "OYchain Token", + "symbol": "OY", + "decimals": 18 + }, + + "infoURL": "https://www.oychain.io", + "shortName": "oychain mainnet", + "chainId": 126, + "networkId": 126, + "slip44": 126, + "explorers": [{ + "name": "OYchain Mainnet Explorer", + "url": "https://explorer.oychain.io", + "standard": "none" + }] + } diff --git a/_data/chains/eip155-1280.json b/_data/chains/eip155-1280.json index 860e8b1d..e78c0e8a 100644 --- a/_data/chains/eip155-1280.json +++ b/_data/chains/eip155-1280.json @@ -17,7 +17,7 @@ "networkId": 1280, "explorers": [{ "name": "HALOexplorer", - "url": "https://browser.halo.land/", + "url": "https://browser.halo.land", "standard": "none" }] } diff --git a/_data/chains/eip155-1284.json b/_data/chains/eip155-1284.json index 7194d959..ffb88e21 100644 --- a/_data/chains/eip155-1284.json +++ b/_data/chains/eip155-1284.json @@ -14,5 +14,17 @@ "infoURL": "https://moonbeam.network/networks/moonbeam/", "shortName": "mbeam", "chainId": 1284, - "networkId": 1284 -} \ No newline at end of file + "networkId": 1284, + "explorers": [ + { + "name": "blockscout", + "url": "https://blockscout.moonbeam.network", + "standard": "none" + }, + { + "name": "moonscan", + "url": "https://moonbeam.moonscan.io", + "standard": "none" + } + ] +} diff --git a/_data/chains/eip155-1285.json b/_data/chains/eip155-1285.json index 7df32f94..3940e979 100644 --- a/_data/chains/eip155-1285.json +++ b/_data/chains/eip155-1285.json @@ -18,8 +18,8 @@ "explorers": [ { "name": "moonscan", - "url": "https://moonriver.moonscan.io/", + "url": "https://moonriver.moonscan.io", "standard": "none" } ] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-1287.json b/_data/chains/eip155-1287.json index 8e248cde..9e8dd726 100644 --- a/_data/chains/eip155-1287.json +++ b/_data/chains/eip155-1287.json @@ -18,8 +18,8 @@ "explorers": [ { "name": "moonscan", - "url": "https://moonbase.moonscan.io/", + "url": "https://moonbase.moonscan.io", "standard": "none" } ] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-1288.json b/_data/chains/eip155-1288.json index f8253baf..174ff22f 100644 --- a/_data/chains/eip155-1288.json +++ b/_data/chains/eip155-1288.json @@ -1,15 +1,18 @@ { - "name": "Moonshadow", - "chain": "MOON", - "rpc": [], - "faucets": [], - "nativeCurrency": { - "name": "Moonshadow", - "symbol": "MSHD", - "decimals": 18 - }, - "infoURL": "https://docs.moonbeam.network/networks/overview/", - "shortName": "mshadow", - "chainId": 1288, - "networkId": 1288 + "name": "Moonrock", + "chain": "MOON", + "rpc": [ + "https://rpc.api.moonrock.moonbeam.network", + "wss://wss.api.moonrock.moonbeam.network" + ], + "faucets": [], + "nativeCurrency": { + "name": "Rocs", + "symbol": "ROC", + "decimals": 18 + }, + "infoURL": "https://docs.moonbeam.network/learn/platform/networks/overview/", + "shortName": "mrock", + "chainId": 1288, + "networkId": 1288 } \ No newline at end of file diff --git a/_data/chains/eip155-1313161554.json b/_data/chains/eip155-1313161554.json index 2c236994..68e180d6 100644 --- a/_data/chains/eip155-1313161554.json +++ b/_data/chains/eip155-1313161554.json @@ -13,5 +13,12 @@ "infoURL": "https://aurora.dev", "shortName": "aurora", "chainId": 1313161554, - "networkId": 1313161554 + "networkId": 1313161554, + "explorers": [ + { + "name": "explorer.aurora.dev", + "url": "https://explorer.mainnet.aurora.dev", + "standard": "EIP3091" + } + ] } diff --git a/_data/chains/eip155-1313161555.json b/_data/chains/eip155-1313161555.json index c82537a2..e6d13b6c 100644 --- a/_data/chains/eip155-1313161555.json +++ b/_data/chains/eip155-1313161555.json @@ -13,5 +13,12 @@ "infoURL": "https://aurora.dev", "shortName": "aurora-testnet", "chainId": 1313161555, - "networkId": 1313161555 + "networkId": 1313161555, + "explorers": [ + { + "name": "explorer.aurora.dev", + "url": "https://explorer.testnet.aurora.dev", + "standard": "EIP3091" + } + ] } diff --git a/_data/chains/eip155-1337702.json b/_data/chains/eip155-1337702.json index 30d56428..1b33f38e 100644 --- a/_data/chains/eip155-1337702.json +++ b/_data/chains/eip155-1337702.json @@ -5,8 +5,9 @@ "rpc": [ "https://rpc.kintsugi.themerge.dev" ], - "faucets": [ - "https://faucet.kintsugi.themerge.dev" + "faucets": [ + "http://fauceth.komputing.org?chain=1337702&address=${ADDRESS}", + "https://faucet.kintsugi.themerge.dev" ], "nativeCurrency": { "name": "kintsugi Ethere", @@ -19,7 +20,7 @@ "networkId": 1337702, "explorers": [{ "name": "kintsugi explorer", - "url": "https://explorer.kintsugi.themerge.dev/", + "url": "https://explorer.kintsugi.themerge.dev", "standard": "EIP3091" }] } diff --git a/_data/chains/eip155-137.json b/_data/chains/eip155-137.json index 72cceea0..175cb125 100644 --- a/_data/chains/eip155-137.json +++ b/_data/chains/eip155-137.json @@ -22,7 +22,7 @@ "slip44": 966, "explorers": [{ "name": "polygonscan", - "url": "https://polygonscan.com/", + "url": "https://polygonscan.com", "standard": "EIP3091" }] } diff --git a/_data/chains/eip155-14.json b/_data/chains/eip155-14.json index 90b70ca4..07b88213 100644 --- a/_data/chains/eip155-14.json +++ b/_data/chains/eip155-14.json @@ -1,6 +1,7 @@ { "name": "Flare Mainnet", "chain": "FLR", + "icon": "flare", "rpc": [ ], "faucets": [ diff --git a/_data/chains/eip155-16.json b/_data/chains/eip155-16.json index 7f20668c..eb19188f 100644 --- a/_data/chains/eip155-16.json +++ b/_data/chains/eip155-16.json @@ -2,17 +2,24 @@ "name": "Flare Testnet Coston", "chain": "FLR", "rpc": [ + "https://coston-api.flare.network/ext/bc/C/rpc" ], "faucets": [ - "https://faucet.towolabs.com" + "https://faucet.towolabs.com", + "https://fauceth.komputing.org?chain=16&address=${ADDRESS}" ], "nativeCurrency": { "name": "Coston Spark", "symbol": "CFLR", "decimals": 18 }, - "infoURL": "https://github.com/flare-eng/coston", + "infoURL": "https://flare.xyz", "shortName": "cflr", "chainId": 16, - "networkId": 16 + "networkId": 16, + "explorers": [{ + "name": "blockscout", + "url": "https://coston-explorer.flare.network", + "standard": "EIP3091" + }] } diff --git a/_data/chains/eip155-186.json b/_data/chains/eip155-186.json index df7c772b..454e28e6 100644 --- a/_data/chains/eip155-186.json +++ b/_data/chains/eip155-186.json @@ -16,7 +16,7 @@ "networkId": 186, "explorers": [{ "name": "seeleview", - "url": "https://seeleview.net/", + "url": "https://seeleview.net", "standard": "none" }] } diff --git a/_data/chains/eip155-188.json b/_data/chains/eip155-188.json index 800c2526..853d6e99 100644 --- a/_data/chains/eip155-188.json +++ b/_data/chains/eip155-188.json @@ -16,7 +16,7 @@ "networkId": 188, "explorers": [{ "name": "Blockmeta", - "url": "https://bmc.blockmeta.com/", + "url": "https://bmc.blockmeta.com", "standard": "none" }] } diff --git a/_data/chains/eip155-189.json b/_data/chains/eip155-189.json index ba3436d4..64732c87 100644 --- a/_data/chains/eip155-189.json +++ b/_data/chains/eip155-189.json @@ -16,7 +16,7 @@ "networkId": 189, "explorers": [{ "name": "Blockmeta", - "url": "https://bmc.blockmeta.com/", + "url": "https://bmctestnet.blockmeta.com", "standard": "none" }] } diff --git a/_data/chains/eip155-19.json b/_data/chains/eip155-19.json index e3eabc0a..08ad522a 100644 --- a/_data/chains/eip155-19.json +++ b/_data/chains/eip155-19.json @@ -1,6 +1,7 @@ { "name": "Songbird Canary-Network", "chain": "SGB", + "icon": "songbird", "rpc": [ "https://songbird.towolabs.com/rpc", "https://sgb.ftso.com.au/ext/bc/C/rpc", @@ -21,6 +22,6 @@ "explorers": [{ "name": "blockscout", "url": "https://songbird-explorer.flare.network", - "standard": "none" + "standard": "EIP3091" }] } diff --git a/_data/chains/eip155-192837465.json b/_data/chains/eip155-192837465.json index 5fb0d83d..3c14a961 100644 --- a/_data/chains/eip155-192837465.json +++ b/_data/chains/eip155-192837465.json @@ -16,7 +16,7 @@ "networkId": 192837465, "explorers": [{ "name": "Blockscout", - "url": "https://explorer.gather.network/", + "url": "https://explorer.gather.network", "standard": "none" }] } diff --git a/_data/chains/eip155-199.json b/_data/chains/eip155-199.json index 0361174c..71140b22 100644 --- a/_data/chains/eip155-199.json +++ b/_data/chains/eip155-199.json @@ -16,7 +16,7 @@ "networkId": 199, "explorers": [{ "name": "bttcscan", - "url": "https://scan.bittorrentchain.io/", + "url": "https://scan.bittorrentchain.io", "standard": "none" }] } diff --git a/_data/chains/eip155-20.json b/_data/chains/eip155-20.json index 0bddca16..67d3bac8 100644 --- a/_data/chains/eip155-20.json +++ b/_data/chains/eip155-20.json @@ -1,10 +1,10 @@ { - "name": "ELA-ETH-Sidechain Mainnet", + "name": "Elastos Smart Chain", "chain": "ETH", "rpc": [ - "https://mainrpc.elaeth.io" + "https://api.elastos.io/eth" ], - "faucets": [], + "faucets": ["https://faucet.elastos.org/"], "nativeCurrency": { "name": "Elastos", "symbol": "ELA", @@ -13,5 +13,10 @@ "infoURL": "https://www.elastos.org/", "shortName": "elaeth", "chainId": 20, - "networkId": 20 + "networkId": 20, + "explorers": [{ + "name": "elastos eth explorer", + "url": "https://eth.elastos.io", + "standard": "EIP3091" + }] } diff --git a/_data/chains/eip155-201018.json b/_data/chains/eip155-201018.json index 42570288..560137ef 100644 --- a/_data/chains/eip155-201018.json +++ b/_data/chains/eip155-201018.json @@ -19,8 +19,8 @@ "explorers": [ { "name": "alaya explorer", - "url": "https://scan.alaya.network/", + "url": "https://scan.alaya.network", "standard": "none" } ] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-2100.json b/_data/chains/eip155-2100.json index b9d529c1..afe88ee8 100644 --- a/_data/chains/eip155-2100.json +++ b/_data/chains/eip155-2100.json @@ -16,7 +16,7 @@ "networkId": 2100, "explorers": [{ "name": "Ecoball Explorer", - "url": "https://scan.ecoball.org/", + "url": "https://scan.ecoball.org", "standard": "EIP3091" }] } diff --git a/_data/chains/eip155-2101.json b/_data/chains/eip155-2101.json index 7463df69..543ec819 100644 --- a/_data/chains/eip155-2101.json +++ b/_data/chains/eip155-2101.json @@ -16,7 +16,7 @@ "networkId": 2101, "explorers": [{ "name": "Ecoball Testnet Explorer", - "url": "https://espuma-scan.ecoball.org/", + "url": "https://espuma-scan.ecoball.org", "standard": "EIP3091" }] } diff --git a/_data/chains/eip155-210309.json b/_data/chains/eip155-210309.json index 9e69304b..aed0e533 100644 --- a/_data/chains/eip155-210309.json +++ b/_data/chains/eip155-210309.json @@ -14,15 +14,15 @@ "decimals": 18 }, "infoURL": "https://www.platon.network", - "shortName": "PlatON", + "shortName": "platondev", "chainId": 210309, "networkId": 1, "icon": "platon", "explorers": [ { "name": "PlatON explorer", - "url": "https://devnetscan.platon.network/", + "url": "https://devnetscan.platon.network", "standard": "none" } ] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-210425.json b/_data/chains/eip155-210425.json new file mode 100644 index 00000000..21b73ff8 --- /dev/null +++ b/_data/chains/eip155-210425.json @@ -0,0 +1,27 @@ +{ + "name": "PlatON Mainnet", + "chain": "PlatON", + "network": "mainnet", + "rpc": [ + "https://openapi.platon.network/rpc", + "wss://openapi.platon.network/ws" + ], + "faucets": [], + "nativeCurrency": { + "name": "LAT", + "symbol": "lat", + "decimals": 18 + }, + "infoURL": "https://www.platon.network", + "shortName": "platon", + "chainId": 210425, + "networkId": 1, + "icon": "platon", + "explorers": [ + { + "name": "PlatON explorer", + "url": "https://scan.platon.network", + "standard": "none" + } + ] +} \ No newline at end of file diff --git a/_data/chains/eip155-26.json b/_data/chains/eip155-26.json index 17731241..88981cd8 100644 --- a/_data/chains/eip155-26.json +++ b/_data/chains/eip155-26.json @@ -16,7 +16,7 @@ "networkId": 26, "explorers": [{ "name": "Genesis L1 testnet explorer", - "url": "https://testnet.genesisl1.org/", + "url": "https://testnet.genesisl1.org", "standard": "none" }] } diff --git a/_data/chains/eip155-262.json b/_data/chains/eip155-262.json index 44ebefea..58a1a0ab 100644 --- a/_data/chains/eip155-262.json +++ b/_data/chains/eip155-262.json @@ -17,7 +17,7 @@ "icon": "SUR", "explorers": [{ "name": "Surnet Explorer", - "url": "https://explorer.surnet.org/", + "url": "https://explorer.surnet.org", "icon": "SUR", "standard": "EIP3091" }] diff --git a/_data/chains/eip155-269.json b/_data/chains/eip155-269.json index 3f1a3050..0e8faa01 100644 --- a/_data/chains/eip155-269.json +++ b/_data/chains/eip155-269.json @@ -20,7 +20,7 @@ "slip44": 269, "explorers": [{ "name": "hscan", - "url": "https://hscan.org/", + "url": "https://hscan.org", "standard": "EIP3091" }] diff --git a/_data/chains/eip155-27.json b/_data/chains/eip155-27.json index cb034ef6..cc9cdf2f 100644 --- a/_data/chains/eip155-27.json +++ b/_data/chains/eip155-27.json @@ -16,7 +16,7 @@ "networkId": 27, "explorers": [{ "name": "Shiba Explorer", - "url": "https://exp.shibachain.net/", + "url": "https://exp.shibachain.net", "standard": "none" }] } diff --git a/_data/chains/eip155-28.json b/_data/chains/eip155-28.json index 8e04a29e..6bc23e68 100644 --- a/_data/chains/eip155-28.json +++ b/_data/chains/eip155-28.json @@ -15,7 +15,7 @@ "explorers": [{ "name": "Blockscout", - "url": "https://blockexplorer.rinkeby.boba.network/", + "url": "https://blockexplorer.rinkeby.boba.network", "standard": "none" }], "parent": { diff --git a/_data/chains/eip155-288.json b/_data/chains/eip155-288.json index aba9a781..31d1c9e8 100644 --- a/_data/chains/eip155-288.json +++ b/_data/chains/eip155-288.json @@ -15,7 +15,7 @@ "explorers": [{ "name": "Blockscout", - "url": "https://blockexplorer.boba.network/", + "url": "https://blockexplorer.boba.network", "standard": "none" }], "parent": { diff --git a/_data/chains/eip155-29.json b/_data/chains/eip155-29.json index 33579353..5c8dd368 100644 --- a/_data/chains/eip155-29.json +++ b/_data/chains/eip155-29.json @@ -16,7 +16,7 @@ "networkId": 29, "explorers": [{ "name": "Genesis L1 blockchain explorer", - "url": "https://explorer.genesisl1.org/", + "url": "https://explorer.genesisl1.org", "standard": "none" }] } diff --git a/_data/chains/eip155-3.json b/_data/chains/eip155-3.json index 5e20f066..1857ee89 100644 --- a/_data/chains/eip155-3.json +++ b/_data/chains/eip155-3.json @@ -1,11 +1,13 @@ { - "name": "Ethereum Testnet Ropsten", + "name": "Ropsten", + "title": "Ethereum Testnet Ropsten", "chain": "ETH", "rpc": [ "https://ropsten.infura.io/v3/${INFURA_API_KEY}", "wss://ropsten.infura.io/ws/v3/${INFURA_API_KEY}" ], "faucets": [ + "http://fauceth.komputing.org?chain=3&address=${ADDRESS}", "https://faucet.ropsten.be?${ADDRESS}" ], "nativeCurrency": { @@ -19,5 +21,10 @@ "networkId": 3, "ens": { "registry":"0x112234455c3a32fd11230c42e7bccd4a84e02010" - } + }, + "explorers": [{ + "name": "etherscan", + "url": "https://ropsten.etherscan.io", + "standard": "EIP3091" + }] } diff --git a/_data/chains/eip155-356256156.json b/_data/chains/eip155-356256156.json index ed02017b..04e99e81 100644 --- a/_data/chains/eip155-356256156.json +++ b/_data/chains/eip155-356256156.json @@ -16,7 +16,7 @@ "networkId": 356256156, "explorers": [{ "name": "Blockscout", - "url": "https://testnet-explorer.gather.network/", + "url": "https://testnet-explorer.gather.network", "standard": "none" }] } diff --git a/_data/chains/eip155-4.json b/_data/chains/eip155-4.json index ef77f275..341b245e 100644 --- a/_data/chains/eip155-4.json +++ b/_data/chains/eip155-4.json @@ -6,7 +6,10 @@ "https://rinkeby.infura.io/v3/${INFURA_API_KEY}", "wss://rinkeby.infura.io/ws/v3/${INFURA_API_KEY}" ], - "faucets": ["https://faucet.rinkeby.io"], + "faucets": [ + "http://fauceth.komputing.org?chain=4&address=${ADDRESS}", + "https://faucet.rinkeby.io" + ], "nativeCurrency": { "name": "Rinkeby Ether", "symbol": "RIN", diff --git a/_data/chains/eip155-4002.json b/_data/chains/eip155-4002.json index 797f62bc..65269797 100644 --- a/_data/chains/eip155-4002.json +++ b/_data/chains/eip155-4002.json @@ -17,7 +17,7 @@ "explorers": [ { "name": "ftmscan", - "url": "https://testnet.ftmscan.com/", + "url": "https://testnet.ftmscan.com", "icon": "ftmscan", "standard": "EIP3091" } diff --git a/_data/chains/eip155-42.json b/_data/chains/eip155-42.json index db7db908..4f2fef1b 100644 --- a/_data/chains/eip155-42.json +++ b/_data/chains/eip155-42.json @@ -10,6 +10,7 @@ "ws://kovan.poa.network:8546" ], "faucets": [ + "http://fauceth.komputing.org?chain=42&address=${ADDRESS}", "https://faucet.kovan.network", "https://gitter.im/kovan-testnet/faucet" ], diff --git a/_data/chains/eip155-421611.json b/_data/chains/eip155-421611.json index 885f7957..0494098f 100644 --- a/_data/chains/eip155-421611.json +++ b/_data/chains/eip155-421611.json @@ -10,11 +10,13 @@ "symbol": "ARETH", "decimals": 18 }, - "rpc": [ + "rpc": [ "https://rinkeby.arbitrum.io/rpc", "wss://rinkeby.arbitrum.io/ws" ], - "faucets": [], + "faucets": [ + "http://fauceth.komputing.org?chain=421611&address=${ADDRESS}" + ], "infoURL": "https://arbitrum.io", "explorers": [ { diff --git a/_data/chains/eip155-42261.json b/_data/chains/eip155-42261.json index f208a56f..7ebfaa7f 100644 --- a/_data/chains/eip155-42261.json +++ b/_data/chains/eip155-42261.json @@ -18,7 +18,7 @@ "networkId": 42261, "explorers": [{ "name": "Emerald Paratime Testnet Explorer", - "url": "https://testnet.explorer.emerald.oasis.dev/", + "url": "https://testnet.explorer.emerald.oasis.dev", "standard": "EIP3091" }] } diff --git a/_data/chains/eip155-42262.json b/_data/chains/eip155-42262.json index 93f656f8..5bf927bd 100644 --- a/_data/chains/eip155-42262.json +++ b/_data/chains/eip155-42262.json @@ -18,7 +18,7 @@ "networkId": 42262, "explorers": [{ "name": "Emerald Paratime Mainnet Explorer", - "url": "https://explorer.emerald.oasis.dev/", + "url": "https://explorer.emerald.oasis.dev", "standard": "EIP3091" }] } diff --git a/_data/chains/eip155-43.json b/_data/chains/eip155-43.json index 070ee15f..a0609fc1 100644 --- a/_data/chains/eip155-43.json +++ b/_data/chains/eip155-43.json @@ -10,10 +10,10 @@ "nativeCurrency": { "name": "Pangolin Network Native Token”", "symbol": "PRING", - "decimals": 9 + "decimals": 18 }, "infoURL": "https://darwinia.network/", - "shortName": "darwinia", + "shortName": "pangolin", "chainId": 43, "networkId": 43, "explorers": [{ diff --git a/_data/chains/eip155-43113.json b/_data/chains/eip155-43113.json index 0d03b633..56eafee8 100644 --- a/_data/chains/eip155-43113.json +++ b/_data/chains/eip155-43113.json @@ -19,7 +19,7 @@ "explorers": [ { "name": "snowtrace", - "url": "https://testnet.snowtrace.io/", + "url": "https://testnet.snowtrace.io", "standard": "EIP3091" } ] diff --git a/_data/chains/eip155-43114.json b/_data/chains/eip155-43114.json index c31c0221..e4037701 100644 --- a/_data/chains/eip155-43114.json +++ b/_data/chains/eip155-43114.json @@ -18,7 +18,7 @@ "explorers": [ { "name": "snowtrace", - "url": "https://snowtrace.io/", + "url": "https://snowtrace.io", "standard": "EIP3091" } ] diff --git a/_data/chains/eip155-44.json b/_data/chains/eip155-44.json index 6cf37276..bed4cee7 100644 --- a/_data/chains/eip155-44.json +++ b/_data/chains/eip155-44.json @@ -8,7 +8,7 @@ "nativeCurrency": { "name": "Crab Network Native Token", "symbol": "CRAB", - "decimals": 9 + "decimals": 18 }, "infoURL": "https://crab.network/", "shortName": "crab", diff --git a/_data/chains/eip155-45.json b/_data/chains/eip155-45.json new file mode 100644 index 00000000..87d8a490 --- /dev/null +++ b/_data/chains/eip155-45.json @@ -0,0 +1,22 @@ +{ + "name": "Darwinia Pangoro Testnet", + "chain": "pangoro", + "rpc": ["http://pangoro-rpc.darwinia.network"], + "faucets": [], + "nativeCurrency": { + "name": "Pangoro Network Native Token”", + "symbol": "ORING", + "decimals": 18 + }, + "infoURL": "https://darwinia.network/", + "shortName": "pangoro", + "chainId": 45, + "networkId": 45, + "explorers": [ + { + "name": "subscan", + "url": "https://pangoro.subscan.io", + "standard": "none" + } + ] +} diff --git a/_data/chains/eip155-47805.json b/_data/chains/eip155-47805.json new file mode 100644 index 00000000..c0f706ed --- /dev/null +++ b/_data/chains/eip155-47805.json @@ -0,0 +1,23 @@ +{ + "name": "REI Network", + "chain": "REI", + "rpc": [ + "https://rpc.rei.network", + "wss://rpc.rei.network" + ], + "faucets": [], + "nativeCurrency": { + "name": "REI", + "symbol": "REI", + "decimals": 18 + }, + "infoURL": "https://rei.network/", + "shortName": "REI", + "chainId": 47805, + "networkId": 47805, + "explorers": [{ + "name": "rei-scan", + "url": "https://scan.rei.network", + "standard": "none" + }] +} diff --git a/_data/chains/eip155-486217935.json b/_data/chains/eip155-486217935.json index 83b8aca5..19b4050e 100644 --- a/_data/chains/eip155-486217935.json +++ b/_data/chains/eip155-486217935.json @@ -16,7 +16,7 @@ "networkId": 486217935, "explorers": [{ "name": "Blockscout", - "url": "https://devnet-explorer.gather.network/", + "url": "https://devnet-explorer.gather.network", "standard": "none" }] } diff --git a/_data/chains/eip155-5.json b/_data/chains/eip155-5.json index e3aa3e07..70c1cec9 100644 --- a/_data/chains/eip155-5.json +++ b/_data/chains/eip155-5.json @@ -8,7 +8,8 @@ "https://rpc.goerli.mudit.blog/" ], "faucets": [ - "https://goerli-faucet.slock.it/?address=${ADDRESS}", + "http://fauceth.komputing.org?chain=5&address=${ADDRESS}", + "https://goerli-faucet.slock.it?address=${ADDRESS}", "https://faucet.goerli.mudit.blog" ], "nativeCurrency": { diff --git a/_data/chains/eip155-52.json b/_data/chains/eip155-52.json index 236a8b61..d57083ea 100644 --- a/_data/chains/eip155-52.json +++ b/_data/chains/eip155-52.json @@ -16,7 +16,7 @@ "networkId": 52, "explorers": [{ "name": "coinexscan", - "url": "https://www.coinex.net/", + "url": "https://www.coinex.net", "standard": "none" }] } diff --git a/_data/chains/eip155-53.json b/_data/chains/eip155-53.json index 06ce0ac9..b13957b6 100644 --- a/_data/chains/eip155-53.json +++ b/_data/chains/eip155-53.json @@ -16,7 +16,7 @@ "networkId": 53, "explorers": [{ "name": "coinexscan", - "url": "https://testnet.coinex.net/", + "url": "https://testnet.coinex.net", "standard": "none" }] } diff --git a/_data/chains/eip155-55.json b/_data/chains/eip155-55.json index 0f729823..38b4fde7 100644 --- a/_data/chains/eip155-55.json +++ b/_data/chains/eip155-55.json @@ -21,7 +21,7 @@ "networkId": 55, "explorers": [{ "name": "zyxscan", - "url": "https://zyxscan.com/", + "url": "https://zyxscan.com", "standard": "none" }] } diff --git a/_data/chains/eip155-555.json b/_data/chains/eip155-555.json new file mode 100644 index 00000000..af8c94d6 --- /dev/null +++ b/_data/chains/eip155-555.json @@ -0,0 +1,24 @@ +{ + "name": "Vela1 Chain Mainnet", + "chain": "VELA1", + "rpc": [ + "https://rpc.velaverse.io" + ], + "faucets": [], + "nativeCurrency": { + "name": "CLASS COIN", + "symbol": "CLASS", + "decimals": 18 + }, + "infoURL": "https://velaverse.io", + "shortName": "CLASS", + "chainId": 555, + "networkId": 555, + "explorers": [ + { + "name": "Vela1 Chain Mainnet Explorer", + "url": "https://exp.velaverse.io", + "standard": "EIP3091" + } + ] +} diff --git a/_data/chains/eip155-58.json b/_data/chains/eip155-58.json index d39a149f..abfaabef 100644 --- a/_data/chains/eip155-58.json +++ b/_data/chains/eip155-58.json @@ -20,7 +20,7 @@ "networkId": 58, "explorers": [{ "name": "explorer", - "url": "https://explorer.ont.io/", + "url": "https://explorer.ont.io", "standard": "EIP3091" }] } diff --git a/_data/chains/eip155-588.json b/_data/chains/eip155-588.json index 7c84e0ce..3548d440 100644 --- a/_data/chains/eip155-588.json +++ b/_data/chains/eip155-588.json @@ -15,7 +15,7 @@ "explorers": [ { "name": "blockscout", - "url": "https://stardust-explorer.metis.io/", + "url": "https://stardust-explorer.metis.io", "standard": "EIP3091" } ], diff --git a/_data/chains/eip155-60000.json b/_data/chains/eip155-60000.json index d325d232..bf9c3bde 100644 --- a/_data/chains/eip155-60000.json +++ b/_data/chains/eip155-60000.json @@ -18,7 +18,7 @@ "networkId": 60000, "explorers": [{ "name": "thinkiumscan", - "url": "https://test0.thinkiumscan.net/", + "url": "https://test0.thinkiumscan.net", "standard": "EIP3091" }] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-60001.json b/_data/chains/eip155-60001.json index 9becdf10..cece7c86 100644 --- a/_data/chains/eip155-60001.json +++ b/_data/chains/eip155-60001.json @@ -18,7 +18,7 @@ "networkId": 60001, "explorers": [{ "name": "thinkiumscan", - "url": "https://test1.thinkiumscan.net/", + "url": "https://test1.thinkiumscan.net", "standard": "EIP3091" }] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-60002.json b/_data/chains/eip155-60002.json index 541bce10..e8affefc 100644 --- a/_data/chains/eip155-60002.json +++ b/_data/chains/eip155-60002.json @@ -18,7 +18,7 @@ "networkId": 60002, "explorers": [{ "name": "thinkiumscan", - "url": "https://test2.thinkiumscan.net/", + "url": "https://test2.thinkiumscan.net", "standard": "EIP3091" }] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-63000.json b/_data/chains/eip155-63000.json new file mode 100644 index 00000000..3be7686c --- /dev/null +++ b/_data/chains/eip155-63000.json @@ -0,0 +1,23 @@ +{ + "name": "eCredits Mainnet", + "chain": "ECS", + "network": "mainnet", + "rpc": [ + "https://rpc.ecredits.com" + ], + "faucets": [], + "nativeCurrency": { + "name": "eCredits", + "symbol": "ECS", + "decimals": 18 + }, + "infoURL": "https://ecredits.com", + "shortName": "ecs", + "chainId": 63000, + "networkId": 63000, + "explorers": [{ + "name": "eCredits MainNet Explorer", + "url": "https://explorer.ecredits.com", + "standard": "EIP3091" + }] +} \ No newline at end of file diff --git a/_data/chains/eip155-63001.json b/_data/chains/eip155-63001.json new file mode 100644 index 00000000..6afd3ab4 --- /dev/null +++ b/_data/chains/eip155-63001.json @@ -0,0 +1,25 @@ +{ + "name": "eCredits Testnet", + "chain": "ECS", + "network": "testnet", + "rpc": [ + "https://rpc.tst.ecredits.com" + ], + "faucets": [ + "https://faucet.tst.ecredits.com" + ], + "nativeCurrency": { + "name": "eCredits", + "symbol": "ECS", + "decimals": 18 + }, + "infoURL": "https://ecredits.com", + "shortName": "ecs-testnet", + "chainId": 63001, + "networkId": 63001, + "explorers": [{ + "name": "eCredits TestNet Explorer", + "url": "https://explorer.tst.ecredits.com", + "standard": "EIP3091" + }] +} \ No newline at end of file diff --git a/_data/chains/eip155-666666.json b/_data/chains/eip155-666666.json new file mode 100644 index 00000000..61e290d2 --- /dev/null +++ b/_data/chains/eip155-666666.json @@ -0,0 +1,20 @@ +{ + "name": "Vision - Vpioneer Test Chain", + "chain": "Vision-Vpioneer", + "rpc": [ + "https://vpioneer.infragrid.v.network/ethereum/compatible" + ], + "faucets": [ + "https://vpioneerfaucet.visionscan.org" + ], + "nativeCurrency": { + "name": "VS", + "symbol": "VS", + "decimals": 6 + }, + "infoURL": "https://visionscan.org", + "shortName": "vpioneer", + "chainId": 666666, + "networkId": 666666, + "slip44": 60 +} \ No newline at end of file diff --git a/_data/chains/eip155-69.json b/_data/chains/eip155-69.json index 5ddf000a..bd7c54ed 100644 --- a/_data/chains/eip155-69.json +++ b/_data/chains/eip155-69.json @@ -1,14 +1,21 @@ { - "name": "Optimistic Kovan", - "title": "Optimistic Ethereum Testnet Kovan", + "name": "Optimism Kovan", + "title": "Optimism Testnet Kovan", "chain": "ETH", "rpc": ["https://kovan.optimism.io/"], - "faucets": [], + "faucets": [ + "http://fauceth.komputing.org?chain=69&address=${ADDRESS}" + ], "nativeCurrency": { "name": "Kovan Ether", "symbol": "KOR", "decimals": 18 }, + "explorers": [{ + "name": "etherscan", + "url": "https://kovan-optimistic.etherscan.io", + "standard": "EIP3091" + }], "infoURL": "https://optimism.io", "shortName": "okov", "chainId": 69, diff --git a/_data/chains/eip155-70000.json b/_data/chains/eip155-70000.json index 42d58d88..98095c0e 100644 --- a/_data/chains/eip155-70000.json +++ b/_data/chains/eip155-70000.json @@ -16,7 +16,7 @@ "networkId": 70000, "explorers": [{ "name": "thinkiumscan", - "url": "https://chain0.thinkiumscan.net/", + "url": "https://chain0.thinkiumscan.net", "standard": "EIP3091" }] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-70001.json b/_data/chains/eip155-70001.json index a9129b49..c11dfac4 100644 --- a/_data/chains/eip155-70001.json +++ b/_data/chains/eip155-70001.json @@ -16,7 +16,7 @@ "networkId": 70001, "explorers": [{ "name": "thinkiumscan", - "url": "https://chain1.thinkiumscan.net/", + "url": "https://chain1.thinkiumscan.net", "standard": "EIP3091" }] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-70002.json b/_data/chains/eip155-70002.json index d26770a5..50c62539 100644 --- a/_data/chains/eip155-70002.json +++ b/_data/chains/eip155-70002.json @@ -16,7 +16,7 @@ "networkId": 70002, "explorers": [{ "name": "thinkiumscan", - "url": "https://chain2.thinkiumscan.net/", + "url": "https://chain2.thinkiumscan.net", "standard": "EIP3091" }] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-70103.json b/_data/chains/eip155-70103.json index a40d2d1d..e823540d 100644 --- a/_data/chains/eip155-70103.json +++ b/_data/chains/eip155-70103.json @@ -16,7 +16,7 @@ "networkId": 70103, "explorers": [{ "name": "thinkiumscan", - "url": "https://chain103.thinkiumscan.net/", + "url": "https://chain103.thinkiumscan.net", "standard": "EIP3091" }] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-707.json b/_data/chains/eip155-707.json index f5715615..0b5f43a9 100644 --- a/_data/chains/eip155-707.json +++ b/_data/chains/eip155-707.json @@ -8,11 +8,11 @@ "faucets": [], "nativeCurrency": { "name": "BCS Token", - "symbol": "PLAY", + "symbol": "BCS", "decimals": 18 }, "infoURL": "https://blockchainstation.io", - "shortName": "play", + "shortName": "bcs", "chainId": 707, "networkId": 707, "explorers": [{ diff --git a/_data/chains/eip155-708.json b/_data/chains/eip155-708.json index 7d7b5f4a..1575e996 100644 --- a/_data/chains/eip155-708.json +++ b/_data/chains/eip155-708.json @@ -10,11 +10,11 @@ ], "nativeCurrency": { "name": "BCS Testnet Token", - "symbol": "tPLAY", + "symbol": "tBCS", "decimals": 18 }, "infoURL": "https://blockchainstation.io", - "shortName": "tplay", + "shortName": "tbcs", "chainId": 708, "networkId": 708, "explorers": [{ diff --git a/_data/chains/eip155-71.json b/_data/chains/eip155-71.json new file mode 100644 index 00000000..1c3167ec --- /dev/null +++ b/_data/chains/eip155-71.json @@ -0,0 +1,24 @@ +{ + "name": "Conflux eSpace (Testnet)", + "chain": "Conflux", + "network": "testnet", + "rpc": ["https://evmtestnet.confluxrpc.com"], + "faucets": ["https://faucet.confluxnetwork.org"], + "nativeCurrency": { + "name": "CFX", + "symbol": "CFX", + "decimals": 18 + }, + "infoURL": "https://confluxnetwork.org", + "shortName": "cfxtest", + "chainId": 71, + "networkId": 71, + "icon": "conflux", + "explorers": [ + { + "name": "Conflux Scan", + "url": "https://evmtestnet.confluxscan.net", + "standard": "none" + } + ] + } \ No newline at end of file diff --git a/_data/chains/eip155-7341.json b/_data/chains/eip155-7341.json new file mode 100644 index 00000000..d89753c3 --- /dev/null +++ b/_data/chains/eip155-7341.json @@ -0,0 +1,24 @@ +{ + "name": "Shyft Mainnet", + "chain": "SHYFT", + "icon": "shyft", + "rpc": [ + "https://rpc.shyft.network/" + ], + "faucets": [], + "nativeCurrency": { + "name": "Shyft", + "symbol": "SHYFT", + "decimals": 18 + }, + "infoURL": "https://shyft.network", + "shortName": "shyft", + "chainId": 7341, + "networkId": 7341, + "slip44": 2147490989, + "explorers": [{ + "name": "Shyft BX", + "url": "https://bx.shyft.network", + "standard": "EIP3091" + }] +} diff --git a/_data/chains/eip155-74.json b/_data/chains/eip155-74.json new file mode 100644 index 00000000..66045260 --- /dev/null +++ b/_data/chains/eip155-74.json @@ -0,0 +1,26 @@ +{ + "name": "IDChain Mainnet", + "chain": "IDChain", + "network": "mainnet", + "rpc": [ + "https://idchain.one/rpc/", + "wss://idchain.one/ws/" + ], + "faucets": [], + "nativeCurrency": { + "name": "EIDI", + "symbol": "EIDI", + "decimals": 18 + }, + "infoURL": "https://idchain.one/begin/", + "shortName": "idchain", + "chainId": 74, + "networkId": 74, + "icon": "idchain", + "explorers": [{ + "name": "explorer", + "url": "https://explorer.idchain.one", + "icon": "etherscan", + "standard": "EIP3091" + }] + } \ No newline at end of file diff --git a/_data/chains/eip155-80001.json b/_data/chains/eip155-80001.json index 8ae2d1c2..c95da468 100644 --- a/_data/chains/eip155-80001.json +++ b/_data/chains/eip155-80001.json @@ -1,5 +1,6 @@ { - "name": "Polygon Testnet Mumbai", + "name": "Mumbai", + "title": "Polygon Testnet Mumbai", "chain": "Polygon", "rpc": [ "https://matic-mumbai.chainstacklabs.com", @@ -20,7 +21,7 @@ "networkId": 80001, "explorers": [{ "name": "polygonscan", - "url": "https://mumbai.polygonscan.com/", + "url": "https://mumbai.polygonscan.com", "standard": "EIP3091" }] } diff --git a/_data/chains/eip155-88.json b/_data/chains/eip155-88.json index 0112c424..4a5f2052 100644 --- a/_data/chains/eip155-88.json +++ b/_data/chains/eip155-88.json @@ -6,11 +6,11 @@ ], "faucets": [], "nativeCurrency": { - "name": "TomoChain Ether", + "name": "TomoChain", "symbol": "TOMO", "decimals": 18 }, - "infoURL": "https://tomocoin.io", + "infoURL": "https://tomochain.com", "shortName": "tomo", "chainId": 88, "networkId": 88, diff --git a/_data/chains/eip155-888888.json b/_data/chains/eip155-888888.json new file mode 100644 index 00000000..81960b40 --- /dev/null +++ b/_data/chains/eip155-888888.json @@ -0,0 +1,19 @@ +{ + "name": "Vision - Mainnet", + "chain": "Vision", + "rpc": [ + "https://infragrid.v.network/ethereum/compatible" + ], + "faucets": [ + ], + "nativeCurrency": { + "name": "VS", + "symbol": "VS", + "decimals": 6 + }, + "infoURL": "https://visionscan.org", + "shortName": "vision", + "chainId": 888888, + "networkId": 888888, + "slip44": 60 + } \ No newline at end of file diff --git a/_data/chains/eip155-89.json b/_data/chains/eip155-89.json new file mode 100644 index 00000000..80795cd8 --- /dev/null +++ b/_data/chains/eip155-89.json @@ -0,0 +1,18 @@ +{ + "name": "TomoChain Testnet", + "chain": "TOMO", + "rpc": [ + "https://rpc.testnet.tomochain.com" + ], + "faucets": [], + "nativeCurrency": { + "name": "TomoChain", + "symbol": "TOMO", + "decimals": 18 + }, + "infoURL": "https://tomochain.com", + "shortName": "tomot", + "chainId": 89, + "networkId": 89, + "slip44": 889 + } \ No newline at end of file diff --git a/_data/chains/eip155-90.json b/_data/chains/eip155-90.json new file mode 100644 index 00000000..cc0c21c9 --- /dev/null +++ b/_data/chains/eip155-90.json @@ -0,0 +1,25 @@ +{ + "name": "Garizon Stage0", + "chain": "GAR", + "network": "mainnet", + "icon": "garizon", + "rpc": [ + "https://s0.garizon.net/rpc" + ], + "faucets": [], + "nativeCurrency": { + "name": "Garizon", + "symbol": "GAR", + "decimals": 18 + }, + "infoURL": "https://garizon.com", + "shortName": "gar-s0", + "chainId": 90, + "networkId": 90, + "explorers": [{ + "name": "explorer", + "url": "https://explorer.garizon.com", + "icon": "garizon", + "standard": "EIP3091" + }] +} diff --git a/_data/chains/eip155-900.json b/_data/chains/eip155-900.json new file mode 100644 index 00000000..ae7db495 --- /dev/null +++ b/_data/chains/eip155-900.json @@ -0,0 +1,27 @@ +{ + "name": "Garizon Testnet Stage0", + "chain": "GAR", + "network": "testnet", + "icon": "garizon", + "rpc": [ + "https://s0-testnet.garizon.net/rpc" + ], + "faucets": [ + "https://faucet-testnet.garizon.com" + ], + "nativeCurrency": { + "name": "Garizon", + "symbol": "GAR", + "decimals": 18 + }, + "infoURL": "https://garizon.com", + "shortName": "gar-test-s0", + "chainId": 900, + "networkId": 900, + "explorers": [{ + "name": "explorer", + "url": "https://explorer-testnet.garizon.com", + "icon": "garizon", + "standard": "EIP3091" + }] +} diff --git a/_data/chains/eip155-901.json b/_data/chains/eip155-901.json new file mode 100644 index 00000000..419eef10 --- /dev/null +++ b/_data/chains/eip155-901.json @@ -0,0 +1,31 @@ +{ + "name": "Garizon Testnet Stage1", + "chain": "GAR", + "network": "testnet", + "icon": "garizon", + "rpc": [ + "https://s1-testnet.garizon.net/rpc" + ], + "faucets": [ + "https://faucet-testnet.garizon.com" + ], + "nativeCurrency": { + "name": "Garizon", + "symbol": "GAR", + "decimals": 18 + }, + "infoURL": "https://garizon.com", + "shortName": "gar-test-s1", + "chainId": 901, + "networkId": 901, + "explorers": [{ + "name": "explorer", + "url": "https://explorer-testnet.garizon.com", + "icon": "garizon", + "standard": "EIP3091" + }], + "parent": { + "chain": "eip155-900", + "type": "shard" + } +} diff --git a/_data/chains/eip155-902.json b/_data/chains/eip155-902.json new file mode 100644 index 00000000..4494f93a --- /dev/null +++ b/_data/chains/eip155-902.json @@ -0,0 +1,31 @@ +{ + "name": "Garizon Testnet Stage2", + "chain": "GAR", + "network": "testnet", + "icon": "garizon", + "rpc": [ + "https://s2-testnet.garizon.net/rpc" + ], + "faucets": [ + "https://faucet-testnet.garizon.com" + ], + "nativeCurrency": { + "name": "Garizon", + "symbol": "GAR", + "decimals": 18 + }, + "infoURL": "https://garizon.com", + "shortName": "gar-test-s2", + "chainId": 902, + "networkId": 902, + "explorers": [{ + "name": "explorer", + "url": "https://explorer-testnet.garizon.com", + "icon": "garizon", + "standard": "EIP3091" + }], + "parent": { + "chain": "eip155-900", + "type": "shard" + } +} diff --git a/_data/chains/eip155-903.json b/_data/chains/eip155-903.json new file mode 100644 index 00000000..73ac913a --- /dev/null +++ b/_data/chains/eip155-903.json @@ -0,0 +1,31 @@ +{ + "name": "Garizon Testnet Stage3", + "chain": "GAR", + "network": "testnet", + "icon": "garizon", + "rpc": [ + "https://s3-testnet.garizon.net/rpc" + ], + "faucets": [ + "https://faucet-testnet.garizon.com" + ], + "nativeCurrency": { + "name": "Garizon", + "symbol": "GAR", + "decimals": 18 + }, + "infoURL": "https://garizon.com", + "shortName": "gar-test-s3", + "chainId": 903, + "networkId": 903, + "explorers": [{ + "name": "explorer", + "url": "https://explorer-testnet.garizon.com", + "icon": "garizon", + "standard": "EIP3091" + }], + "parent": { + "chain": "eip155-900", + "type": "shard" + } +} diff --git a/_data/chains/eip155-91.json b/_data/chains/eip155-91.json new file mode 100644 index 00000000..df8d56cb --- /dev/null +++ b/_data/chains/eip155-91.json @@ -0,0 +1,29 @@ +{ + "name": "Garizon Stage1", + "chain": "GAR", + "network": "mainnet", + "icon": "garizon", + "rpc": [ + "https://s1.garizon.net/rpc" + ], + "faucets": [], + "nativeCurrency": { + "name": "Garizon", + "symbol": "GAR", + "decimals": 18 + }, + "infoURL": "https://garizon.com", + "shortName": "gar-s1", + "chainId": 91, + "networkId": 91, + "explorers": [{ + "name": "explorer", + "url": "https://explorer.garizon.com", + "icon": "garizon", + "standard": "EIP3091" + }], + "parent": { + "chain": "eip155-90", + "type": "shard" + } +} diff --git a/_data/chains/eip155-92.json b/_data/chains/eip155-92.json new file mode 100644 index 00000000..4d23e9bf --- /dev/null +++ b/_data/chains/eip155-92.json @@ -0,0 +1,29 @@ +{ + "name": "Garizon Stage2", + "chain": "GAR", + "network": "mainnet", + "icon": "garizon", + "rpc": [ + "https://s2.garizon.net/rpc" + ], + "faucets": [], + "nativeCurrency": { + "name": "Garizon", + "symbol": "GAR", + "decimals": 18 + }, + "infoURL": "https://garizon.com", + "shortName": "gar-s2", + "chainId": 92, + "networkId": 92, + "explorers": [{ + "name": "explorer", + "url": "https://explorer.garizon.com", + "icon": "garizon", + "standard": "EIP3091" + }], + "parent": { + "chain": "eip155-90", + "type": "shard" + } +} diff --git a/_data/chains/eip155-93.json b/_data/chains/eip155-93.json new file mode 100644 index 00000000..3802ec4c --- /dev/null +++ b/_data/chains/eip155-93.json @@ -0,0 +1,29 @@ +{ + "name": "Garizon Stage3", + "chain": "GAR", + "network": "mainnet", + "icon": "garizon", + "rpc": [ + "https://s3.garizon.net/rpc" + ], + "faucets": [], + "nativeCurrency": { + "name": "Garizon", + "symbol": "GAR", + "decimals": 18 + }, + "infoURL": "https://garizon.com", + "shortName": "gar-s3", + "chainId": 93, + "networkId": 93, + "explorers": [{ + "name": "explorer", + "url": "https://explorer.garizon.com", + "icon": "garizon", + "standard": "EIP3091" + }], + "parent": { + "chain": "eip155-90", + "type": "shard" + } +} diff --git a/_data/chains/eip155-99998.json b/_data/chains/eip155-99998.json new file mode 100644 index 00000000..68ebba6b --- /dev/null +++ b/_data/chains/eip155-99998.json @@ -0,0 +1,20 @@ +{ + "name": "UB Smart Chain(testnet)", + "chain": "USC", + "network": "testnet", + "rpc": [ + "https://testnet.rpc.uschain.network" + ], + "faucets": [ + ], + "nativeCurrency": { + "name": "UBC", + "symbol": "UBC", + "decimals": 18 + }, + "infoURL": "https://www.ubchain.site", + "shortName": "usctest", + "chainId": 99998, + "networkId": 99998 +} + diff --git a/_data/chains/eip155-99999.json b/_data/chains/eip155-99999.json new file mode 100644 index 00000000..3afb8737 --- /dev/null +++ b/_data/chains/eip155-99999.json @@ -0,0 +1,20 @@ +{ + "name": "UB Smart Chain", + "chain": "USC", + "network": "mainnet", + "rpc": [ + "https://rpc.uschain.network" + ], + "faucets": [ + ], + "nativeCurrency": { + "name": "UBC", + "symbol": "UBC", + "decimals": 18 + }, + "infoURL": "https://www.ubchain.site/", + "shortName": "usc", + "chainId": 99999, + "networkId": 99999 +} + diff --git a/_data/icons/conflux.json b/_data/icons/conflux.json new file mode 100644 index 00000000..84f36ab7 --- /dev/null +++ b/_data/icons/conflux.json @@ -0,0 +1,8 @@ +[ + { + "url":"ipfs://bafkreifj7n24u2dslfijfihwqvpdeigt5aj3k3sxv6s35lv75sxsfr3ojy", + "width":460, + "height":576, + "format":"png" + } +] diff --git a/_data/icons/enter.json b/_data/icons/enter.json new file mode 100644 index 00000000..c4c884cf --- /dev/null +++ b/_data/icons/enter.json @@ -0,0 +1,9 @@ + +[ +{ + "url": "ipfs://Qmb2UYVc1MjLPi8vhszWRxqBJYoYkWQVxDJRSmtrgk6j2E", + "width": 64, + "height": 64, + "format": "png" +} +] diff --git a/_data/icons/flare.json b/_data/icons/flare.json new file mode 100644 index 00000000..779b5ac5 --- /dev/null +++ b/_data/icons/flare.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmebGy9pJdCSSg1SEdZ7uzaRxgEPHdGxbvogMREs4dV73X", + "width": 512, + "height": 512, + "format": "png" + } +] \ No newline at end of file diff --git a/_data/icons/garizon.json b/_data/icons/garizon.json new file mode 100644 index 00000000..8f153f78 --- /dev/null +++ b/_data/icons/garizon.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc", + "width": 1024, + "height": 613, + "format": "png" + } +] \ No newline at end of file diff --git a/_data/icons/idchain.json b/_data/icons/idchain.json new file mode 100644 index 00000000..e2d52c1b --- /dev/null +++ b/_data/icons/idchain.json @@ -0,0 +1,8 @@ +[ + { + "url":"ipfs://QmZVwsY6HPXScKqZCA9SWNrr4jrQAHkPhVhMWi6Fj1DsrJ", + "width":162, + "height":129, + "format":"png" + } +] \ No newline at end of file diff --git a/_data/icons/nebulatestnet.json b/_data/icons/nebulatestnet.json new file mode 100644 index 00000000..714aa167 --- /dev/null +++ b/_data/icons/nebulatestnet.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmNtr72zqg3eKGNyVVNgTNLddPm3nUCqggXYyE9vQxZDW2", + "width": 512, + "height": 512, + "format": "png" + } +] diff --git a/_data/icons/novanetwork.json b/_data/icons/novanetwork.json new file mode 100644 index 00000000..714aa167 --- /dev/null +++ b/_data/icons/novanetwork.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmNtr72zqg3eKGNyVVNgTNLddPm3nUCqggXYyE9vQxZDW2", + "width": 512, + "height": 512, + "format": "png" + } +] diff --git a/_data/icons/oychain.json b/_data/icons/oychain.json new file mode 100644 index 00000000..000462a2 --- /dev/null +++ b/_data/icons/oychain.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://bafybeifjr626ix4jkugnhna7efgymleesv2atlxiprcukthgsitqihedei", + "width": 677, + "height": 237, + "format": "png" + } +] diff --git a/_data/icons/rei.json b/_data/icons/rei.json new file mode 100644 index 00000000..cbbb6223 --- /dev/null +++ b/_data/icons/rei.json @@ -0,0 +1,8 @@ +[ + { + "url":"ipfs://bafkreihgwxcavak2v5otxka2muxtcd4v5cvzcuvfwotriy24qzq7tuuzwm", + "width":1561, + "height":1561, + "format":"png" + } +] \ No newline at end of file diff --git a/_data/icons/shyft.json b/_data/icons/shyft.json new file mode 100644 index 00000000..17c728e9 --- /dev/null +++ b/_data/icons/shyft.json @@ -0,0 +1,9 @@ +[ + { + "url":"ipfs://QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi", + "width":400, + "height":400, + "format":"svg" + } +] + diff --git a/_data/icons/songbird.json b/_data/icons/songbird.json new file mode 100644 index 00000000..ebd3b672 --- /dev/null +++ b/_data/icons/songbird.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmYxcrbb7EoXisMQN9KqSoUqbjctV482nyfyWNvPQebdon", + "width": 512, + "height": 719, + "format": "png" + } +] \ No newline at end of file diff --git a/_data/icons/wagmi.json b/_data/icons/wagmi.json new file mode 100644 index 00000000..dd13d48c --- /dev/null +++ b/_data/icons/wagmi.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmNoyUXxnak8B3xgFxErkVfyVEPJUMHBzq7qJcYzkUrPR4", + "width": 500, + "height": 500, + "format": "png" + } +] \ No newline at end of file diff --git a/build.gradle b/build.gradle index cf16a116..733d6a10 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { ext { KOTLIN_VERSION = "1.6.10" - KETHEREUM_VERSION = "0.85.6" + KETHEREUM_VERSION = "0.85.7" } repositories { @@ -10,7 +10,7 @@ buildscript { dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN_VERSION}" - classpath 'com.github.ben-manes:gradle-versions-plugin:0.40.0' + classpath 'com.github.ben-manes:gradle-versions-plugin:0.42.0' } } diff --git a/model/build.gradle.kts b/model/build.gradle.kts index 63d91aa4..e6b83b76 100644 --- a/model/build.gradle.kts +++ b/model/build.gradle.kts @@ -6,7 +6,7 @@ plugins { publishing { publications { create("maven") { - version = "1.1" + version = "1.2" from(components["java"]) } diff --git a/model/src/main/kotlin/org/ethereum/lists/chains/model/Chain.kt b/model/src/main/kotlin/org/ethereum/lists/chains/model/Chain.kt index 6cf42eb6..aae76462 100644 --- a/model/src/main/kotlin/org/ethereum/lists/chains/model/Chain.kt +++ b/model/src/main/kotlin/org/ethereum/lists/chains/model/Chain.kt @@ -15,5 +15,8 @@ data class Chain( val faucets: List, val explorers: List?, val infoURL: String, - val title: String? -) \ No newline at end of file + val title: String?, + val nativeCurrency: NativeCurrency +) + +fun List.filterEIP3019Explorers() = map { it.copy(explorers = it.explorers?.filterEIP3019()) } \ No newline at end of file diff --git a/model/src/main/kotlin/org/ethereum/lists/chains/model/Explorer.kt b/model/src/main/kotlin/org/ethereum/lists/chains/model/Explorer.kt index 0da3eba7..977845f1 100644 --- a/model/src/main/kotlin/org/ethereum/lists/chains/model/Explorer.kt +++ b/model/src/main/kotlin/org/ethereum/lists/chains/model/Explorer.kt @@ -1,10 +1,18 @@ package org.ethereum.lists.chains.model import com.squareup.moshi.JsonClass +import org.ethereum.lists.chains.model.ExplorerStandard.* + +enum class ExplorerStandard { + EIP3091, + none +} @JsonClass(generateAdapter = true) data class Explorer( val name: String, val url: String, - val standard: String -) \ No newline at end of file + val standard: ExplorerStandard +) + +fun List.filterEIP3019() = filter { it.standard == EIP3091 } \ No newline at end of file diff --git a/model/src/main/kotlin/org/ethereum/lists/chains/model/NativeCurrency.kt b/model/src/main/kotlin/org/ethereum/lists/chains/model/NativeCurrency.kt new file mode 100644 index 00000000..3b9f9fa9 --- /dev/null +++ b/model/src/main/kotlin/org/ethereum/lists/chains/model/NativeCurrency.kt @@ -0,0 +1,10 @@ +package org.ethereum.lists.chains.model + +import com.squareup.moshi.JsonClass + +@JsonClass(generateAdapter = true) +data class NativeCurrency( + val name : String, + val symbol : String, + val decimals : Int, +) \ No newline at end of file diff --git a/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt b/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt index 904d62f6..05c30ca2 100644 --- a/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt +++ b/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt @@ -189,7 +189,11 @@ fun checkChain(chainFile: File, connectRPC: Boolean) { val url = explorer["url"] if (url == null || url !is String || !url.startsWith("https://")) { - throw(ExplorerInvalidUrl()) + throw(ExplorerMustWithHttps()) + } + + if (url.endsWith("/")) { + throw(ExplorerCannotEndInSlash()) } if (explorer["standard"] != "EIP3091" && explorer["standard"] != "none") { @@ -284,6 +288,11 @@ private fun parseWithMoshi(fileToParse: File) { if (parsedShortNames.contains(parsedChain.shortName)) { throw ShortNameMustBeUnique(parsedChain.shortName) } + + if (parsedChain.shortName == "*") { + throw ShortNameMustNotBeStar() + } + parsedShortNames.add(parsedChain.shortName) } diff --git a/processor/src/main/kotlin/org/ethereum/lists/chains/model/Exceptions.kt b/processor/src/main/kotlin/org/ethereum/lists/chains/model/Exceptions.kt index 2b88a7d4..1f0830e1 100644 --- a/processor/src/main/kotlin/org/ethereum/lists/chains/model/Exceptions.kt +++ b/processor/src/main/kotlin/org/ethereum/lists/chains/model/Exceptions.kt @@ -11,10 +11,12 @@ class ENSMustHaveOnlyRegistry: Exception("ens can only have a registry currently class ENSRegistryAddressMustBeValid: Exception("ens registry must have valid address") class NameMustBeUnique(dup: String): Exception(" name must be unique - but found `$dup` more than once") class ShortNameMustBeUnique(dup: String): Exception("short name must be unique - but found `$dup` more than once") -class UnsupportedNamespace(): Exception("So far only the EIP155 namespace is supported") +class ShortNameMustNotBeStar: Exception("short name must not be '*'") +class UnsupportedNamespace: Exception("So far only the EIP155 namespace is supported") class ExplorersMustBeArray: Exception("explorers must be an array") class ExplorerMustHaveName: Exception("Explorer must have name") -class ExplorerInvalidUrl: Exception("Explorer have url starting with https://") +class ExplorerMustWithHttps: Exception("Explorer have url starting with https://") +class ExplorerCannotEndInSlash: Exception("Explorer cannot have a slash on the end") class ExplorerStandardMustBeEIP3091OrNone: Exception("explorer standard must be 'none' or 'EIP3091'") class ParentHasInvalidType(type: String?): Exception("Parent has invalid type $type - only L2 or shard allowed") class ParentMustBeObject: Exception("parent must be an object") diff --git a/processor/src/test/kotlin/org/ethereum/lists/chains/TheChainChecker.kt b/processor/src/test/kotlin/org/ethereum/lists/chains/TheChainChecker.kt index 19a0a681..327d8eb4 100644 --- a/processor/src/test/kotlin/org/ethereum/lists/chains/TheChainChecker.kt +++ b/processor/src/test/kotlin/org/ethereum/lists/chains/TheChainChecker.kt @@ -177,6 +177,13 @@ class TheChainChecker { checkChain(file, false) } + @Test(expected = ShortNameMustNotBeStar::class) + fun shouldFailForStarShortName() { + val file = getFile("invalid/shortNameMustNotBeStar/eip155-1.json") + + checkChain(file, false) + } + @Test(expected = NameMustBeUnique::class) fun shouldFailOnNonUniqueName() { checkChain(getFile("valid/eip155-1.json"), false) @@ -204,12 +211,12 @@ class TheChainChecker { checkChain(getFile("invalid/explorernoname/eip155-1.json"), false) } - @Test(expected = ExplorerInvalidUrl::class) + @Test(expected = ExplorerMustWithHttps::class) fun shouldFailOnInvalidUrl() { checkChain(getFile("invalid/explorerinvalidurl/eip155-1.json"), false) } - @Test(expected = ExplorerInvalidUrl::class) + @Test(expected = ExplorerMustWithHttps::class) fun shouldFailOnMissingURL() { checkChain(getFile("invalid/explorermissingurl/eip155-1.json"), false) } @@ -220,6 +227,6 @@ class TheChainChecker { checkChain(getFile("valid/eip155-5.json"), false) } - private fun getFile(s: String) = File(javaClass.classLoader.getResource("test_chains/$s").file) + private fun getFile(s: String) = File(javaClass.classLoader.getResource("test_chains/$s")!!.file) } \ No newline at end of file diff --git a/processor/src/test/resources/test_chains/invalid/shortNameMustNotBeStar/eip155-1.json b/processor/src/test/resources/test_chains/invalid/shortNameMustNotBeStar/eip155-1.json new file mode 100644 index 00000000..bb4c8f1e --- /dev/null +++ b/processor/src/test/resources/test_chains/invalid/shortNameMustNotBeStar/eip155-1.json @@ -0,0 +1,20 @@ +{ + "name": "Ethereum Mainnet", + "shortName": "*", + "chain": "ETH", + "network": "mainnet", + "chainId": 1, + "networkId": 1, + "rpc": [ + "https://mainnet.infura.io/v3/${INFURA_API_KEY}", + "https://api.mycryptoapi.com/eth" + ], + "faucets": [], + "infoURL": "https://ethereum.org", + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "explorers": [] +} \ No newline at end of file