Skip to content
Permalink
Browse files

Add nativeCurrency - closes #66 and add chains_mini.json

also improves #61 - at least now mainnet is on top again ;-)
  • Loading branch information...
ligi committed May 22, 2019
1 parent c8abbaf commit 150aa21bd15573d534b1072e7475f3a3537ae500
Showing with 553 additions and 330 deletions.
  1. +7 −4 .github/ISSUE_TEMPLATE/add-new-chain---network-id.md
  2. +5 −4 README.md
  3. +11 −9 _data/chains/1.json
  4. +10 −5 _data/chains/100.json
  5. +10 −5 _data/chains/101.json
  6. +10 −5 _data/chains/108.json
  7. +10 −5 _data/chains/11.json
  8. +11 −6 _data/chains/1122334455.json
  9. +10 −5 _data/chains/12.json
  10. +10 −5 _data/chains/1313114.json
  11. +10 −5 _data/chains/13371337.json
  12. +10 −5 _data/chains/1620.json
  13. +10 −5 _data/chains/18.json
  14. +10 −5 _data/chains/18289463.json
  15. +10 −5 _data/chains/1856.json
  16. +10 −5 _data/chains/1987.json
  17. +10 −5 _data/chains/2.json
  18. +10 −5 _data/chains/200625.json
  19. +10 −5 _data/chains/24484.json
  20. +10 −5 _data/chains/246529.json
  21. +10 −5 _data/chains/246785.json
  22. +10 −5 _data/chains/269.json
  23. +10 −5 _data/chains/3.json
  24. +10 −5 _data/chains/30.json
  25. +11 −9 _data/chains/31.json
  26. +10 −6 _data/chains/31102.json
  27. +10 −5 _data/chains/3125659152.json
  28. +10 −5 _data/chains/385.json
  29. +10 −5 _data/chains/4.json
  30. +11 −9 _data/chains/42.json
  31. +12 −14 _data/chains/5.json
  32. +10 −5 _data/chains/6.json
  33. +10 −5 _data/chains/60.json
  34. +10 −5 _data/chains/61.json
  35. +10 −5 _data/chains/61717561.json
  36. +10 −5 _data/chains/62.json
  37. +10 −5 _data/chains/64.json
  38. +10 −5 _data/chains/76.json
  39. +10 −5 _data/chains/77.json
  40. +10 −5 _data/chains/7762959.json
  41. +10 −5 _data/chains/8.json
  42. +10 −5 _data/chains/820.json
  43. +10 −5 _data/chains/821.json
  44. +10 −5 _data/chains/88.json
  45. +10 −5 _data/chains/9.json
  46. +11 −9 _data/chains/977.json
  47. +10 −5 _data/chains/99.json
  48. +7 −6 chains.json
  49. +3 −3 chains.md
  50. +5 −0 chains_mini.json
  51. +5 −4 index.md
  52. +25 −22 src/main/kotlin/org/ethereum/lists/chains/ChainChecker.kt
  53. +1 −1 src/main/kotlin/org/ethereum/lists/chains/Main.kt
  54. +6 −7 src/test/kotlin/TheChainChecker.kt
  55. +4 −4 src/test/resources/test_chains/invalid/1.json
  56. +4 −4 src/test/resources/test_chains/invalid/1.nojson
  57. +4 −4 src/test/resources/test_chains/invalid/2.json
  58. +4 −4 src/test/resources/test_chains/invalid/3.json
  59. +3 −3 src/test/resources/test_chains/invalid/4.json
  60. +4 −4 src/test/resources/test_chains/invalid/invalid_filename.json
  61. +9 −4 src/test/resources/test_chains/valid/1.json
