From 0a4549f86c1c9107e1ff9c6b953e15710d0febfe Mon Sep 17 00:00:00 2001 From: Boris Mann Date: Wed, 10 Apr 2019 22:37:43 -0700 Subject: [PATCH 1/2] Moved all chains to individual json, updated loops --- _data/chains.json | 290 ------------------------------- _data/chains/akaroma.json | 8 + _data/chains/artissigma1.json | 8 + _data/chains/artistau1.json | 8 + _data/chains/atheios.json | 8 + _data/chains/callisto.json | 8 + _data/chains/callistotest.json | 8 + _data/chains/ellaism.json | 8 + _data/chains/eosclassic.json | 8 + _data/chains/ethclassic.json | 8 + _data/chains/ethclassictest.json | 8 + _data/chains/ether1.json | 8 + _data/chains/ethereum.json | 8 + _data/chains/ethergem.json | 8 + _data/chains/etherinc.json | 8 + _data/chains/ethersocial.json | 8 + _data/chains/ethsocial.json | 8 + _data/chains/expanse.json | 8 + _data/chains/gochain.json | 8 + _data/chains/goerli.json | 8 + _data/chains/iolite.json | 8 + _data/chains/kotti.json | 8 + _data/chains/mix.json | 8 + _data/chains/musicoin.json | 8 + _data/chains/pirl.json | 9 + _data/chains/poa.json | 8 + _data/chains/poasokol.json | 8 + _data/chains/rinkeby.json | 8 + _data/chains/rootstock.json | 8 + _data/chains/rootstocktest.json | 8 + _data/chains/ropsten.json | 8 + _data/chains/teslafunds.json | 8 + _data/chains/tomochain.json | 8 + _data/chains/ubiq.json | 8 + _data/chains/ubiqtest.json | 8 + _data/chains/webchain.json | 8 + _data/chains/xdai.json | 8 + chains.json | 11 +- chains.md | 5 +- index.md | 5 +- 40 files changed, 306 insertions(+), 294 deletions(-) delete mode 100644 _data/chains.json create mode 100644 _data/chains/akaroma.json create mode 100644 _data/chains/artissigma1.json create mode 100644 _data/chains/artistau1.json create mode 100644 _data/chains/atheios.json create mode 100644 _data/chains/callisto.json create mode 100644 _data/chains/callistotest.json create mode 100644 _data/chains/ellaism.json create mode 100644 _data/chains/eosclassic.json create mode 100644 _data/chains/ethclassic.json create mode 100644 _data/chains/ethclassictest.json create mode 100644 _data/chains/ether1.json create mode 100644 _data/chains/ethereum.json create mode 100644 _data/chains/ethergem.json create mode 100644 _data/chains/etherinc.json create mode 100644 _data/chains/ethersocial.json create mode 100644 _data/chains/ethsocial.json create mode 100644 _data/chains/expanse.json create mode 100644 _data/chains/gochain.json create mode 100644 _data/chains/goerli.json create mode 100644 _data/chains/iolite.json create mode 100644 _data/chains/kotti.json create mode 100644 _data/chains/mix.json create mode 100644 _data/chains/musicoin.json create mode 100644 _data/chains/pirl.json create mode 100644 _data/chains/poa.json create mode 100644 _data/chains/poasokol.json create mode 100644 _data/chains/rinkeby.json create mode 100644 _data/chains/rootstock.json create mode 100644 _data/chains/rootstocktest.json create mode 100644 _data/chains/ropsten.json create mode 100644 _data/chains/teslafunds.json create mode 100644 _data/chains/tomochain.json create mode 100644 _data/chains/ubiq.json create mode 100644 _data/chains/ubiqtest.json create mode 100644 _data/chains/webchain.json create mode 100644 _data/chains/xdai.json diff --git a/_data/chains.json b/_data/chains.json deleted file mode 100644 index 82a687d3..00000000 --- a/_data/chains.json +++ /dev/null @@ -1,290 +0,0 @@ -[ - { - "name": "Ethereum Mainnet", - "short_name": "eth", - "chain": "ETH", - "network": "mainnet", - "chain_id": 1, - "network_id": 1 - }, - { - "name": "Expanse Network", - "short_name": "exp", - "chain": "EXP", - "network": "mainnet", - "chain_id": 2, - "network_id": 1 - }, - { - "name": "Ethereum Testnet Ropsten", - "short_name": "rop", - "chain": "ETH", - "network": "ropsten", - "chain_id": 3, - "network_id": 3 - }, - { - "name": "Ethereum Testnet Rinkeby", - "short_name": "rin", - "chain": "ETH", - "network": "rinkeby", - "chain_id": 4, - "network_id": 4 - }, - { - "name": "Ethereum Testnet Görli", - "short_name": "gor", - "chain": "ETH", - "network": "goerli", - "chain_id": 5, - "network_id": 5 - }, - { - "name": "Ethereum Classic Testnet Kotti", - "short_name": "kot", - "chain": "ETC", - "network": "kotti", - "chain_id": 6, - "network_id": 6 - }, - { - "name": "Ubiq Network Mainnet", - "short_name": "ubq", - "chain": "UBQ", - "network": "mainnet", - "chain_id": 8, - "network_id": 1 - }, - { - "name": "Ubiq Network Testnet", - "short_name": "tubq", - "chain": "UBQ", - "network": "mainnet", - "chain_id": 9, - "network_id": 2 - }, - { - "name": "Ethereum Social", - "short_name": "etsc", - "chain": "ETSC", - "network": "mainnet", - "chain_id": 28, - "network_id": 1 - }, - { - "name": "Rootstock Mainnet", - "short_name": "rsk", - "chain": "RSK", - "network": "mainnet", - "chain_id": 30, - "network_id": 1 - }, - { - "name": "Rootstock Testnet", - "short_name": "trsk", - "chain": "RSK", - "network": "testnet", - "chain_id": 30, - "network_id": 2 - }, - { - "name": "GoChain", - "short_name": "go", - "chain": "GO", - "network": "mainnet", - "chain_id": 60, - "network_id": 60 - }, - { - "name": "Ethereum Classic Mainnet", - "short_name": "etc", - "chain": "ETC", - "network": "mainnet", - "chain_id": 61, - "network_id": 1 - }, - { - "name": "Ethereum Classic Testnet", - "short_name": "tetc", - "chain": "ETC", - "network": "testnet", - "chain_id": 62, - "network_id": 2 - }, - { - "name": "Ellaism", - "short_name": "ella", - "chain": "ELLA", - "network": "mainnet", - "chain_id": 64, - "network_id": 64 - }, - { - "name": "Mix", - "short_name": "mix", - "chain": "MIX", - "network": "mainnet", - "chain_id": 76, - "network_id": 76 - }, - { - "name": "POA Network Sokol", - "short_name": "poa", - "chain": "POA", - "network": "sokol", - "chain_id": 77, - "network_id": 1 - }, - { - "name": "POA Network Core", - "short_name": "skl", - "chain": "POA", - "network": "core", - "chain_id": 99, - "network_id": 2 - }, - { - "name": "xDAI Chain", - "short_name": "dai", - "chain": "DAI", - "network": "mainnet", - "chain_id": 100, - "network_id": 1 - }, - { - "name": "Callisto Mainnet", - "short_name": "clo", - "chain": "CLO", - "network": "mainnet", - "chain_id": 820, - "network_id": 1 - }, - { - "name": "Callisto Testnet", - "short_name": "tclo", - "chain": "CLO", - "network": "testnet", - "chain_id": 821, - "network_id": 2 - }, - { - "name": "Atheios", - "short_name": "ath", - "chain": "ATH", - "network": "mainnet", - "chain_id": 1620, - "network_id": 11235813 - }, - { - "name": "EtherGem", - "short_name": "egem", - "chain": "EGEM", - "network": "mainnet", - "chain_id": 1987, - "network_id": 1987 - }, - { - "name": "EOS Classic", - "short_name": "eosc", - "chain": "EOSC", - "network": "mainnet", - "chain_id": 2018, - "network_id": 1 - }, - { - "name": "ARTIS sigma1", - "short_name": "ats", - "chain": "ARTIS", - "network": "sigma1", - "chain_id": 246529, - "network_id": 246529 - }, - { - "name": "ARTIS tau1", - "short_name": "ats", - "chain": "ARTIS", - "network": "tau1", - "chain_id": 246785, - "network_id": 246785 - }, - { - "name": "TomoChain", - "short_name": "tomo", - "chain": "TOMO", - "network": "mainnet", - "chain_id": 88, - "network_id": 88 - }, - { - "name": "Webchain", - "short_name": "web", - "chain": "WEB", - "network": "mainnet", - "chain_id": 101, - "network_id": 37129 - }, - { - "name": "EtherInc", - "short_name": "web", - "chain": "WEB", - "network": "mainnet", - "chain_id": 101, - "network_id": 1 - }, - { - "name": "Ethersocial Network", - "short_name": "esn", - "chain": "ESN", - "network": "mainnet", - "chain_id": 31102, - "network_id": 1 - }, - { - "name": "Akaroma", - "short_name": "aka", - "chain": "AKA", - "network": "mainnet", - "chain_id": 200625, - "network_id": 200625 - }, - { - "name": "Ether-1", - "short_name": "etho", - "chain": "ETHO", - "network": "mainnet", - "chain_id": 1313114, - "network_id": 1313114 - }, - { - "name": "Musicoin", - "short_name": "music", - "chain": "MUSIC", - "network": "mainnet", - "chain_id": 7762959, - "network_id": 7762959 - }, - { - "name": "IOLite", - "short_name": "ilt", - "chain": "ILT", - "network": "mainnet", - "chain_id": 18289463, - "network_id": 18289463 - }, - { - "name": "Pirl", - "short_name": "pirl", - "chain": "PIRL", - "network": "mainnet", - "chain_id": 3125659152, - "network_id": 3125659152 - }, - { - "name": "Teslafunds", - "short_name": "tsf", - "chain": "TSF", - "network": "mainnet", - "chain_id": 1856, - "network_id": 1856 - } -] diff --git a/_data/chains/akaroma.json b/_data/chains/akaroma.json new file mode 100644 index 00000000..c5a100d0 --- /dev/null +++ b/_data/chains/akaroma.json @@ -0,0 +1,8 @@ + { + "name": "Akaroma", + "short_name": "aka", + "chain": "AKA", + "network": "mainnet", + "chain_id": 200625, + "network_id": 200625 + } \ No newline at end of file diff --git a/_data/chains/artissigma1.json b/_data/chains/artissigma1.json new file mode 100644 index 00000000..eabb1ce4 --- /dev/null +++ b/_data/chains/artissigma1.json @@ -0,0 +1,8 @@ + { + "name": "ARTIS sigma1", + "short_name": "ats", + "chain": "ARTIS", + "network": "sigma1", + "chain_id": 246529, + "network_id": 246529 + } \ No newline at end of file diff --git a/_data/chains/artistau1.json b/_data/chains/artistau1.json new file mode 100644 index 00000000..53fecd11 --- /dev/null +++ b/_data/chains/artistau1.json @@ -0,0 +1,8 @@ + { + "name": "ARTIS tau1", + "short_name": "ats", + "chain": "ARTIS", + "network": "tau1", + "chain_id": 246785, + "network_id": 246785 + } \ No newline at end of file diff --git a/_data/chains/atheios.json b/_data/chains/atheios.json new file mode 100644 index 00000000..cc4e2bcb --- /dev/null +++ b/_data/chains/atheios.json @@ -0,0 +1,8 @@ + { + "name": "Atheios", + "short_name": "ath", + "chain": "ATH", + "network": "mainnet", + "chain_id": 1620, + "network_id": 11235813 + } \ No newline at end of file diff --git a/_data/chains/callisto.json b/_data/chains/callisto.json new file mode 100644 index 00000000..d47275e1 --- /dev/null +++ b/_data/chains/callisto.json @@ -0,0 +1,8 @@ + { + "name": "Callisto Mainnet", + "short_name": "clo", + "chain": "CLO", + "network": "mainnet", + "chain_id": 820, + "network_id": 1 + } \ No newline at end of file diff --git a/_data/chains/callistotest.json b/_data/chains/callistotest.json new file mode 100644 index 00000000..fd4141b6 --- /dev/null +++ b/_data/chains/callistotest.json @@ -0,0 +1,8 @@ + { + "name": "Callisto Testnet", + "short_name": "tclo", + "chain": "CLO", + "network": "testnet", + "chain_id": 821, + "network_id": 2 + } \ No newline at end of file diff --git a/_data/chains/ellaism.json b/_data/chains/ellaism.json new file mode 100644 index 00000000..2c46949b --- /dev/null +++ b/_data/chains/ellaism.json @@ -0,0 +1,8 @@ + { + "name": "Ellaism", + "short_name": "ella", + "chain": "ELLA", + "network": "mainnet", + "chain_id": 64, + "network_id": 64 + } \ No newline at end of file diff --git a/_data/chains/eosclassic.json b/_data/chains/eosclassic.json new file mode 100644 index 00000000..298d99f2 --- /dev/null +++ b/_data/chains/eosclassic.json @@ -0,0 +1,8 @@ + { + "name": "EOS Classic", + "short_name": "eosc", + "chain": "EOSC", + "network": "mainnet", + "chain_id": 2018, + "network_id": 1 + } \ No newline at end of file diff --git a/_data/chains/ethclassic.json b/_data/chains/ethclassic.json new file mode 100644 index 00000000..0b549850 --- /dev/null +++ b/_data/chains/ethclassic.json @@ -0,0 +1,8 @@ + { + "name": "Ethereum Classic Mainnet", + "short_name": "etc", + "chain": "ETC", + "network": "mainnet", + "chain_id": 61, + "network_id": 1 + } \ No newline at end of file diff --git a/_data/chains/ethclassictest.json b/_data/chains/ethclassictest.json new file mode 100644 index 00000000..adaa6bb1 --- /dev/null +++ b/_data/chains/ethclassictest.json @@ -0,0 +1,8 @@ + { + "name": "Ethereum Classic Testnet", + "short_name": "tetc", + "chain": "ETC", + "network": "testnet", + "chain_id": 62, + "network_id": 2 + } \ No newline at end of file diff --git a/_data/chains/ether1.json b/_data/chains/ether1.json new file mode 100644 index 00000000..1fc73864 --- /dev/null +++ b/_data/chains/ether1.json @@ -0,0 +1,8 @@ + { + "name": "Ether-1", + "short_name": "etho", + "chain": "ETHO", + "network": "mainnet", + "chain_id": 1313114, + "network_id": 1313114 + } \ No newline at end of file diff --git a/_data/chains/ethereum.json b/_data/chains/ethereum.json new file mode 100644 index 00000000..85340ebc --- /dev/null +++ b/_data/chains/ethereum.json @@ -0,0 +1,8 @@ +{ + "name": "Ethereum Mainnet", + "short_name": "eth", + "chain": "ETH", + "network": "mainnet", + "chain_id": 1, + "network_id": 1 +} \ No newline at end of file diff --git a/_data/chains/ethergem.json b/_data/chains/ethergem.json new file mode 100644 index 00000000..dd80dffa --- /dev/null +++ b/_data/chains/ethergem.json @@ -0,0 +1,8 @@ + { + "name": "EtherGem", + "short_name": "egem", + "chain": "EGEM", + "network": "mainnet", + "chain_id": 1987, + "network_id": 1987 + } \ No newline at end of file diff --git a/_data/chains/etherinc.json b/_data/chains/etherinc.json new file mode 100644 index 00000000..6f8396d9 --- /dev/null +++ b/_data/chains/etherinc.json @@ -0,0 +1,8 @@ + { + "name": "EtherInc", + "short_name": "web", + "chain": "WEB", + "network": "mainnet", + "chain_id": 101, + "network_id": 1 + } \ No newline at end of file diff --git a/_data/chains/ethersocial.json b/_data/chains/ethersocial.json new file mode 100644 index 00000000..eb8f8ad7 --- /dev/null +++ b/_data/chains/ethersocial.json @@ -0,0 +1,8 @@ + { + "name": "Ethersocial Network", + "short_name": "esn", + "chain": "ESN", + "network": "mainnet", + "chain_id": 31102, + "network_id": 1 + } \ No newline at end of file diff --git a/_data/chains/ethsocial.json b/_data/chains/ethsocial.json new file mode 100644 index 00000000..264bdc0a --- /dev/null +++ b/_data/chains/ethsocial.json @@ -0,0 +1,8 @@ + { + "name": "Ethereum Social", + "short_name": "etsc", + "chain": "ETSC", + "network": "mainnet", + "chain_id": 28, + "network_id": 1 + } \ No newline at end of file diff --git a/_data/chains/expanse.json b/_data/chains/expanse.json new file mode 100644 index 00000000..83ea30a8 --- /dev/null +++ b/_data/chains/expanse.json @@ -0,0 +1,8 @@ + { + "name": "Expanse Network", + "short_name": "exp", + "chain": "EXP", + "network": "mainnet", + "chain_id": 2, + "network_id": 1 + } \ No newline at end of file diff --git a/_data/chains/gochain.json b/_data/chains/gochain.json new file mode 100644 index 00000000..91a26810 --- /dev/null +++ b/_data/chains/gochain.json @@ -0,0 +1,8 @@ + { + "name": "GoChain", + "short_name": "go", + "chain": "GO", + "network": "mainnet", + "chain_id": 60, + "network_id": 60 + } \ No newline at end of file diff --git a/_data/chains/goerli.json b/_data/chains/goerli.json new file mode 100644 index 00000000..b6288882 --- /dev/null +++ b/_data/chains/goerli.json @@ -0,0 +1,8 @@ + { + "name": "Ethereum Testnet Görli", + "short_name": "gor", + "chain": "ETH", + "network": "goerli", + "chain_id": 5, + "network_id": 5 + } \ No newline at end of file diff --git a/_data/chains/iolite.json b/_data/chains/iolite.json new file mode 100644 index 00000000..51cd5721 --- /dev/null +++ b/_data/chains/iolite.json @@ -0,0 +1,8 @@ + { + "name": "IOLite", + "short_name": "ilt", + "chain": "ILT", + "network": "mainnet", + "chain_id": 18289463, + "network_id": 18289463 + } \ No newline at end of file diff --git a/_data/chains/kotti.json b/_data/chains/kotti.json new file mode 100644 index 00000000..f8062668 --- /dev/null +++ b/_data/chains/kotti.json @@ -0,0 +1,8 @@ + { + "name": "Ethereum Classic Testnet Kotti", + "short_name": "kot", + "chain": "ETC", + "network": "kotti", + "chain_id": 6, + "network_id": 6 + } \ No newline at end of file diff --git a/_data/chains/mix.json b/_data/chains/mix.json new file mode 100644 index 00000000..8ed9ad2c --- /dev/null +++ b/_data/chains/mix.json @@ -0,0 +1,8 @@ + { + "name": "Mix", + "short_name": "mix", + "chain": "MIX", + "network": "mainnet", + "chain_id": 76, + "network_id": 76 + } \ No newline at end of file diff --git a/_data/chains/musicoin.json b/_data/chains/musicoin.json new file mode 100644 index 00000000..63d33826 --- /dev/null +++ b/_data/chains/musicoin.json @@ -0,0 +1,8 @@ + { + "name": "Musicoin", + "short_name": "music", + "chain": "MUSIC", + "network": "mainnet", + "chain_id": 7762959, + "network_id": 7762959 + } \ No newline at end of file diff --git a/_data/chains/pirl.json b/_data/chains/pirl.json new file mode 100644 index 00000000..c61e879f --- /dev/null +++ b/_data/chains/pirl.json @@ -0,0 +1,9 @@ + { + "name": "Pirl", + "short_name": "pirl", + "chain": "PIRL", + "network": "mainnet", + "chain_id": 3125659152, + "network_id": 3125659152 + } + \ No newline at end of file diff --git a/_data/chains/poa.json b/_data/chains/poa.json new file mode 100644 index 00000000..5fa6d36f --- /dev/null +++ b/_data/chains/poa.json @@ -0,0 +1,8 @@ + { + "name": "POA Network Core", + "short_name": "skl", + "chain": "POA", + "network": "core", + "chain_id": 99, + "network_id": 2 + } \ No newline at end of file diff --git a/_data/chains/poasokol.json b/_data/chains/poasokol.json new file mode 100644 index 00000000..e1077e8e --- /dev/null +++ b/_data/chains/poasokol.json @@ -0,0 +1,8 @@ + { + "name": "POA Network Sokol", + "short_name": "poa", + "chain": "POA", + "network": "sokol", + "chain_id": 77, + "network_id": 1 + } \ No newline at end of file diff --git a/_data/chains/rinkeby.json b/_data/chains/rinkeby.json new file mode 100644 index 00000000..e32fcef4 --- /dev/null +++ b/_data/chains/rinkeby.json @@ -0,0 +1,8 @@ + { + "name": "Ethereum Testnet Rinkeby", + "short_name": "rin", + "chain": "ETH", + "network": "rinkeby", + "chain_id": 4, + "network_id": 4 + } \ No newline at end of file diff --git a/_data/chains/rootstock.json b/_data/chains/rootstock.json new file mode 100644 index 00000000..26d3f80a --- /dev/null +++ b/_data/chains/rootstock.json @@ -0,0 +1,8 @@ + { + "name": "Rootstock Mainnet", + "short_name": "rsk", + "chain": "RSK", + "network": "mainnet", + "chain_id": 30, + "network_id": 1 + } \ No newline at end of file diff --git a/_data/chains/rootstocktest.json b/_data/chains/rootstocktest.json new file mode 100644 index 00000000..d393ea57 --- /dev/null +++ b/_data/chains/rootstocktest.json @@ -0,0 +1,8 @@ + { + "name": "Rootstock Testnet", + "short_name": "trsk", + "chain": "RSK", + "network": "testnet", + "chain_id": 30, + "network_id": 2 + } \ No newline at end of file diff --git a/_data/chains/ropsten.json b/_data/chains/ropsten.json new file mode 100644 index 00000000..abd9361d --- /dev/null +++ b/_data/chains/ropsten.json @@ -0,0 +1,8 @@ +{ + "name": "Ethereum Testnet Ropsten", + "short_name": "rop", + "chain": "ETH", + "network": "ropsten", + "chain_id": 3, + "network_id": 3 + } \ No newline at end of file diff --git a/_data/chains/teslafunds.json b/_data/chains/teslafunds.json new file mode 100644 index 00000000..111f7c89 --- /dev/null +++ b/_data/chains/teslafunds.json @@ -0,0 +1,8 @@ + { + "name": "Teslafunds", + "short_name": "tsf", + "chain": "TSF", + "network": "mainnet", + "chain_id": 1856, + "network_id": 1856 + } \ No newline at end of file diff --git a/_data/chains/tomochain.json b/_data/chains/tomochain.json new file mode 100644 index 00000000..3d72fc42 --- /dev/null +++ b/_data/chains/tomochain.json @@ -0,0 +1,8 @@ + { + "name": "TomoChain", + "short_name": "tomo", + "chain": "TOMO", + "network": "mainnet", + "chain_id": 88, + "network_id": 88 + } \ No newline at end of file diff --git a/_data/chains/ubiq.json b/_data/chains/ubiq.json new file mode 100644 index 00000000..e8468002 --- /dev/null +++ b/_data/chains/ubiq.json @@ -0,0 +1,8 @@ +{ + "name": "Ubiq Network Mainnet", + "short_name": "ubq", + "chain": "UBQ", + "network": "mainnet", + "chain_id": 8, + "network_id": 1 + } \ No newline at end of file diff --git a/_data/chains/ubiqtest.json b/_data/chains/ubiqtest.json new file mode 100644 index 00000000..023de96f --- /dev/null +++ b/_data/chains/ubiqtest.json @@ -0,0 +1,8 @@ + { + "name": "Ubiq Network Testnet", + "short_name": "tubq", + "chain": "UBQ", + "network": "mainnet", + "chain_id": 9, + "network_id": 2 + } \ No newline at end of file diff --git a/_data/chains/webchain.json b/_data/chains/webchain.json new file mode 100644 index 00000000..706e783a --- /dev/null +++ b/_data/chains/webchain.json @@ -0,0 +1,8 @@ + { + "name": "Webchain", + "short_name": "web", + "chain": "WEB", + "network": "mainnet", + "chain_id": 101, + "network_id": 37129 + } \ No newline at end of file diff --git a/_data/chains/xdai.json b/_data/chains/xdai.json new file mode 100644 index 00000000..d28d227f --- /dev/null +++ b/_data/chains/xdai.json @@ -0,0 +1,8 @@ + { + "name": "xDAI Chain", + "short_name": "dai", + "chain": "DAI", + "network": "mainnet", + "chain_id": 100, + "network_id": 1 + } \ No newline at end of file diff --git a/chains.json b/chains.json index 757b1104..c6db6458 100644 --- a/chains.json +++ b/chains.json @@ -2,4 +2,13 @@ layout: none permalink: chains.json --- -{% include_relative _data/chains.json %} +[{% for json in site.data.chains %}{% assign chain = json[1] %} + { + "name": "{{ chain.name }}", + "chain_id": "{{ chain.chain_id }}", + "short_name": "{{ chain.short_name }}", + "chain": "{{ chain.chain }}", + "network": "{{ chain.network }}", + "network_id": "{{ chain.network_id }}" + }{% unless forloop.last %},{% endunless %}{% endfor %} +] \ No newline at end of file diff --git a/chains.md b/chains.md index 0e127a14..1cb9b5ac 100644 --- a/chains.md +++ b/chains.md @@ -7,7 +7,9 @@ nav_order: 10 List of chains in block format. You can link directly to each section using the header name: -{% for chain in site.data.chains %} +{% for json in site.data.chains %} + +{% assign chain = json[1] %} {% assign chainlink = chain.name | downcase | replace: " ", "-" | append: "-" | append: chain.short_name | append: "-" | append: chain.network_id %}

