From 57773b17705af3cf2a7bd982e5195a2693ce864a Mon Sep 17 00:00:00 2001 From: alliswell <45843736+benbaley@users.noreply.github.com> Date: Sat, 2 Apr 2022 21:12:52 +0800 Subject: [PATCH 01/20] change PlatON's develop net chainid from 210309 to 2203181 (#1040) --- _data/chains/eip155-201018.json | 2 +- _data/chains/eip155-210425.json | 2 +- _data/chains/{eip155-210309.json => eip155-2203181.json} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename _data/chains/{eip155-210309.json => eip155-2203181.json} (89%) diff --git a/_data/chains/eip155-201018.json b/_data/chains/eip155-201018.json index 560137ef..6bc3aa07 100644 --- a/_data/chains/eip155-201018.json +++ b/_data/chains/eip155-201018.json @@ -3,7 +3,7 @@ "chain": "Alaya", "rpc": [ "https://openapi.alaya.network/rpc", - "wss://openapi.alaya.network/ws" + "wss://openapi.alaya.network/ws" ], "faucets": [], "nativeCurrency": { diff --git a/_data/chains/eip155-210425.json b/_data/chains/eip155-210425.json index 21b73ff8..64be201c 100644 --- a/_data/chains/eip155-210425.json +++ b/_data/chains/eip155-210425.json @@ -4,7 +4,7 @@ "network": "mainnet", "rpc": [ "https://openapi.platon.network/rpc", - "wss://openapi.platon.network/ws" + "wss://openapi.platon.network/ws" ], "faucets": [], "nativeCurrency": { diff --git a/_data/chains/eip155-210309.json b/_data/chains/eip155-2203181.json similarity index 89% rename from _data/chains/eip155-210309.json rename to _data/chains/eip155-2203181.json index aed0e533..8d0afe0b 100644 --- a/_data/chains/eip155-210309.json +++ b/_data/chains/eip155-2203181.json @@ -3,7 +3,7 @@ "chain": "PlatON", "rpc": [ "https://devnetopenapi.platon.network/rpc", - "wss://devnetopenapi.platon.network/ws" + "wss://devnetopenapi.platon.network/ws" ], "faucets": [ "https://faucet.platon.network/faucet/?id=e5d32df10aee11ec911142010a667c03" @@ -15,7 +15,7 @@ }, "infoURL": "https://www.platon.network", "shortName": "platondev", - "chainId": 210309, + "chainId": 2203181, "networkId": 1, "icon": "platon", "explorers": [ From 317c1bfd6da0215925484d29821ae1839061d116 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Sat, 2 Apr 2022 14:53:23 -0300 Subject: [PATCH 02/20] Add FaucETH to sepolia faucet list (#1042) --- _data/chains/eip155-11155111.json | 1 + 1 file changed, 1 insertion(+) diff --git a/_data/chains/eip155-11155111.json b/_data/chains/eip155-11155111.json index 2db2d033..9fa06d22 100644 --- a/_data/chains/eip155-11155111.json +++ b/_data/chains/eip155-11155111.json @@ -5,6 +5,7 @@ "rpc": [ ], "faucets": [ + "http://fauceth.komputing.org?chain=11155111&address=${ADDRESS}" ], "nativeCurrency": { "name": "Sepolia Ether", From 72bd69ad2b69670ab5a1cd564a716aeb4d759d67 Mon Sep 17 00:00:00 2001 From: jj449 <58848201+jj449@users.noreply.github.com> Date: Mon, 4 Apr 2022 02:25:31 +0800 Subject: [PATCH 03/20] update _data/chains/eip155-1688.json (#1043) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 高永華 --- _data/chains/eip155-1688.json | 18 ++++++++++++++++++ _data/icons/ludan.json | 8 ++++++++ 2 files changed, 26 insertions(+) create mode 100644 _data/chains/eip155-1688.json create mode 100644 _data/icons/ludan.json diff --git a/_data/chains/eip155-1688.json b/_data/chains/eip155-1688.json new file mode 100644 index 00000000..2dcaf4c8 --- /dev/null +++ b/_data/chains/eip155-1688.json @@ -0,0 +1,18 @@ +{ + "name": "LUDAN Mainnet", + "chain": "LUDAN", + "rpc": [ + "http://rpc.ludan.org:55001/" + ], + "faucets": [], + "nativeCurrency": { + "name": "LUDAN", + "symbol": "LUDAN", + "decimals": 18 + }, + "infoURL": "https://www.ludan.org/", + "shortName": "LUDAN", + "icon": "ludan", + "chainId": 1688, + "networkId": 1688 +} diff --git a/_data/icons/ludan.json b/_data/icons/ludan.json new file mode 100644 index 00000000..673497de --- /dev/null +++ b/_data/icons/ludan.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://bafkreigzeanzqgxrzzep45t776ovbwi242poqxbryuu2go5eedeuwwcsay", + "width": 512, + "height": 512, + "format": "png" + } +] From 9a3d20a0ae7a469a9215a44f73a8ecaaac053961 Mon Sep 17 00:00:00 2001 From: EU99 <87698844+EU99@users.noreply.github.com> Date: Tue, 5 Apr 2022 00:43:16 +0800 Subject: [PATCH 04/20] Add Eurus mainnet network (#1044) * Added Eurus chain mainnet. * Added Eurus and explorer icons * Update Eurus explorer status to none. * Reverted updates to etherscan * Update Eurus explorer standard to none. * Removed trailing slash from Eurus explorer. * Update _data/chains/eip155-1008.json Co-authored-by: ligi Co-authored-by: ligi --- _data/chains/eip155-1008.json | 28 ++++++++++++++++++++++++++++ _data/icons/eurus.json | 8 ++++++++ _data/icons/eurusexplorer.json | 8 ++++++++ 3 files changed, 44 insertions(+) create mode 100644 _data/chains/eip155-1008.json create mode 100644 _data/icons/eurus.json create mode 100644 _data/icons/eurusexplorer.json diff --git a/_data/chains/eip155-1008.json b/_data/chains/eip155-1008.json new file mode 100644 index 00000000..9931f8c5 --- /dev/null +++ b/_data/chains/eip155-1008.json @@ -0,0 +1,28 @@ +{ + "name":"Eurus Mainnet", + "chain":"EUN", + "network":"eurus", + "rpc":[ + "https://mainnet.eurus.network/" + ], + "faucets":[ + ], + "nativeCurrency":{ + "name":"Eurus", + "symbol":"EUN", + "decimals":18 + }, + "infoURL":"https://eurus.network", + "shortName":"eun", + "chainId":1008, + "networkId":1008, + "icon":"eurus", + "explorers":[ + { + "name":"eurusexplorer", + "url":"https://explorer.eurus.network", + "icon":"eurus", + "standard":"none" + } + ] + } \ No newline at end of file diff --git a/_data/icons/eurus.json b/_data/icons/eurus.json new file mode 100644 index 00000000..e45a43bc --- /dev/null +++ b/_data/icons/eurus.json @@ -0,0 +1,8 @@ +[ + { + "url":"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e", + "width":471, + "height":471, + "format":"svg" + } +] \ No newline at end of file diff --git a/_data/icons/eurusexplorer.json b/_data/icons/eurusexplorer.json new file mode 100644 index 00000000..e45a43bc --- /dev/null +++ b/_data/icons/eurusexplorer.json @@ -0,0 +1,8 @@ +[ + { + "url":"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e", + "width":471, + "height":471, + "format":"svg" + } +] \ No newline at end of file From fbf64dd15932a974a8ca32844dd58c6065305fe6 Mon Sep 17 00:00:00 2001 From: GimluCom <79271880+GimluCom@users.noreply.github.com> Date: Tue, 5 Apr 2022 08:16:41 +0000 Subject: [PATCH 05/20] Add Optimism on Gnosis Chain (#1046) * Create eip155-300.json * Update eip155-300.json --- _data/chains/eip155-300.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 _data/chains/eip155-300.json diff --git a/_data/chains/eip155-300.json b/_data/chains/eip155-300.json new file mode 100644 index 00000000..fb5b4f86 --- /dev/null +++ b/_data/chains/eip155-300.json @@ -0,0 +1,24 @@ +{ + "name": "Optimism on Gnosis Chain", + "chain": "OGC", + "rpc": [ + "https://optimism.gnosischain.com", + "wss://optimism.gnosischain.com/wss" + ], + "faucets": ["https://faucet.gimlu.com/gnosis"], + "nativeCurrency": { + "name": "xDAI", + "symbol": "xDAI", + "decimals": 18 + }, + "infoURL": "https://www.xdaichain.com/for-developers/optimism-optimistic-rollups-on-gc", + "shortName": "ogc", + "chainId": 300, + "networkId": 300, + "explorers": [{ + "name": "blockscout", + "url": "https://blockscout.com/xdai/optimism", + "icon": "blockscout", + "standard": "EIP3091" + }] +} From f795a1a1ec5a6e87012f34eb148419a358bec04b Mon Sep 17 00:00:00 2001 From: jj449 <58848201+jj449@users.noreply.github.com> Date: Tue, 5 Apr 2022 21:34:49 +0800 Subject: [PATCH 06/20] eip155-1688.json rpc url changed (#1051) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update _data/chains/eip155-1688.json * change rpc url to https :wq Co-authored-by: 高永華 --- _data/chains/eip155-1688.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/chains/eip155-1688.json b/_data/chains/eip155-1688.json index 2dcaf4c8..a70f580a 100644 --- a/_data/chains/eip155-1688.json +++ b/_data/chains/eip155-1688.json @@ -2,7 +2,7 @@ "name": "LUDAN Mainnet", "chain": "LUDAN", "rpc": [ - "http://rpc.ludan.org:55001/" + "https://rpc.ludan.org/" ], "faucets": [], "nativeCurrency": { From 720bace1b4e193f1829e411ece6bd7f6217b3879 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Wed, 6 Apr 2022 08:02:00 -0300 Subject: [PATCH 07/20] Flag ropsten/rinkeby/kovan/goerli/sepolia as testnets (#1052) --- _data/chains/eip155-11155111.json | 1 + _data/chains/eip155-3.json | 1 + _data/chains/eip155-4.json | 1 + _data/chains/eip155-42.json | 1 + _data/chains/eip155-5.json | 1 + 5 files changed, 5 insertions(+) diff --git a/_data/chains/eip155-11155111.json b/_data/chains/eip155-11155111.json index 9fa06d22..35e6e361 100644 --- a/_data/chains/eip155-11155111.json +++ b/_data/chains/eip155-11155111.json @@ -2,6 +2,7 @@ "name": "Sepolia", "title": "Ethereum Testnet Sepolia", "chain": "ETH", + "network": "testnet", "rpc": [ ], "faucets": [ diff --git a/_data/chains/eip155-3.json b/_data/chains/eip155-3.json index 1857ee89..cd487bb1 100644 --- a/_data/chains/eip155-3.json +++ b/_data/chains/eip155-3.json @@ -2,6 +2,7 @@ "name": "Ropsten", "title": "Ethereum Testnet Ropsten", "chain": "ETH", + "network": "testnet", "rpc": [ "https://ropsten.infura.io/v3/${INFURA_API_KEY}", "wss://ropsten.infura.io/ws/v3/${INFURA_API_KEY}" diff --git a/_data/chains/eip155-4.json b/_data/chains/eip155-4.json index 341b245e..84c77276 100644 --- a/_data/chains/eip155-4.json +++ b/_data/chains/eip155-4.json @@ -2,6 +2,7 @@ "name": "Rinkeby", "title": "Ethereum Testnet Rinkeby", "chain": "ETH", + "network": "testnet", "rpc": [ "https://rinkeby.infura.io/v3/${INFURA_API_KEY}", "wss://rinkeby.infura.io/ws/v3/${INFURA_API_KEY}" diff --git a/_data/chains/eip155-42.json b/_data/chains/eip155-42.json index 4f2fef1b..cb231a53 100644 --- a/_data/chains/eip155-42.json +++ b/_data/chains/eip155-42.json @@ -2,6 +2,7 @@ "name": "Kovan", "title": "Ethereum Testnet Kovan", "chain": "ETH", + "network": "testnet", "rpc": [ "https://kovan.poa.network", "http://kovan.poa.network:8545", diff --git a/_data/chains/eip155-5.json b/_data/chains/eip155-5.json index 70c1cec9..51269407 100644 --- a/_data/chains/eip155-5.json +++ b/_data/chains/eip155-5.json @@ -2,6 +2,7 @@ "name": "Görli", "title": "Ethereum Testnet Görli", "chain": "ETH", + "network": "testnet", "rpc": [ "https://goerli.infura.io/v3/${INFURA_API_KEY}", "wss://goerli.infura.io/v3/${INFURA_API_KEY}", From 9a908009cd88293a08222f75888d7f1bb82c13c8 Mon Sep 17 00:00:00 2001 From: EU99 <87698844+EU99@users.noreply.github.com> Date: Wed, 6 Apr 2022 19:04:24 +0800 Subject: [PATCH 08/20] Added Eurus chain testnet. (#1054) * Added Eurus chain mainnet. * Added Eurus and explorer icons * Update Eurus explorer status to none. * Reverted updates to etherscan * Update Eurus explorer standard to none. * Removed trailing slash from Eurus explorer. * Update _data/chains/eip155-1008.json Co-authored-by: ligi * Added Eurus chain testnet * Update shortname of Eurus testnet to euntest Co-authored-by: ligi --- _data/chains/eip155-1984.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 _data/chains/eip155-1984.json diff --git a/_data/chains/eip155-1984.json b/_data/chains/eip155-1984.json new file mode 100644 index 00000000..f0a94680 --- /dev/null +++ b/_data/chains/eip155-1984.json @@ -0,0 +1,28 @@ +{ + "name":"Eurus Testnet", + "chain":"EUN", + "network":"eurus-testnet", + "rpc":[ + "https://testnet.eurus.network" + ], + "faucets":[ + ], + "nativeCurrency":{ + "name":"Eurus", + "symbol":"EUN", + "decimals":18 + }, + "infoURL":"https://eurus.network", + "shortName":"euntest", + "chainId":1984, + "networkId":1984, + "icon":"eurus", + "explorers":[ + { + "name":"testnetexplorer", + "url":"https://testnetexplorer.eurus.network", + "icon":"eurus", + "standard":"none" + } + ] + } \ No newline at end of file From 8588b8d5f81adc47785546a5aa78531c8c04dca9 Mon Sep 17 00:00:00 2001 From: Aidan Starke <52016903+aidan-starke@users.noreply.github.com> Date: Thu, 7 Apr 2022 17:59:49 +1200 Subject: [PATCH 09/20] Update cennznet (#1055) * add width & height properties * update chain/network id * update url, remove width & height * deprecate chain 1337 * fix build error --- _data/chains/eip155-1337.json | 38 ++++++++++++++-------------------- _data/chains/eip155-21337.json | 24 +++++++++++++++++++++ _data/icons/cennz.json | 11 +++++----- 3 files changed, 44 insertions(+), 29 deletions(-) create mode 100644 _data/chains/eip155-21337.json diff --git a/_data/chains/eip155-1337.json b/_data/chains/eip155-1337.json index abba4e07..b30f09d2 100644 --- a/_data/chains/eip155-1337.json +++ b/_data/chains/eip155-1337.json @@ -1,24 +1,16 @@ { - "name": "CENNZnet Azalea", - "chain": "CENNZnet", - "network": "azalea", - "rpc": [ - "https://cennznet.unfrastructure.io/public" - ], - "faucets": [], - "nativeCurrency": { - "name": "CPAY", - "symbol": "CPAY", - "decimals": 18 - }, - "infoURL": "https://cennz.net", - "shortName": "cennz-a", - "chainId": 1337, - "networkId": 1337, - "icon": "cennz", - "explorers": [{ - "name": "UNcover", - "url": "https://uncoverexplorer.com", - "standard": "none" - }] - } \ No newline at end of file + "name": "CENNZnet old", + "chain": "CENNZnet", + "rpc": [], + "faucets": [], + "nativeCurrency": { + "name": "CPAY", + "symbol": "CPAY", + "decimals": 18 + }, + "infoURL": "https://cennz.net", + "shortName": "cennz-old", + "chainId": 1337, + "networkId": 1337, + "deprecated": true +} \ No newline at end of file diff --git a/_data/chains/eip155-21337.json b/_data/chains/eip155-21337.json new file mode 100644 index 00000000..cb352546 --- /dev/null +++ b/_data/chains/eip155-21337.json @@ -0,0 +1,24 @@ +{ + "name": "CENNZnet Azalea", + "chain": "CENNZnet", + "network": "azalea", + "rpc": [ + "https://cennznet.unfrastructure.io/public" + ], + "faucets": [], + "nativeCurrency": { + "name": "CPAY", + "symbol": "CPAY", + "decimals": 18 + }, + "infoURL": "https://cennz.net", + "shortName": "cennz-a", + "chainId": 21337, + "networkId": 21337, + "icon": "cennz", + "explorers": [{ + "name": "UNcover", + "url": "https://uncoverexplorer.com", + "standard": "none" + }] + } \ No newline at end of file diff --git a/_data/icons/cennz.json b/_data/icons/cennz.json index 472558f4..a76e74ff 100644 --- a/_data/icons/cennz.json +++ b/_data/icons/cennz.json @@ -1,7 +1,6 @@ [ - { - "url":"ipfs://QmfDkgrhCFfVJErVVDuU7UYasYsooXMEXFhBzLMNm6pgey", - "format":"svg" - } - ] - \ No newline at end of file + { + "url": "ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw", + "format": "svg" + } +] \ No newline at end of file From e6f58d5318d0fef74609d7370b5132162fe089aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Garc=C3=ADa?= Date: Fri, 8 Apr 2022 05:58:49 -0700 Subject: [PATCH 10/20] Adjust Harmony RPC's (#1061) --- _data/chains/eip155-1666600000.json | 3 ++- _data/chains/eip155-1666600001.json | 2 +- _data/chains/eip155-1666600002.json | 2 +- _data/chains/eip155-1666600003.json | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/_data/chains/eip155-1666600000.json b/_data/chains/eip155-1666600000.json index 0a19b696..0052bd66 100644 --- a/_data/chains/eip155-1666600000.json +++ b/_data/chains/eip155-1666600000.json @@ -2,7 +2,8 @@ "name": "Harmony Mainnet Shard 0", "chain": "Harmony", "rpc": [ - "https://api.harmony.one" + "https://api.harmony.one", + "https://api.s0.t.hmny.io" ], "faucets": ["https://free-online-app.com/faucet-for-eth-evm-chains/"], "nativeCurrency": { diff --git a/_data/chains/eip155-1666600001.json b/_data/chains/eip155-1666600001.json index 4c7330bc..8f6613ff 100644 --- a/_data/chains/eip155-1666600001.json +++ b/_data/chains/eip155-1666600001.json @@ -2,7 +2,7 @@ "name": "Harmony Mainnet Shard 1", "chain": "Harmony", "rpc": [ - "https://s1.api.harmony.one" + "https://api.s1.t.hmny.io" ], "faucets": [ ], diff --git a/_data/chains/eip155-1666600002.json b/_data/chains/eip155-1666600002.json index 5b0b933d..be5f1223 100644 --- a/_data/chains/eip155-1666600002.json +++ b/_data/chains/eip155-1666600002.json @@ -2,7 +2,7 @@ "name": "Harmony Mainnet Shard 2", "chain": "Harmony", "rpc": [ - "https://s2.api.harmony.one" + "https://api.s2.t.hmny.io" ], "faucets": [ ], diff --git a/_data/chains/eip155-1666600003.json b/_data/chains/eip155-1666600003.json index 3bf7e72c..50bf2f62 100644 --- a/_data/chains/eip155-1666600003.json +++ b/_data/chains/eip155-1666600003.json @@ -2,7 +2,7 @@ "name": "Harmony Mainnet Shard 3", "chain": "Harmony", "rpc": [ - "https://s3.api.harmony.one" + "https://api.s3.t.hmny.io" ], "faucets": [ ], From deaa1d9e1008dbb2fe43a2f883a8e1b88b9e282f Mon Sep 17 00:00:00 2001 From: 0xngmi <80541789+0xngmi@users.noreply.github.com> Date: Fri, 8 Apr 2022 14:23:09 +0100 Subject: [PATCH 11/20] shorten mADA symbol (#1060) --- _data/chains/eip155-2001.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/chains/eip155-2001.json b/_data/chains/eip155-2001.json index 770880d7..65a69bda 100644 --- a/_data/chains/eip155-2001.json +++ b/_data/chains/eip155-2001.json @@ -10,7 +10,7 @@ "faucets": [], "nativeCurrency": { "name": "milkAda", - "symbol": "milkAda", + "symbol": "mADA", "decimals": 18 }, "infoURL": "https://milkomeda.com", @@ -24,4 +24,4 @@ "standard": "none" } ] -} \ No newline at end of file +} From a8237d9bcb58dbb2e4b61923205f28268c2a1523 Mon Sep 17 00:00:00 2001 From: ammar-lakho <101721280+ammar-lakho@users.noreply.github.com> Date: Fri, 8 Apr 2022 18:23:51 +0500 Subject: [PATCH 12/20] Added Zenith chain mainnet and testnet (#1062) * added zenith mainnet and testnet networks * Update _data/chains/eip155-79.json * Update _data/chains/eip155-81.json * added shortName Co-authored-by: ligi --- _data/chains/eip155-79.json | 24 ++++++++++++++++++++++++ _data/chains/eip155-81.json | 23 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 _data/chains/eip155-79.json create mode 100644 _data/chains/eip155-81.json diff --git a/_data/chains/eip155-79.json b/_data/chains/eip155-79.json new file mode 100644 index 00000000..042638e3 --- /dev/null +++ b/_data/chains/eip155-79.json @@ -0,0 +1,24 @@ +{ + "name": "Zenith Mainnet", + "chain": "Zenith Mainnet", + "rpc": [ + "https://dataserver-1.zenithchain.co/", + "https://dataserver-us-1.zenithchain.co/" + ], + "faucets": [], + "nativeCurrency": { + "name": "ZENITH", + "symbol": "ZENITH", + "decimals": 18 + }, + "infoURL": "https://www.zenithchain.co/", + "chainId": 79, + "networkId": 79, + "shortName": "zenith", + "explorers": [{ + "name": "zenith scan", + "url": "https://scan.zenithchain.co", + "standard": "EIP3091" + }] + } + \ No newline at end of file diff --git a/_data/chains/eip155-81.json b/_data/chains/eip155-81.json new file mode 100644 index 00000000..1e76ea3c --- /dev/null +++ b/_data/chains/eip155-81.json @@ -0,0 +1,23 @@ +{ + "name": "Zenith Testnet", + "chain": "Zenith Testnet", + "rpc": [ + "https://vilinius.zenithchain.co/http" + ], + "faucets": ["https://faucet.zenithchain.co/"], + "nativeCurrency": { + "name": "test ZENITH", + "symbol": "tZENITH", + "decimals": 18 + }, + "infoURL": "https://www.zenithchain.co/", + "chainId": 81, + "networkId": 81, + "shortName": "tzenith", + "explorers": [{ + "name": "villinius zenith scan", + "url": "https://vilinius.scan.zenithchain.co", + "standard": "EIP3091" + }] + } + \ No newline at end of file From 5468f0a94ff0127a8e52c4c84a9e91733fadb536 Mon Sep 17 00:00:00 2001 From: lucas Date: Fri, 8 Apr 2022 21:45:23 +0800 Subject: [PATCH 13/20] support https (#368) * replace https with http * update ONG decimal * add https --- _data/chains/eip155-58.json | 26 ++++++++++++++++---------- _data/chains/eip155-5851.json | 14 +++++++++----- 2 files changed, 25 insertions(+), 15 deletions(-) diff --git a/_data/chains/eip155-58.json b/_data/chains/eip155-58.json index abfaabef..fc081b15 100644 --- a/_data/chains/eip155-58.json +++ b/_data/chains/eip155-58.json @@ -2,25 +2,31 @@ "name": "Ontology Mainnet", "chain": "Ontology", "rpc": [ - "https://dappnode1.ont.io:20339", - "https://dappnode2.ont.io:20339", - "https://dappnode3.ont.io:20339", - "https://dappnode4.ont.io:20339" + "http://dappnode1.ont.io:20339", + "http://dappnode2.ont.io:20339", + "http://dappnode3.ont.io:20339", + "http://dappnode4.ont.io:20339", + "https://dappnode1.ont.io:10339", + "https://dappnode2.ont.io:10339", + "https://dappnode3.ont.io:10339", + "https://dappnode4.ont.io:10339" ], "faucets": [ ], "nativeCurrency": { "name": "ONG", "symbol": "ONG", - "decimals": 9 + "decimals": 18 }, "infoURL": "https://ont.io/", "shortName": "Ontology Mainnet", "chainId": 58, "networkId": 58, - "explorers": [{ - "name": "explorer", - "url": "https://explorer.ont.io", - "standard": "EIP3091" - }] + "explorers": [ + { + "name": "explorer", + "url": "https://explorer.ont.io", + "standard": "EIP3091" + } + ] } diff --git a/_data/chains/eip155-5851.json b/_data/chains/eip155-5851.json index 5ebaa18c..a5611eba 100644 --- a/_data/chains/eip155-5851.json +++ b/_data/chains/eip155-5851.json @@ -2,10 +2,14 @@ "name": "Ontology Testnet", "chain": "Ontology", "rpc": [ - "https://polaris1.ont.io:20339", - "https://polaris2.ont.io:20339", - "https://polaris3.ont.io:20339", - "https://polaris4.ont.io:20339" + "http://polaris1.ont.io:20339", + "http://polaris2.ont.io:20339", + "http://polaris3.ont.io:20339", + "http://polaris4.ont.io:20339", + "https://polaris1.ont.io:10339", + "https://polaris2.ont.io:10339", + "https://polaris3.ont.io:10339", + "https://polaris4.ont.io:10339" ], "faucets": [ "https://developer.ont.io/" @@ -13,7 +17,7 @@ "nativeCurrency": { "name": "ONG", "symbol": "ONG", - "decimals": 9 + "decimals": 18 }, "infoURL": "https://ont.io/", "shortName": "Ontology Testnet", From aa94f8af77593fc6cd248ff3bff3d23797efe4fc Mon Sep 17 00:00:00 2001 From: Joe Schmoe <64335177+jolube@users.noreply.github.com> Date: Sun, 10 Apr 2022 15:21:46 +0200 Subject: [PATCH 14/20] Update eip155-9000.json (evmos) (#1065) * Update eip155-9000.json * Update eip155-9000.json --- _data/chains/eip155-9000.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_data/chains/eip155-9000.json b/_data/chains/eip155-9000.json index dfc5cb85..4e9e3cca 100644 --- a/_data/chains/eip155-9000.json +++ b/_data/chains/eip155-9000.json @@ -1,7 +1,7 @@ { "name": "Evmos Testnet", "chain": "Evmos", - "rpc": ["https://evmos-archive-testnet.api.bdnodes.net:8545"], + "rpc": ["https://eth.bd.evmos.dev:8545"], "faucets": ["https://faucet.evmos.dev"], "nativeCurrency": { "name": "test-Evmos", @@ -15,9 +15,9 @@ "icon": "evmos", "explorers": [ { - "name": "Evmos EVM Explorer (Blockscout)", + "name": "Evmos EVM Explorer", "url": "https://evm.evmos.dev", - "standard": "none", + "standard": "EIP3091", "icon": "evmos" }, { From e6b7fca2107d2f0f691634620e1e73c996439b4a Mon Sep 17 00:00:00 2001 From: Joe Schmoe <64335177+jolube@users.noreply.github.com> Date: Sun, 10 Apr 2022 16:34:00 +0200 Subject: [PATCH 15/20] Update evmos icon (#1064) * Update evmos icon * update hash to non-directory --- _data/icons/evmos.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_data/icons/evmos.json b/_data/icons/evmos.json index 88a52748..f33dbfef 100644 --- a/_data/icons/evmos.json +++ b/_data/icons/evmos.json @@ -1,8 +1,8 @@ [ { - "url": "ipfs://Qmc4nHKSTgRwhpc5gpUnd7cQb7ooUgkcMxSbJcDAjJqx6T", - "width": 1000, - "height": 620, - "format": "svg" + "url": "ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c", + "width": 400, + "height": 400, + "format": "png" } -] \ No newline at end of file +] From 74e34a8feb2edb1e292d0f6b9d9ee1478d508d0e Mon Sep 17 00:00:00 2001 From: ammar-lakho <101721280+ammar-lakho@users.noreply.github.com> Date: Mon, 11 Apr 2022 11:05:53 +0500 Subject: [PATCH 16/20] Fix length error for symbol (#1067) * added zenith mainnet and testnet networks * Update _data/chains/eip155-79.json * Update _data/chains/eip155-81.json * added shortName * rename testnet symbol to length<6 Co-authored-by: ligi --- _data/chains/eip155-79.json | 2 +- _data/chains/eip155-81.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_data/chains/eip155-79.json b/_data/chains/eip155-79.json index 042638e3..d2e5f343 100644 --- a/_data/chains/eip155-79.json +++ b/_data/chains/eip155-79.json @@ -1,6 +1,6 @@ { "name": "Zenith Mainnet", - "chain": "Zenith Mainnet", + "chain": "Zenith", "rpc": [ "https://dataserver-1.zenithchain.co/", "https://dataserver-us-1.zenithchain.co/" diff --git a/_data/chains/eip155-81.json b/_data/chains/eip155-81.json index 1e76ea3c..ad8537fb 100644 --- a/_data/chains/eip155-81.json +++ b/_data/chains/eip155-81.json @@ -1,19 +1,19 @@ { - "name": "Zenith Testnet", - "chain": "Zenith Testnet", + "name": "Villinius", + "chain": "Zenith", "rpc": [ "https://vilinius.zenithchain.co/http" ], "faucets": ["https://faucet.zenithchain.co/"], "nativeCurrency": { - "name": "test ZENITH", - "symbol": "tZENITH", + "name": "Villinius", + "symbol": "VIL", "decimals": 18 }, "infoURL": "https://www.zenithchain.co/", "chainId": 81, "networkId": 81, - "shortName": "tzenith", + "shortName": "VIL", "explorers": [{ "name": "villinius zenith scan", "url": "https://vilinius.scan.zenithchain.co", From d871ec4c27cb336e62890da77e2a119199babdeb Mon Sep 17 00:00:00 2001 From: ligi Date: Mon, 11 Apr 2022 11:39:10 +0200 Subject: [PATCH 17/20] Use Kotlin 1.6.20 and ksp 1.0.5 --- build.gradle | 2 +- model/build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 733d6a10..9328f8a0 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ buildscript { ext { - KOTLIN_VERSION = "1.6.10" + KOTLIN_VERSION = "1.6.20" KETHEREUM_VERSION = "0.85.7" } diff --git a/model/build.gradle.kts b/model/build.gradle.kts index e6b83b76..23f0e50a 100644 --- a/model/build.gradle.kts +++ b/model/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - id("com.google.devtools.ksp").version("1.6.10-1.0.2") + id("com.google.devtools.ksp").version("1.6.20-1.0.5") id("maven-publish") } From 4263a05521c79b8007b1b61c3b945de6605a9a9e Mon Sep 17 00:00:00 2001 From: ligi Date: Mon, 11 Apr 2022 13:41:44 +0200 Subject: [PATCH 18/20] Use gradle 7.4.2 --- gradle/wrapper/gradle-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d7e66b5c..92f06b50 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists From f4fbdbefb5b937efea726e3fd702c17e04a53ca2 Mon Sep 17 00:00:00 2001 From: ligi Date: Mon, 11 Apr 2022 14:15:52 +0200 Subject: [PATCH 19/20] Improve symbol checks and shorten symbols to <7 chars closes #1069 --- _data/chains/eip155-16001.json | 2 +- _data/chains/eip155-200101.json | 4 ++-- _data/chains/eip155-385.json | 4 ++-- .../kotlin/org/ethereum/lists/chains/Main.kt | 23 +++++++++++++++++++ .../ethereum/lists/chains/model/Exceptions.kt | 8 ++++++- 5 files changed, 35 insertions(+), 6 deletions(-) diff --git a/_data/chains/eip155-16001.json b/_data/chains/eip155-16001.json index 9727cebc..64d0a66a 100644 --- a/_data/chains/eip155-16001.json +++ b/_data/chains/eip155-16001.json @@ -9,7 +9,7 @@ ], "nativeCurrency": { "name": "MetaDot Token TestNet", - "symbol": "MTT-test", + "symbol": "MTTest", "decimals": 18 }, "infoURL": "https://metadot.network", diff --git a/_data/chains/eip155-200101.json b/_data/chains/eip155-200101.json index 0e5dee2d..00395c65 100644 --- a/_data/chains/eip155-200101.json +++ b/_data/chains/eip155-200101.json @@ -10,7 +10,7 @@ "faucets": [], "nativeCurrency": { "name": "milkTAda", - "symbol": "milkTAda", + "symbol": "mTAda", "decimals": 18 }, "infoURL": "https://milkomeda.com", @@ -24,4 +24,4 @@ "standard": "none" } ] -} \ No newline at end of file +} diff --git a/_data/chains/eip155-385.json b/_data/chains/eip155-385.json index afb79bac..30c74158 100644 --- a/_data/chains/eip155-385.json +++ b/_data/chains/eip155-385.json @@ -9,11 +9,11 @@ ], "nativeCurrency": { "name": "Lisinski Ether", - "symbol": "LISINSKI", + "symbol": "LISINS", "decimals": 18 }, "infoURL": "https://lisinski.online", "shortName": "lisinski", "chainId": 385, "networkId": 385 -} \ 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 ace5915c..786f9352 100644 --- a/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt +++ b/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt @@ -171,6 +171,29 @@ fun checkChain(chainFile: File, connectRPC: Boolean) { } } + jsonObject["nativeCurrency"]?.let { + if (it !is JsonObject) { + throw NativeCurrencyMustBeObject() + } + val symbol = it["symbol"] + if (symbol !is String) { + throw NativeCurrencySymbolMustBeString() + } + + if (symbol.length >= 7) { + throw NativeCurrencySymbolMustHaveLessThan7Chars() + } + if (it.keys != setOf("symbol","decimals","name")) { + throw NativeCurrencyCanOnlyHaveSymbolNameAndDecimals() + } + if (it["decimals"] !is Int) { + throw NativeCurrencyDecimalMustBeInt() + } + if (it["name"] !is String) { + throw NativeCurrencyNameMustBeString() + } + } + jsonObject["explorers"]?.let { if (it !is JsonArray<*>) { throw (ExplorersMustBeArray()) 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 522e9eb2..f02e62da 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 @@ -26,4 +26,10 @@ class ParentBridgeNoArray: Exception("parent bridge must be array") class BridgeNoObject: Exception("parent bridges must be array consisting of json objects") class BridgeOnlyURL: Exception("parent bridge only contain an URL") class ParentChainDoesNotExist(chain: String): Exception("Referenced parent chain ($chain) does not exist") -class DeprecatedMustBeBoolean: Exception("deprecated must be boolean") \ No newline at end of file +class DeprecatedMustBeBoolean: Exception("deprecated must be boolean") +class NativeCurrencyMustBeObject: Exception("Native currency must be object") +class NativeCurrencySymbolMustBeString: Exception("Native currency symbol must be string") +class NativeCurrencySymbolMustHaveLessThan7Chars: Exception("Native currency symbol must have less than 7 chars") +class NativeCurrencyCanOnlyHaveSymbolNameAndDecimals: Exception("Native currency can only have symbol decimals and name") +class NativeCurrencyDecimalMustBeInt: Exception("Native currency decimals must be int") +class NativeCurrencyNameMustBeString: Exception("Native currency name must be string") \ No newline at end of file From a17a6a30b427a254af29440e0abf314954f2371e Mon Sep 17 00:00:00 2001 From: Alvin Date: Mon, 11 Apr 2022 21:14:14 +0800 Subject: [PATCH 20/20] add a new chain (#1059) * add a new chain * update chainid * change rpc url --- _data/chains/eip155-700.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 _data/chains/eip155-700.json diff --git a/_data/chains/eip155-700.json b/_data/chains/eip155-700.json new file mode 100644 index 00000000..bddac1cc --- /dev/null +++ b/_data/chains/eip155-700.json @@ -0,0 +1,23 @@ +{ + "name": "Star Social Testnet", + "chain": "SNS", + "rpc": [ + "https://avastar.cc/ext/bc/C/rpc" + ], + "faucets": [ + ], + "nativeCurrency": { + "name": "Social", + "symbol": "SNS", + "decimals": 18 + }, + "infoURL": "https://info.avastar.cc", + "shortName": "SNS", + "chainId": 700, + "networkId": 700, + "explorers": [{ + "name": "starscan", + "url": "https://avastar.info", + "standard": "EIP3091" + }] + } \ No newline at end of file