@@ -12,11 +12,14 @@ assignees: ''
```
{
"name": "Ethereum Mainnet",
"short_name": "eth",
"shortName": "eth",
"chain": "ETH",
"network": "mainnet",
"chain_id": 1,
"network_id": 1,
"rpc": ["https://mainnet.infura.io"]
"chainId": 1,
"networkId": 1,
"rpc": ["https://mainnet.infura.io"],
"faucets": [],
"infoURL: "https://ethereum.org",
"nativeCurrency": {"name":"Ether","symbol":"ETH","decimals":18}
}
```
@@ -9,16 +9,17 @@ Data source available on `_data/chains.json`
```json
{
"name": "Ethereum Mainnet",
"short_name": "eth",
"shortName": "eth",
"chain": "ETH",
"network": "mainnet",
"chain_id": 1,
"network_id": 1,
"chainId": 1,
"networkId": 1,
"rpc": [
"https://mainnet.infura.io/v3/${INFURA_API_KEY}",
"https://api.mycryptoapi.com/eth"
],
"faucets": [],
"info_url": "https://ethereum.org"
"infoURL": "https://ethereum.org",
"nativeCurrency": {"name":"Ether","symbol":"ETH","decimals":18}
}
```
@@ -1,14 +1,16 @@
{
"name": "Ethereum Mainnet",
"short_name": "eth",
"chain": "ETH",
"network": "mainnet",
"chain_id": 1,
"network_id": 1,
"rpc": [
"https://mainnet.infura.io/v3/${INFURA_API_KEY}",
"https://api.mycryptoapi.com/eth"
],
"rpc": ["https://mainnet.infura.io/v3/${INFURA_API_KEY}", "https://api.mycryptoapi.com/eth"],
"faucets": [],
"info_url": "https://ethereum.org"
}
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18
},
"infoURL": "https://ethereum.org",
"shortName": "eth",
"chainId": 1,
"networkId": 1
}
@@ -1,11 +1,16 @@
{
"name": "xDAI Chain",
"short_name": "xdai",
"chain": "XDAI",
"network": "mainnet",
"chain_id": 100,
"network_id": 1,
"rpc": ["https://dai.poa.network"],
"faucets": [],
"info_url": "https://forum.poa.network/c/xdai-chain"
}
"nativeCurrency": {
"name": "xDAI",
"symbol": "xDAI",
"decimals": 18
},
"infoURL": "https://forum.poa.network/c/xdai-chain",
"shortName": "xdai",
"chainId": 100,
"networkId": 1
}
@@ -1,11 +1,16 @@
{
"name": "EtherInc",
"short_name": "eti",
"chain": "ETI",
"network": "mainnet",
"chain_id": 101,
"network_id": 1,
"rpc": ["https://api.einc.io/jsonrpc/mainnet"],
"faucets": [],
"info_url": "https://einc.io"
}
"nativeCurrency": {
"name": "EtherInc Ether",
"symbol": "ETI",
"decimals": 18
},
"infoURL": "https://einc.io",
"shortName": "eti",
"chainId": 101,
"networkId": 1
}
@@ -1,11 +1,16 @@
{
"name": "ThunderCore Mainnet",
"short_name": "TT",
"chain": "TT",
"network": "mainnet",
"chain_id": 108,
"network_id": 108,
"rpc": ["https://mainnet-rpc.thundercore.com"],
"faucets": ["https://faucet-testnet.thundercore.com"],
"info_url": "https://thundercore.com"
}
"nativeCurrency": {
"name": "ThunderCore Mainnet Ether",
"symbol": "TT",
"decimals": 18
},
"infoURL": "https://thundercore.com",
"shortName": "TT",
"chainId": 108,
"networkId": 108
}
@@ -1,11 +1,16 @@
{
"name": "Metadium Mainnet",
"short_name": "meta",
"chain": "META",
"network": "mainnet",
"chain_id": 11,
"network_id": 11,
"rpc": ["https://api.metadium.com/prod"],
"faucets": [],
"info_url": "https://metadium.com"
}
"nativeCurrency": {
"name": "Metadium Mainnet Ether",
"symbol": "META",
"decimals": 18
},
"infoURL": "https://metadium.com",
"shortName": "meta",
"chainId": 11,
"networkId": 11
}
@@ -1,11 +1,16 @@
{
"name": "IPOS Network",
"short_name": "ipos",
"chain": "IPOS",
"network": "mainnet",
"chain_id": 1122334455,
"network_id": 1122334455,
"rpc": ["https://rpc.iposlab.com","https://rpc2.iposlab.com"],
"rpc": ["https://rpc.iposlab.com", "https://rpc2.iposlab.com"],
"faucets": [],
"info_url": "https://iposlab.com"
}
"nativeCurrency": {
"name": "IPOS Network Ether",
"symbol": "IPOS",
"decimals": 18
},
"infoURL": "https://iposlab.com",
"shortName": "ipos",
"chainId": 1122334455,
"networkId": 1122334455
}
@@ -1,11 +1,16 @@
{
"name": "Metadium Testnet",
"short_name": "kal",
"chain": "META",
"network": "testnet",
"chain_id": 12,
"network_id": 12,
"rpc": ["https://api.metadium.com/dev"],
"faucets": [],
"info_url": "https://metadium.com"
}
"nativeCurrency": {
"name": "Metadium Testnet Ether",
"symbol": "KAL",
"decimals": 18
},
"infoURL": "https://metadium.com",
"shortName": "kal",
"chainId": 12,
"networkId": 12
}
@@ -1,11 +1,16 @@
{
"name": "Ether-1",
"short_name": "etho",
"chain": "ETHO",
"network": "mainnet",
"chain_id": 1313114,
"network_id": 1313114,
"rpc": ["https://rpc.ether1.org"],
"faucets": [],
"info_url": "https://ether1.org"
}
"nativeCurrency": {
"name": "Ether-1 Ether",
"symbol": "ETHO",
"decimals": 18
},
"infoURL": "https://ether1.org",
"shortName": "etho",
"chainId": 1313114,
"networkId": 1313114
}
@@ -1,11 +1,16 @@
{
"name": "PepChain Churchill",
"short_name": "tpep",
"chain": "PEP",
"network": "testnet",
"chain_id": 13371337,
"network_id": 13371337,
"rpc": ["https://churchill-rpc.pepchain.io"],
"faucets": [],
"info_url": "https://pepchain.io"
}
"nativeCurrency": {
"name": "PepChain Churchill Ether",
"symbol": "TPEP",
"decimals": 18
},
"infoURL": "https://pepchain.io",
"shortName": "tpep",
"chainId": 13371337,
"networkId": 13371337
}
@@ -1,11 +1,16 @@
{
"name": "Atheios",
"short_name": "ath",
"chain": "ATH",
"network": "mainnet",
"chain_id": 1620,
"network_id": 11235813,
"rpc": ["https://wallet.atheios.com:8797"],
"faucets": [],
"info_url": "https://atheios.com"
}
"nativeCurrency": {
"name": "Atheios Ether",
"symbol": "ATH",
"decimals": 18
},
"infoURL": "https://atheios.com",
"shortName": "ath",
"chainId": 1620,
"networkId": 11235813
}
@@ -1,11 +1,16 @@
{
"name": "ThunderCore Testnet",
"short_name": "TST",
"chain": "TST",
"network": "testnet",
"chain_id": 18,
"network_id": 18,
"rpc": ["https://testnet-rpc.thundercore.com:8544"],
"faucets": [],
"info_url": "https://thundercore.com"
}
"nativeCurrency": {
"name": "ThunderCore Testnet Ether",
"symbol": "TST",
"decimals": 18
},
"infoURL": "https://thundercore.com",
"shortName": "TST",
"chainId": 18,
"networkId": 18
}
@@ -1,11 +1,16 @@
{
"name": "IOLite",
"short_name": "ilt",
"chain": "ILT",
"network": "mainnet",
"chain_id": 18289463,
"network_id": 18289463,
"rpc": ["https://net.iolite.io"],
"faucets": [],
"info_url": "https://iolite.io"
}
"nativeCurrency": {
"name": "IOLite Ether",
"symbol": "ILT",
"decimals": 18
},
"infoURL": "https://iolite.io",
"shortName": "ilt",
"chainId": 18289463,
"networkId": 18289463
}
@@ -1,11 +1,16 @@
{
"name": "Teslafunds",
"short_name": "tsf",
"chain": "TSF",
"network": "mainnet",
"chain_id": 1856,
"network_id": 1,
"rpc": ["https://tsfapi.europool.me"],
"faucets": [],
"info_url": "https://teslafunds.io"
}
"nativeCurrency": {
"name": "Teslafunds Ether",
"symbol": "TSF",
"decimals": 18
},
"infoURL": "https://teslafunds.io",
"shortName": "tsf",
"chainId": 1856,
"networkId": 1
}
@@ -1,11 +1,16 @@
{
"name": "EtherGem",
"short_name": "egem",
"chain": "EGEM",
"network": "mainnet",
"chain_id": 1987,
"network_id": 1987,
"rpc": ["https://jsonrpc.egem.io/custom"],
"faucets": [],
"info_url": "https://egem.io"
}
"nativeCurrency": {
"name": "EtherGem Ether",
"symbol": "EGEM",
"decimals": 18
},
"infoURL": "https://egem.io",
"shortName": "egem",
"chainId": 1987,
"networkId": 1987
}
@@ -1,11 +1,16 @@
{
"name": "Expanse Network",
"short_name": "exp",
"chain": "EXP",
"network": "mainnet",
"chain_id": 2,
"network_id": 1,
"rpc": ["https://node.expanse.tech"],
"faucets": [],
"info_url": "https://expanse.tech"
}
"nativeCurrency": {
"name": "Expanse Network Ether",
"symbol": "EXP",
"decimals": 18
},
"infoURL": "https://expanse.tech",
"shortName": "exp",
"chainId": 2,
"networkId": 1
}

0 comments on commit 150aa21

Please sign in to comment.
You can’t perform that action at this time.