{{ chain.name }} ({{ chain.short_name }})

@@ -17,6 +19,7 @@ List of chains in block format. You can link directly to each section using the
  • Chain ID: {{ chain.chain_id }}
  • Network: {{ chain.network }}
  • Network ID: {{ chain.network_id }}
  • +
  • File:
    {{ json[0] }}.json

  • {% endfor %} diff --git a/index.md b/index.md index 2653cd73..d57e4ae9 100644 --- a/index.md +++ b/index.md @@ -6,7 +6,7 @@ nav_order: 1 # EVM Networks -A list of EVM networks. +A list of EVM networks. Wallets and Web3 middleware providers should be able to use the appropriate Chain ID and Network ID to connect to the correct chain. This table is also available as a JSON feed at [chains.json](/chains.json). @@ -19,7 +19,8 @@ This table is also available as a JSON feed at [chains.json](/chains.json). Network Network ID -{% for chain in site.data.chains %} +{% for json in site.data.chains %} + {% assign chain = json[1] %} {{ chain.chain_id }} {{ chain.name }} From bed2bad54114f48ac1e6ee080f8c35e99a0861e0 Mon Sep 17 00:00:00 2001 From: Pedro Gomes Date: Wed, 24 Apr 2019 17:57:49 +0200 Subject: [PATCH 2/2] rename chain json files by chainid --- _data/chains/{ethereum.json => 1.json} | 0 _data/chains/{xdai.json => 100.json} | 0 _data/chains/{etherinc.json => 101.json} | 0 _data/chains/{thundercore.json => 108.json} | 0 _data/chains/{metadium.json => 11.json} | 0 _data/chains/{metadiumtest.json => 12.json} | 0 _data/chains/{ether1.json => 1313114.json} | 0 _data/chains/{pepchain.json => 13371337.json} | 0 _data/chains/{atheios.json => 1620.json} | 0 _data/chains/{thundercoretest.json => 18.json} | 0 _data/chains/{iolite.json => 18289463.json} | 0 _data/chains/{teslafunds.json => 1856.json} | 0 _data/chains/{ethergem.json => 1987.json} | 0 _data/chains/{expanse.json => 2.json} | 0 _data/chains/{akaroma.json => 200625.json} | 0 _data/chains/{eosclassic.json => 2018.json} | 0 _data/chains/{webchain.json => 24484.json} | 0 _data/chains/{artissigma1.json => 246529.json} | 0 _data/chains/{artistau1.json => 246785.json} | 0 _data/chains/{hpb.json => 269.json} | 0 _data/chains/{ethsocial.json => 28.json} | 0 _data/chains/{ropsten.json => 3.json} | 0 _data/chains/{rootstock.json => 30.json} | 0 _data/chains/{rootstocktest.json => 31.json} | 0 _data/chains/{ethersocial.json => 31102.json} | 0 _data/chains/{pirl.json => 3125659152.json} | 0 _data/chains/{lisinski.json => 385.json} | 0 _data/chains/{rinkeby.json => 4.json} | 0 _data/chains/{kovan.json => 42.json} | 0 _data/chains/{goerli.json => 5.json} | 0 _data/chains/{kotti.json => 6.json} | 0 _data/chains/{gochain.json => 60.json} | 0 _data/chains/{ethclassic.json => 61.json} | 0 _data/chains/{ethclassictest.json => 62.json} | 0 _data/chains/{ellaism.json => 64.json} | 0 _data/chains/{mix.json => 76.json} | 0 _data/chains/{poasokol.json => 77.json} | 0 _data/chains/{musicoin.json => 7762959.json} | 0 _data/chains/{ubiq.json => 8.json} | 0 _data/chains/{callisto.json => 820.json} | 0 _data/chains/{callistotest.json => 821.json} | 0 _data/chains/{tomochain.json => 88.json} | 0 _data/chains/{ubiqtest.json => 9.json} | 0 _data/chains/{poa.json => 99.json} | 0 44 files changed, 0 insertions(+), 0 deletions(-) rename _data/chains/{ethereum.json => 1.json} (100%) rename _data/chains/{xdai.json => 100.json} (100%) rename _data/chains/{etherinc.json => 101.json} (100%) rename _data/chains/{thundercore.json => 108.json} (100%) rename _data/chains/{metadium.json => 11.json} (100%) rename _data/chains/{metadiumtest.json => 12.json} (100%) rename _data/chains/{ether1.json => 1313114.json} (100%) rename _data/chains/{pepchain.json => 13371337.json} (100%) rename _data/chains/{atheios.json => 1620.json} (100%) rename _data/chains/{thundercoretest.json => 18.json} (100%) rename _data/chains/{iolite.json => 18289463.json} (100%) rename _data/chains/{teslafunds.json => 1856.json} (100%) rename _data/chains/{ethergem.json => 1987.json} (100%) rename _data/chains/{expanse.json => 2.json} (100%) rename _data/chains/{akaroma.json => 200625.json} (100%) rename _data/chains/{eosclassic.json => 2018.json} (100%) rename _data/chains/{webchain.json => 24484.json} (100%) rename _data/chains/{artissigma1.json => 246529.json} (100%) rename _data/chains/{artistau1.json => 246785.json} (100%) rename _data/chains/{hpb.json => 269.json} (100%) rename _data/chains/{ethsocial.json => 28.json} (100%) rename _data/chains/{ropsten.json => 3.json} (100%) rename _data/chains/{rootstock.json => 30.json} (100%) rename _data/chains/{rootstocktest.json => 31.json} (100%) rename _data/chains/{ethersocial.json => 31102.json} (100%) rename _data/chains/{pirl.json => 3125659152.json} (100%) rename _data/chains/{lisinski.json => 385.json} (100%) rename _data/chains/{rinkeby.json => 4.json} (100%) rename _data/chains/{kovan.json => 42.json} (100%) rename _data/chains/{goerli.json => 5.json} (100%) rename _data/chains/{kotti.json => 6.json} (100%) rename _data/chains/{gochain.json => 60.json} (100%) rename _data/chains/{ethclassic.json => 61.json} (100%) rename _data/chains/{ethclassictest.json => 62.json} (100%) rename _data/chains/{ellaism.json => 64.json} (100%) rename _data/chains/{mix.json => 76.json} (100%) rename _data/chains/{poasokol.json => 77.json} (100%) rename _data/chains/{musicoin.json => 7762959.json} (100%) rename _data/chains/{ubiq.json => 8.json} (100%) rename _data/chains/{callisto.json => 820.json} (100%) rename _data/chains/{callistotest.json => 821.json} (100%) rename _data/chains/{tomochain.json => 88.json} (100%) rename _data/chains/{ubiqtest.json => 9.json} (100%) rename _data/chains/{poa.json => 99.json} (100%) diff --git a/_data/chains/ethereum.json b/_data/chains/1.json similarity index 100% rename from _data/chains/ethereum.json rename to _data/chains/1.json diff --git a/_data/chains/xdai.json b/_data/chains/100.json similarity index 100% rename from _data/chains/xdai.json rename to _data/chains/100.json diff --git a/_data/chains/etherinc.json b/_data/chains/101.json similarity index 100% rename from _data/chains/etherinc.json rename to _data/chains/101.json diff --git a/_data/chains/thundercore.json b/_data/chains/108.json similarity index 100% rename from _data/chains/thundercore.json rename to _data/chains/108.json diff --git a/_data/chains/metadium.json b/_data/chains/11.json similarity index 100% rename from _data/chains/metadium.json rename to _data/chains/11.json diff --git a/_data/chains/metadiumtest.json b/_data/chains/12.json similarity index 100% rename from _data/chains/metadiumtest.json rename to _data/chains/12.json diff --git a/_data/chains/ether1.json b/_data/chains/1313114.json similarity index 100% rename from _data/chains/ether1.json rename to _data/chains/1313114.json diff --git a/_data/chains/pepchain.json b/_data/chains/13371337.json similarity index 100% rename from _data/chains/pepchain.json rename to _data/chains/13371337.json diff --git a/_data/chains/atheios.json b/_data/chains/1620.json similarity index 100% rename from _data/chains/atheios.json rename to _data/chains/1620.json diff --git a/_data/chains/thundercoretest.json b/_data/chains/18.json similarity index 100% rename from _data/chains/thundercoretest.json rename to _data/chains/18.json diff --git a/_data/chains/iolite.json b/_data/chains/18289463.json similarity index 100% rename from _data/chains/iolite.json rename to _data/chains/18289463.json diff --git a/_data/chains/teslafunds.json b/_data/chains/1856.json similarity index 100% rename from _data/chains/teslafunds.json rename to _data/chains/1856.json diff --git a/_data/chains/ethergem.json b/_data/chains/1987.json similarity index 100% rename from _data/chains/ethergem.json rename to _data/chains/1987.json diff --git a/_data/chains/expanse.json b/_data/chains/2.json similarity index 100% rename from _data/chains/expanse.json rename to _data/chains/2.json diff --git a/_data/chains/akaroma.json b/_data/chains/200625.json similarity index 100% rename from _data/chains/akaroma.json rename to _data/chains/200625.json diff --git a/_data/chains/eosclassic.json b/_data/chains/2018.json similarity index 100% rename from _data/chains/eosclassic.json rename to _data/chains/2018.json diff --git a/_data/chains/webchain.json b/_data/chains/24484.json similarity index 100% rename from _data/chains/webchain.json rename to _data/chains/24484.json diff --git a/_data/chains/artissigma1.json b/_data/chains/246529.json similarity index 100% rename from _data/chains/artissigma1.json rename to _data/chains/246529.json diff --git a/_data/chains/artistau1.json b/_data/chains/246785.json similarity index 100% rename from _data/chains/artistau1.json rename to _data/chains/246785.json diff --git a/_data/chains/hpb.json b/_data/chains/269.json similarity index 100% rename from _data/chains/hpb.json rename to _data/chains/269.json diff --git a/_data/chains/ethsocial.json b/_data/chains/28.json similarity index 100% rename from _data/chains/ethsocial.json rename to _data/chains/28.json diff --git a/_data/chains/ropsten.json b/_data/chains/3.json similarity index 100% rename from _data/chains/ropsten.json rename to _data/chains/3.json diff --git a/_data/chains/rootstock.json b/_data/chains/30.json similarity index 100% rename from _data/chains/rootstock.json rename to _data/chains/30.json diff --git a/_data/chains/rootstocktest.json b/_data/chains/31.json similarity index 100% rename from _data/chains/rootstocktest.json rename to _data/chains/31.json diff --git a/_data/chains/ethersocial.json b/_data/chains/31102.json similarity index 100% rename from _data/chains/ethersocial.json rename to _data/chains/31102.json diff --git a/_data/chains/pirl.json b/_data/chains/3125659152.json similarity index 100% rename from _data/chains/pirl.json rename to _data/chains/3125659152.json diff --git a/_data/chains/lisinski.json b/_data/chains/385.json similarity index 100% rename from _data/chains/lisinski.json rename to _data/chains/385.json diff --git a/_data/chains/rinkeby.json b/_data/chains/4.json similarity index 100% rename from _data/chains/rinkeby.json rename to _data/chains/4.json diff --git a/_data/chains/kovan.json b/_data/chains/42.json similarity index 100% rename from _data/chains/kovan.json rename to _data/chains/42.json diff --git a/_data/chains/goerli.json b/_data/chains/5.json similarity index 100% rename from _data/chains/goerli.json rename to _data/chains/5.json diff --git a/_data/chains/kotti.json b/_data/chains/6.json similarity index 100% rename from _data/chains/kotti.json rename to _data/chains/6.json diff --git a/_data/chains/gochain.json b/_data/chains/60.json similarity index 100% rename from _data/chains/gochain.json rename to _data/chains/60.json diff --git a/_data/chains/ethclassic.json b/_data/chains/61.json similarity index 100% rename from _data/chains/ethclassic.json rename to _data/chains/61.json diff --git a/_data/chains/ethclassictest.json b/_data/chains/62.json similarity index 100% rename from _data/chains/ethclassictest.json rename to _data/chains/62.json diff --git a/_data/chains/ellaism.json b/_data/chains/64.json similarity index 100% rename from _data/chains/ellaism.json rename to _data/chains/64.json diff --git a/_data/chains/mix.json b/_data/chains/76.json similarity index 100% rename from _data/chains/mix.json rename to _data/chains/76.json diff --git a/_data/chains/poasokol.json b/_data/chains/77.json similarity index 100% rename from _data/chains/poasokol.json rename to _data/chains/77.json diff --git a/_data/chains/musicoin.json b/_data/chains/7762959.json similarity index 100% rename from _data/chains/musicoin.json rename to _data/chains/7762959.json diff --git a/_data/chains/ubiq.json b/_data/chains/8.json similarity index 100% rename from _data/chains/ubiq.json rename to _data/chains/8.json diff --git a/_data/chains/callisto.json b/_data/chains/820.json similarity index 100% rename from _data/chains/callisto.json rename to _data/chains/820.json diff --git a/_data/chains/callistotest.json b/_data/chains/821.json similarity index 100% rename from _data/chains/callistotest.json rename to _data/chains/821.json diff --git a/_data/chains/tomochain.json b/_data/chains/88.json similarity index 100% rename from _data/chains/tomochain.json rename to _data/chains/88.json diff --git a/_data/chains/ubiqtest.json b/_data/chains/9.json similarity index 100% rename from _data/chains/ubiqtest.json rename to _data/chains/9.json diff --git a/_data/chains/poa.json b/_data/chains/99.json similarity index 100% rename from _data/chains/poa.json rename to _data/chains/99.json