mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
Merge branch 'ethereum-lists:master' into master
This commit is contained in:
commit
ce2f8fe219
20
README.md
20
README.md
|
@ -53,12 +53,32 @@ where:
|
||||||
* width and height are optional - but when one is there then the other must be there also
|
* width and height are optional - but when one is there then the other must be there also
|
||||||
* format is either "png", "jpg" or "svg"
|
* format is either "png", "jpg" or "svg"
|
||||||
|
|
||||||
|
If the chain is an L2 or a shard of another chain you can link it to the parent chain like this:
|
||||||
|
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
...
|
||||||
|
"parent": {
|
||||||
|
"type" : "L2",
|
||||||
|
"chain": "eip155-1",
|
||||||
|
"bridges": [ {"url":"https://bridge.arbitrum.io"} ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
where you need to specify type 2 and the reference to an existing parent. The field about bridges is optional.
|
||||||
|
|
||||||
## Aggregation
|
## Aggregation
|
||||||
|
|
||||||
There are also aggregated json files with all chains automatically assembled:
|
There are also aggregated json files with all chains automatically assembled:
|
||||||
* https://chainid.network/chains.json
|
* https://chainid.network/chains.json
|
||||||
* https://chainid.network/chains_mini.json (miniaturized - fewer fields for smaller filesize)
|
* https://chainid.network/chains_mini.json (miniaturized - fewer fields for smaller filesize)
|
||||||
|
|
||||||
|
## Collision management
|
||||||
|
|
||||||
|
If different chains have the same chainID we list the one with the oldest genesis.
|
||||||
|
|
||||||
## Usages
|
## Usages
|
||||||
|
|
||||||
* [chainlist.org](https://chainlist.org) or [networklist-org.vercel.app](https://networklist-org.vercel.app) as a staging version with a more up-to-date list
|
* [chainlist.org](https://chainlist.org) or [networklist-org.vercel.app](https://networklist-org.vercel.app) as a staging version with a more up-to-date list
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
"chain": "smartBCH",
|
"chain": "smartBCH",
|
||||||
"network": "mainnet",
|
"network": "mainnet",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://rpc-mainnet.smartbch.org"
|
"https://smartbch.greyh.at",
|
||||||
|
"https://rpc-mainnet.smartbch.org",
|
||||||
|
"https://smartbch.fountainhead.cash/mainnet"
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
@ -11,7 +13,7 @@
|
||||||
"symbol": "BCH",
|
"symbol": "BCH",
|
||||||
"decimals": 18
|
"decimals": 18
|
||||||
},
|
},
|
||||||
"infoURL": "http://smartbch.org/",
|
"infoURL": "https://smartbch.org/",
|
||||||
"shortName": "smartbch",
|
"shortName": "smartbch",
|
||||||
"chainId": 10000,
|
"chainId": 10000,
|
||||||
"networkId": 10000
|
"networkId": 10000
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "Moonbeam Polkadot",
|
"name": "Moonbeam",
|
||||||
"chain": "MOON",
|
"chain": "MOON",
|
||||||
"network": "moonbeam",
|
"network": "moonbeam",
|
||||||
"rpc": [],
|
"rpc": [],
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
{
|
{
|
||||||
"name": "Moonriver Kusama",
|
"name": "Moonriver",
|
||||||
"chain": "MOON",
|
"chain": "MOON",
|
||||||
"network": "moonriver",
|
"network": "moonriver",
|
||||||
"rpc": [],
|
"rpc": [
|
||||||
|
"https://rpc.moonriver.moonbeam.network",
|
||||||
|
"wss://wss.moonriver.moonbeam.network"
|
||||||
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
"name": "River",
|
"name": "Moonriver",
|
||||||
"symbol": "RIVER",
|
"symbol": "MOVR",
|
||||||
"decimals": 18
|
"decimals": 18
|
||||||
},
|
},
|
||||||
"infoURL": "https://moonbeam.network/networks/moonriver/",
|
"infoURL": "https://moonbeam.network/networks/moonriver/",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "Moonrock Rococo",
|
"name": "Moonrock",
|
||||||
"chain": "MOON",
|
"chain": "MOON",
|
||||||
"network": "moonrock",
|
"network": "moonrock",
|
||||||
"rpc": [],
|
"rpc": [],
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "Moonbeam Testnet Moonbase Alpha",
|
"name": "Moonbase Alpha",
|
||||||
"chain": "MOON",
|
"chain": "MOON",
|
||||||
"network": "moonbase",
|
"network": "moonbase",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
|
|
16
_data/chains/eip155-1288.json
Normal file
16
_data/chains/eip155-1288.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"name": "Moonshadow",
|
||||||
|
"chain": "MOON",
|
||||||
|
"network": "moonshadow",
|
||||||
|
"rpc": [],
|
||||||
|
"faucets": [],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Moonshadow",
|
||||||
|
"symbol": "MSHD",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://docs.moonbeam.network/networks/overview/",
|
||||||
|
"shortName": "mshadow",
|
||||||
|
"chainId": 1288,
|
||||||
|
"networkId": 1288
|
||||||
|
}
|
19
_data/chains/eip155-16000.json
Normal file
19
_data/chains/eip155-16000.json
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"name": "MetaDot Mainnet",
|
||||||
|
"chain": "MTT",
|
||||||
|
"network": "mainnet",
|
||||||
|
"rpc": [
|
||||||
|
"https://mainnet.metadot.network"
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "MetaDot Token",
|
||||||
|
"symbol": "MTT",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://metadot.network",
|
||||||
|
"shortName": "mtt",
|
||||||
|
"chainId": 16000,
|
||||||
|
"networkId": 16000
|
||||||
|
}
|
||||||
|
|
21
_data/chains/eip155-16001.json
Normal file
21
_data/chains/eip155-16001.json
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"name": "MetaDot Testnet",
|
||||||
|
"chain": "MTTTest",
|
||||||
|
"network": "devnet",
|
||||||
|
"rpc": [
|
||||||
|
"https://testnet.metadot.network"
|
||||||
|
],
|
||||||
|
"faucets": [
|
||||||
|
"https://faucet.metadot.network/"
|
||||||
|
],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "MetaDot Token TestNet",
|
||||||
|
"symbol": "MTT-test",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://metadot.network",
|
||||||
|
"shortName": "mtttest",
|
||||||
|
"chainId": 16001,
|
||||||
|
"networkId": 16001
|
||||||
|
}
|
||||||
|
|
|
@ -15,5 +15,10 @@
|
||||||
"infoURL": "https://www.harmony.one/",
|
"infoURL": "https://www.harmony.one/",
|
||||||
"shortName": "hmy-s0",
|
"shortName": "hmy-s0",
|
||||||
"chainId": 1666600000,
|
"chainId": 1666600000,
|
||||||
"networkId": 1666600000
|
"networkId": 1666600000,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "Harmony Block Explorer",
|
||||||
|
"url": "https://explorer.harmony.one",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +1,26 @@
|
||||||
{
|
{
|
||||||
"name": "Harmony Testnet Shard 0",
|
"name": "Harmony Testnet Shard 0",
|
||||||
"chain": "Harmony",
|
"chain": "Harmony",
|
||||||
"network": "testnet",
|
"network": "testnet",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://api.s0.b.hmny.io"
|
"https://api.s0.b.hmny.io"
|
||||||
],
|
],
|
||||||
"faucets": [
|
"faucets": [
|
||||||
],
|
"https://faucet.pops.one"
|
||||||
"nativeCurrency": {
|
],
|
||||||
"name": "ONE",
|
"nativeCurrency": {
|
||||||
"symbol": "ONE",
|
"name": "ONE",
|
||||||
"decimals": 18
|
"symbol": "ONE",
|
||||||
},
|
"decimals": 18
|
||||||
"infoURL": "https://www.harmony.one/",
|
},
|
||||||
"shortName": "hmy-b-s0",
|
"infoURL": "https://www.harmony.one/",
|
||||||
"chainId": 1666700000,
|
"shortName": "hmy-b-s0",
|
||||||
"networkId": 1666700000
|
"chainId": 1666700000,
|
||||||
}
|
"networkId": 1666700000,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "Harmony Testnet Block Explorer",
|
||||||
|
"url": "https://explorer.pops.one",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
|
21
_data/chains/eip155-172.json
Normal file
21
_data/chains/eip155-172.json
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"name": "Latam-Blockchain Resil Testnet",
|
||||||
|
"chain": "Resil",
|
||||||
|
"network": "testnet",
|
||||||
|
"rpc": [
|
||||||
|
"https://rpc.latam-blockchain.com",
|
||||||
|
"wss://ws.latam-blockchain.com"
|
||||||
|
],
|
||||||
|
"faucets": [
|
||||||
|
"https://faucet.latam-blockchain.com"
|
||||||
|
],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Latam-Blockchain Resil Test Native Token",
|
||||||
|
"symbol": "usd",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://latam-blockchain.com",
|
||||||
|
"shortName": "resil",
|
||||||
|
"chainId": 172,
|
||||||
|
"networkId": 172
|
||||||
|
}
|
18
_data/chains/eip155-19.json
Normal file
18
_data/chains/eip155-19.json
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"name": "Songbird Canary-Network",
|
||||||
|
"chain": "SGB",
|
||||||
|
"network": "songbird",
|
||||||
|
"rpc": [
|
||||||
|
],
|
||||||
|
"faucets": [
|
||||||
|
],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Songbird",
|
||||||
|
"symbol": "SGB",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://flare.xyz",
|
||||||
|
"shortName": "sgb",
|
||||||
|
"chainId": 19,
|
||||||
|
"networkId": 19
|
||||||
|
}
|
25
_data/chains/eip155-200.json
Normal file
25
_data/chains/eip155-200.json
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"name": "Arbitrum on xDai",
|
||||||
|
"chain": "AOX",
|
||||||
|
"network": "xdai",
|
||||||
|
"rpc": ["https://arbitrum.xdaichain.com/"],
|
||||||
|
"faucets": [],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "xDAI",
|
||||||
|
"symbol": "xDAI",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://xdaichain.com",
|
||||||
|
"shortName": "aox",
|
||||||
|
"chainId": 200,
|
||||||
|
"networkId": 200,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "blockscout",
|
||||||
|
"url": "https://blockscout.com/xdai/arbitrum",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}],
|
||||||
|
"parent": {
|
||||||
|
"chain": "eip155-100",
|
||||||
|
"type": "L2"
|
||||||
|
}
|
||||||
|
}
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "Fantom Opera",
|
"name": "Fantom Opera",
|
||||||
"chain": "FTM",
|
"chain": "FTM",
|
||||||
"network": "mainnet",
|
"network": "mainnet",
|
||||||
"rpc": ["https://rpcapi.fantom.network"],
|
"rpc": ["https://rpc.ftm.tools"],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
"name": "Fantom",
|
"name": "Fantom",
|
||||||
|
|
|
@ -3,17 +3,26 @@
|
||||||
"chain": "HPB",
|
"chain": "HPB",
|
||||||
"network": "mainnet",
|
"network": "mainnet",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://hpb.app"
|
"https://hpbnode.com",
|
||||||
|
"wss://ws.hpbnode.com"
|
||||||
|
],
|
||||||
|
"faucets": [
|
||||||
|
"https://myhpbwallet.com/"
|
||||||
],
|
],
|
||||||
"faucets": [],
|
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
"name": "High Performance Blockchain Ether",
|
"name": "High Performance Blockchain Ether",
|
||||||
"symbol": "HPB",
|
"symbol": "HPB",
|
||||||
"decimals": 18
|
"decimals": 18
|
||||||
},
|
},
|
||||||
"infoURL": "https://hpbscan.org/",
|
"infoURL": "https://hpb.io",
|
||||||
"shortName": "hpb",
|
"shortName": "hpb",
|
||||||
"chainId": 269,
|
"chainId": 269,
|
||||||
"networkId": 100,
|
"networkId": 269,
|
||||||
"slip44": 269
|
"slip44": 269,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "hpbscan",
|
||||||
|
"url": "https://hpbscan.org/",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
26
_data/chains/eip155-311752642.json
Normal file
26
_data/chains/eip155-311752642.json
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
"name": "OneLedger Mainnet",
|
||||||
|
"chain": "OLT",
|
||||||
|
"network": "mainnet",
|
||||||
|
"icon": "oneledger",
|
||||||
|
"rpc": [
|
||||||
|
"https://mainnet-rpc.oneledger.network"
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "OLT",
|
||||||
|
"symbol": "OLT",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://oneledger.io",
|
||||||
|
"shortName": "oneledger",
|
||||||
|
"chainId": 311752642,
|
||||||
|
"networkId": 311752642,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "OneLedger Block Explorer",
|
||||||
|
"url": "https://mainnet-explorer.oneledger.network",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
24
_data/chains/eip155-31337.json
Normal file
24
_data/chains/eip155-31337.json
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"name": "GoChain Testnet",
|
||||||
|
"chain": "GO",
|
||||||
|
"network": "testnet",
|
||||||
|
"rpc": [
|
||||||
|
"https://testnet-rpc.gochain.io"
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "GoChain Coin",
|
||||||
|
"symbol": "GO",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://gochain.io",
|
||||||
|
"shortName": "got",
|
||||||
|
"chainId": 31337,
|
||||||
|
"networkId": 31337,
|
||||||
|
"slip44": 6060,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "GoChain Testnet Explorer",
|
||||||
|
"url": "https://testnet-explorer.gochain.io",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "KuCoin Community Chain Mainnet",
|
"name": "KCC Mainnet",
|
||||||
"chain": "KCC",
|
"chain": "KCC",
|
||||||
"network": "mainnet",
|
"network": "mainnet",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
"infoURL": "https://kcc.io",
|
"infoURL": "https://kcc.io",
|
||||||
"shortName": "kcs",
|
"shortName": "kcs",
|
||||||
"chainId": 321,
|
"chainId": 321,
|
||||||
"networkId": 321,
|
"networkId": 1,
|
||||||
"explorers": [{
|
"explorers": [{
|
||||||
"name": "KCC Explorer",
|
"name": "KCC Explorer",
|
||||||
"url": "https://explorer.kcc.io/en",
|
"url": "https://explorer.kcc.io/en",
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "KuCoin Community Chain Testnet",
|
"name": "KCC Testnet",
|
||||||
"chain": "KCC",
|
"chain": "KCC",
|
||||||
"network": "testnet",
|
"network": "testnet",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://rpc-testnet.kcc.network"
|
"https://rpc-testnet.kcc.network",
|
||||||
|
"wss://rpc-ws-testnet.kcc.network"
|
||||||
],
|
],
|
||||||
"faucets": [
|
"faucets": [
|
||||||
"https://faucet-testnet.kcc.network"
|
"https://faucet-testnet.kcc.network"
|
||||||
|
|
21
_data/chains/eip155-333888.json
Normal file
21
_data/chains/eip155-333888.json
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"name": "Polis Testnet",
|
||||||
|
"chain": "Sparta",
|
||||||
|
"network": "testnet",
|
||||||
|
"icon": "polis",
|
||||||
|
"rpc": [
|
||||||
|
"https://sparta-rpc.polis.tech"
|
||||||
|
],
|
||||||
|
"faucets": [
|
||||||
|
"https://faucet.polis.tech"
|
||||||
|
],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "tPolis",
|
||||||
|
"symbol": "tPOLIS",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://polis.tech",
|
||||||
|
"shortName": "sparta",
|
||||||
|
"chainId": 333888,
|
||||||
|
"networkId": 333888
|
||||||
|
}
|
21
_data/chains/eip155-333999.json
Normal file
21
_data/chains/eip155-333999.json
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"name": "Polis Mainnet",
|
||||||
|
"chain": "Olympus",
|
||||||
|
"network": "mainnet",
|
||||||
|
"icon": "polis",
|
||||||
|
"rpc": [
|
||||||
|
"https://rpc.polis.tech"
|
||||||
|
],
|
||||||
|
"faucets": [
|
||||||
|
"https://faucet.polis.tech"
|
||||||
|
],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Polis",
|
||||||
|
"symbol": "POLIS",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://polis.tech",
|
||||||
|
"shortName": "olympus",
|
||||||
|
"chainId": 333999,
|
||||||
|
"networkId": 333999
|
||||||
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
"chain": "Theta",
|
"chain": "Theta",
|
||||||
"network": "mainnet",
|
"network": "mainnet",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://eth-rpc-api.thetatoken.org"
|
"https://eth-rpc-api.thetatoken.org/rpc"
|
||||||
],
|
],
|
||||||
"faucets": [
|
"faucets": [
|
||||||
],
|
],
|
||||||
|
@ -15,5 +15,10 @@
|
||||||
"infoURL": "https://www.thetatoken.org/",
|
"infoURL": "https://www.thetatoken.org/",
|
||||||
"shortName": "theta-mainnet",
|
"shortName": "theta-mainnet",
|
||||||
"chainId": 361,
|
"chainId": 361,
|
||||||
"networkId": 361
|
"networkId": 361,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "Theta Mainnet Explorer",
|
||||||
|
"url": "https://explorer.thetatoken.org",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"chain": "Theta",
|
"chain": "Theta",
|
||||||
"network": "testnet_sapphire",
|
"network": "testnet_sapphire",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://eth-rpc-api-sapphire.thetatoken.org"
|
"https://eth-rpc-api-sapphire.thetatoken.org/rpc"
|
||||||
],
|
],
|
||||||
"faucets": [
|
"faucets": [
|
||||||
],
|
],
|
||||||
|
@ -15,5 +15,10 @@
|
||||||
"infoURL": "https://www.thetatoken.org/",
|
"infoURL": "https://www.thetatoken.org/",
|
||||||
"shortName": "theta-sapphire",
|
"shortName": "theta-sapphire",
|
||||||
"chainId": 363,
|
"chainId": 363,
|
||||||
"networkId": 363
|
"networkId": 363,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "Theta Sapphire Testnet Explorer",
|
||||||
|
"url": "https://guardian-testnet-sapphire-explorer.thetatoken.org",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"chain": "Theta",
|
"chain": "Theta",
|
||||||
"network": "testnet_amber",
|
"network": "testnet_amber",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://eth-rpc-api-amber.thetatoken.org"
|
"https://eth-rpc-api-amber.thetatoken.org/rpc"
|
||||||
],
|
],
|
||||||
"faucets": [
|
"faucets": [
|
||||||
],
|
],
|
||||||
|
@ -15,5 +15,10 @@
|
||||||
"infoURL": "https://www.thetatoken.org/",
|
"infoURL": "https://www.thetatoken.org/",
|
||||||
"shortName": "theta-amber",
|
"shortName": "theta-amber",
|
||||||
"chainId": 364,
|
"chainId": 364,
|
||||||
"networkId": 364
|
"networkId": 364,
|
||||||
}
|
"explorers": [{
|
||||||
|
"name": "Theta Amber Testnet Explorer",
|
||||||
|
"url": "https://guardian-testnet-amber-explorer.thetatoken.org",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"chain": "Theta",
|
"chain": "Theta",
|
||||||
"network": "testnet",
|
"network": "testnet",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://eth-rpc-api-testnet.thetatoken.org"
|
"https://eth-rpc-api-testnet.thetatoken.org/rpc"
|
||||||
],
|
],
|
||||||
"faucets": [
|
"faucets": [
|
||||||
],
|
],
|
||||||
|
@ -15,5 +15,10 @@
|
||||||
"infoURL": "https://www.thetatoken.org/",
|
"infoURL": "https://www.thetatoken.org/",
|
||||||
"shortName": "theta-testnet",
|
"shortName": "theta-testnet",
|
||||||
"chainId": 365,
|
"chainId": 365,
|
||||||
"networkId": 365
|
"networkId": 365,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "Theta Testnet Explorer",
|
||||||
|
"url": "https://testnet-explorer.thetatoken.org",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
|
|
38
_data/chains/eip155-42161.json
Normal file
38
_data/chains/eip155-42161.json
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"name": "Arbitrum One",
|
||||||
|
"chainId": 42161,
|
||||||
|
"shortName": "arb1",
|
||||||
|
"chain": "ETH",
|
||||||
|
"network": "mainnet",
|
||||||
|
"networkId": 42161,
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Ether",
|
||||||
|
"symbol": "AETH",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"rpc": [
|
||||||
|
"https://mainnet.infura.io/v3/${INFURA_API_KEY}",
|
||||||
|
"https://arb-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}",
|
||||||
|
"https://arb1.arbitrum.io/rpc",
|
||||||
|
"wss://arb1.arbitrum.io/ws"
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "Arbiscan",
|
||||||
|
"url": "https://arbiscan.io",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Arbitrum Explorer",
|
||||||
|
"url": "https://explorer.arbitrum.io",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"infoURL": "https://arbitrum.io",
|
||||||
|
"parent": {
|
||||||
|
"type" : "L2",
|
||||||
|
"chain": "eip155-1",
|
||||||
|
"bridges": [ {"url":"https://bridge.arbitrum.io"} ]
|
||||||
|
}
|
||||||
|
}
|
|
@ -22,5 +22,10 @@
|
||||||
"url": "https://rinkeby-explorer.arbitrum.io",
|
"url": "https://rinkeby-explorer.arbitrum.io",
|
||||||
"standard": "EIP3091"
|
"standard": "EIP3091"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"parent": {
|
||||||
|
"type" : "L2",
|
||||||
|
"chain": "eip155-4",
|
||||||
|
"bridges": [ {"url":"https://bridge.arbitrum.io"} ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
28
_data/chains/eip155-4216137055.json
Normal file
28
_data/chains/eip155-4216137055.json
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"name": "OneLedger Testnet Frankenstein",
|
||||||
|
"chain": "OLT",
|
||||||
|
"network": "testnet",
|
||||||
|
"icon": "oneledger",
|
||||||
|
"rpc": [
|
||||||
|
"https://frankenstein-rpc.oneledger.network"
|
||||||
|
],
|
||||||
|
"faucets": [
|
||||||
|
"https://frankenstein-faucet.oneledger.network"
|
||||||
|
],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "OLT",
|
||||||
|
"symbol": "OLT",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://oneledger.io",
|
||||||
|
"shortName": "frankenstein",
|
||||||
|
"chainId": 4216137055,
|
||||||
|
"networkId": 4216137055,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "OneLedger Block Explorer",
|
||||||
|
"url": "https://frankenstein-explorer.oneledger.network",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -15,5 +15,10 @@
|
||||||
"infoURL": "https://iotex.io",
|
"infoURL": "https://iotex.io",
|
||||||
"shortName": "iotex-mainnet",
|
"shortName": "iotex-mainnet",
|
||||||
"chainId": 4689,
|
"chainId": 4689,
|
||||||
"networkId": 4689
|
"networkId": 4689,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "iotexscan",
|
||||||
|
"url": "https://iotexscan.io",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,5 +16,10 @@
|
||||||
"infoURL": "https://iotex.io",
|
"infoURL": "https://iotex.io",
|
||||||
"shortName": "iotex-testnet",
|
"shortName": "iotex-testnet",
|
||||||
"chainId": 4690,
|
"chainId": 4690,
|
||||||
"networkId": 4690
|
"networkId": 4690,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "testnet iotexscan",
|
||||||
|
"url": "https://testnet.iotexscan.io",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
|
|
20
_data/chains/eip155-57.json
Normal file
20
_data/chains/eip155-57.json
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"name": "Syscoin Mainnet",
|
||||||
|
"chain": "SYS",
|
||||||
|
"network": "mainnet",
|
||||||
|
"rpc": [
|
||||||
|
"https://nevm.syscoin.org/api/eth-rpc",
|
||||||
|
"https://web3.syscoin.org",
|
||||||
|
"wss://web3.syscoin.org"
|
||||||
|
],
|
||||||
|
"faucets": ["https://faucet.syscoin.org"],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Syscoin",
|
||||||
|
"symbol": "SYS",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://www.syscoin.org",
|
||||||
|
"shortName": "sys",
|
||||||
|
"chainId": 57,
|
||||||
|
"networkId": 57
|
||||||
|
}
|
18
_data/chains/eip155-5700.json
Normal file
18
_data/chains/eip155-5700.json
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"name": "Syscoin Tanenbaum Testnet",
|
||||||
|
"chain": "SYS",
|
||||||
|
"network": "testnet",
|
||||||
|
"rpc": [
|
||||||
|
"https://tanenbaum.io/api/eth-rpc"
|
||||||
|
],
|
||||||
|
"faucets": ["https://faucet.tanenbaum.io"],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Testnet Syscoin",
|
||||||
|
"symbol": "tSYS",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://syscoin.org",
|
||||||
|
"shortName": "tsys",
|
||||||
|
"chainId": 5700,
|
||||||
|
"networkId": 5700
|
||||||
|
}
|
|
@ -18,7 +18,7 @@
|
||||||
"networkId": 59,
|
"networkId": 59,
|
||||||
"explorers": [{
|
"explorers": [{
|
||||||
"name": "bloks",
|
"name": "bloks",
|
||||||
"url": "https://api.eosargentina.io",
|
"url": "https://bloks.eosargentina.io",
|
||||||
"standard": "EIP3091"
|
"standard": "EIP3091"
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,5 +15,10 @@
|
||||||
"shortName": "go",
|
"shortName": "go",
|
||||||
"chainId": 60,
|
"chainId": 60,
|
||||||
"networkId": 60,
|
"networkId": 60,
|
||||||
"slip44": 6060
|
"slip44": 6060,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "GoChain Explorer",
|
||||||
|
"url": "https://explorer.gochain.io",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
|
|
20
_data/chains/eip155-71393.json
Normal file
20
_data/chains/eip155-71393.json
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"name": "Polyjuice Testnet",
|
||||||
|
"chain": "CKB",
|
||||||
|
"network": "testnet",
|
||||||
|
"icon": "polyjuice",
|
||||||
|
"rpc": [
|
||||||
|
"https://godwoken-testnet-web3-rpc.ckbapp.dev",
|
||||||
|
"ws://godwoken-testnet-web3-rpc.ckbapp.dev/ws"
|
||||||
|
],
|
||||||
|
"faucets": ["https://faucet.nervos.org/"],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "CKB",
|
||||||
|
"symbol": "CKB",
|
||||||
|
"decimals": 8
|
||||||
|
},
|
||||||
|
"infoURL": "https://github.com/nervosnetwork/godwoken",
|
||||||
|
"shortName": "ckb",
|
||||||
|
"chainId": 71393,
|
||||||
|
"networkId": 1
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "Ubiq Network Mainnet",
|
"name": "Ubiq",
|
||||||
"chain": "UBQ",
|
"chain": "UBQ",
|
||||||
"network": "mainnet",
|
"network": "mainnet",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
|
@ -15,6 +15,11 @@
|
||||||
"infoURL": "https://ubiqsmart.com",
|
"infoURL": "https://ubiqsmart.com",
|
||||||
"shortName": "ubq",
|
"shortName": "ubq",
|
||||||
"chainId": 8,
|
"chainId": 8,
|
||||||
"networkId": 88,
|
"networkId": 8,
|
||||||
"slip44": 108
|
"slip44": 108,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "ubiqscan",
|
||||||
|
"url": "https://ubiqscan.io",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +1,26 @@
|
||||||
{
|
{
|
||||||
"name": "Matic Testnet Mumbai",
|
"name": "Matic(Polygon) Testnet Mumbai",
|
||||||
"chain": "Matic",
|
"chain": "Matic(Polygon)",
|
||||||
"network": "testnet",
|
"network": "testnet",
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://rpc-mumbai.matic.today",
|
"https://rpc-mumbai.matic.today",
|
||||||
"wss://ws-mumbai.matic.today"
|
"wss://ws-mumbai.matic.today"
|
||||||
],
|
],
|
||||||
"faucets": [
|
"faucets": [
|
||||||
"https://faucet.matic.network/"
|
"https://faucet.matic.network/"
|
||||||
],
|
],
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
"name": "Matic",
|
"name": "Matic",
|
||||||
"symbol": "tMATIC",
|
"symbol": "tMATIC",
|
||||||
"decimals": 18
|
"decimals": 18
|
||||||
},
|
},
|
||||||
"infoURL": "https://matic.network/",
|
"infoURL": "https://matic.network/",
|
||||||
"shortName": "maticmum",
|
"shortName": "maticmum",
|
||||||
"chainId": 80001,
|
"chainId": 80001,
|
||||||
"networkId": 80001
|
"networkId": 80001,
|
||||||
}
|
"explorers": [{
|
||||||
|
"name": "polygonscan",
|
||||||
|
"url": "https://mumbai.polygonscan.com/",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
|
24
_data/chains/eip155-8723.json
Normal file
24
_data/chains/eip155-8723.json
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"name": "TOOL Global Mainnet",
|
||||||
|
"chain": "OLO",
|
||||||
|
"network": "mainnet",
|
||||||
|
"rpc": [
|
||||||
|
"https://mainnet-web3.wolot.io"
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "TOOL Global",
|
||||||
|
"symbol": "OLO",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"infoURL": "https://ibdt.io",
|
||||||
|
"shortName": "olo",
|
||||||
|
"chainId": 8723,
|
||||||
|
"networkId": 8723,
|
||||||
|
"slip44": 479,
|
||||||
|
"explorers": [{
|
||||||
|
"name": "OLO Block Explorer",
|
||||||
|
"url": "https://www.olo.network",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}]
|
||||||
|
}
|
|
@ -14,7 +14,7 @@
|
||||||
"decimals": 18
|
"decimals": 18
|
||||||
},
|
},
|
||||||
"infoURL": "https://testnet-explorer.wolot.io",
|
"infoURL": "https://testnet-explorer.wolot.io",
|
||||||
"shortName": "olo",
|
"shortName": "tolo",
|
||||||
"chainId": 8724,
|
"chainId": 8724,
|
||||||
"networkId": 8724,
|
"networkId": 8724,
|
||||||
"slip44": 479
|
"slip44": 479
|
||||||
|
|
|
@ -14,5 +14,6 @@
|
||||||
"infoURL": "https://www.wanscan.org",
|
"infoURL": "https://www.wanscan.org",
|
||||||
"shortName": "wan",
|
"shortName": "wan",
|
||||||
"chainId": 888,
|
"chainId": 888,
|
||||||
"networkId": 888
|
"networkId": 888,
|
||||||
|
"slip44": 5718350
|
||||||
}
|
}
|
||||||
|
|
8
_data/icons/oneledger.json
Normal file
8
_data/icons/oneledger.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"url": "ipfs://QmRhqq4Gp8G9w27ND3LeFW49o5PxcxrbJsqHbpBFtzEMfC",
|
||||||
|
"width": 225,
|
||||||
|
"height": 225,
|
||||||
|
"format": "png"
|
||||||
|
}
|
||||||
|
]
|
8
_data/icons/polis.json
Normal file
8
_data/icons/polis.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"url":"ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",
|
||||||
|
"width":1050,
|
||||||
|
"height":1050,
|
||||||
|
"format":"png"
|
||||||
|
}
|
||||||
|
]
|
8
_data/icons/polyjuice.json
Normal file
8
_data/icons/polyjuice.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"url":"ipfs://QmZ5gFWUxLFqqT3DkefYfRsVksMwMTc5VvBjkbHpeFMsNe",
|
||||||
|
"width":1000,
|
||||||
|
"height":1628,
|
||||||
|
"format":"png"
|
||||||
|
}
|
||||||
|
]
|
|
@ -1,7 +1,7 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
ext {
|
||||||
KOTLIN_VERSION = "1.5.20"
|
KOTLIN_VERSION = "1.5.30"
|
||||||
KETHEREUM_VERSION = "0.84.4"
|
KETHEREUM_VERSION = "0.85.3"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
269
gradlew
vendored
269
gradlew
vendored
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env sh
|
#!/bin/sh
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright 2015 the original author or authors.
|
# Copyright © 2015-2021 the original authors.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
@ -17,67 +17,101 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
##
|
#
|
||||||
## Gradle start up script for UN*X
|
# Gradle start up script for POSIX generated by Gradle.
|
||||||
##
|
#
|
||||||
|
# Important for running:
|
||||||
|
#
|
||||||
|
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||||
|
# noncompliant, but you have some other compliant shell such as ksh or
|
||||||
|
# bash, then to run this script, type that shell name before the whole
|
||||||
|
# command line, like:
|
||||||
|
#
|
||||||
|
# ksh Gradle
|
||||||
|
#
|
||||||
|
# Busybox and similar reduced shells will NOT work, because this script
|
||||||
|
# requires all of these POSIX shell features:
|
||||||
|
# * functions;
|
||||||
|
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||||
|
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||||
|
# * compound commands having a testable exit status, especially «case»;
|
||||||
|
# * various built-in commands including «command», «set», and «ulimit».
|
||||||
|
#
|
||||||
|
# Important for patching:
|
||||||
|
#
|
||||||
|
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||||
|
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||||
|
#
|
||||||
|
# The "traditional" practice of packing multiple parameters into a
|
||||||
|
# space-separated string is a well documented source of bugs and security
|
||||||
|
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||||
|
# options in "$@", and eventually passing that to Java.
|
||||||
|
#
|
||||||
|
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||||
|
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||||
|
# see the in-line comments for details.
|
||||||
|
#
|
||||||
|
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||||
|
# Darwin, MinGW, and NonStop.
|
||||||
|
#
|
||||||
|
# (3) This script is generated from the Groovy template
|
||||||
|
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||||
|
# within the Gradle project.
|
||||||
|
#
|
||||||
|
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||||
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Attempt to set APP_HOME
|
# Attempt to set APP_HOME
|
||||||
|
|
||||||
# Resolve links: $0 may be a link
|
# Resolve links: $0 may be a link
|
||||||
PRG="$0"
|
app_path=$0
|
||||||
# Need this for relative symlinks.
|
|
||||||
while [ -h "$PRG" ] ; do
|
# Need this for daisy-chained symlinks.
|
||||||
ls=`ls -ld "$PRG"`
|
while
|
||||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||||
if expr "$link" : '/.*' > /dev/null; then
|
[ -h "$app_path" ]
|
||||||
PRG="$link"
|
do
|
||||||
else
|
ls=$( ls -ld "$app_path" )
|
||||||
PRG=`dirname "$PRG"`"/$link"
|
link=${ls#*' -> '}
|
||||||
fi
|
case $link in #(
|
||||||
|
/*) app_path=$link ;; #(
|
||||||
|
*) app_path=$APP_HOME$link ;;
|
||||||
|
esac
|
||||||
done
|
done
|
||||||
SAVED="`pwd`"
|
|
||||||
cd "`dirname \"$PRG\"`/" >/dev/null
|
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||||
APP_HOME="`pwd -P`"
|
|
||||||
cd "$SAVED" >/dev/null
|
|
||||||
|
|
||||||
APP_NAME="Gradle"
|
APP_NAME="Gradle"
|
||||||
APP_BASE_NAME=`basename "$0"`
|
APP_BASE_NAME=${0##*/}
|
||||||
|
|
||||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||||
|
|
||||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
MAX_FD="maximum"
|
MAX_FD=maximum
|
||||||
|
|
||||||
warn () {
|
warn () {
|
||||||
echo "$*"
|
echo "$*"
|
||||||
}
|
} >&2
|
||||||
|
|
||||||
die () {
|
die () {
|
||||||
echo
|
echo
|
||||||
echo "$*"
|
echo "$*"
|
||||||
echo
|
echo
|
||||||
exit 1
|
exit 1
|
||||||
}
|
} >&2
|
||||||
|
|
||||||
# OS specific support (must be 'true' or 'false').
|
# OS specific support (must be 'true' or 'false').
|
||||||
cygwin=false
|
cygwin=false
|
||||||
msys=false
|
msys=false
|
||||||
darwin=false
|
darwin=false
|
||||||
nonstop=false
|
nonstop=false
|
||||||
case "`uname`" in
|
case "$( uname )" in #(
|
||||||
CYGWIN* )
|
CYGWIN* ) cygwin=true ;; #(
|
||||||
cygwin=true
|
Darwin* ) darwin=true ;; #(
|
||||||
;;
|
MSYS* | MINGW* ) msys=true ;; #(
|
||||||
Darwin* )
|
NONSTOP* ) nonstop=true ;;
|
||||||
darwin=true
|
|
||||||
;;
|
|
||||||
MSYS* | MINGW* )
|
|
||||||
msys=true
|
|
||||||
;;
|
|
||||||
NONSTOP* )
|
|
||||||
nonstop=true
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||||
|
@ -87,9 +121,9 @@ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||||
if [ -n "$JAVA_HOME" ] ; then
|
if [ -n "$JAVA_HOME" ] ; then
|
||||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||||
# IBM's JDK on AIX uses strange locations for the executables
|
# IBM's JDK on AIX uses strange locations for the executables
|
||||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||||
else
|
else
|
||||||
JAVACMD="$JAVA_HOME/bin/java"
|
JAVACMD=$JAVA_HOME/bin/java
|
||||||
fi
|
fi
|
||||||
if [ ! -x "$JAVACMD" ] ; then
|
if [ ! -x "$JAVACMD" ] ; then
|
||||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||||
|
@ -98,7 +132,7 @@ Please set the JAVA_HOME variable in your environment to match the
|
||||||
location of your Java installation."
|
location of your Java installation."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
JAVACMD="java"
|
JAVACMD=java
|
||||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||||
|
|
||||||
Please set the JAVA_HOME variable in your environment to match the
|
Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
@ -106,80 +140,95 @@ location of your Java installation."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Increase the maximum file descriptors if we can.
|
# Increase the maximum file descriptors if we can.
|
||||||
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||||
MAX_FD_LIMIT=`ulimit -H -n`
|
case $MAX_FD in #(
|
||||||
if [ $? -eq 0 ] ; then
|
max*)
|
||||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
MAX_FD=$( ulimit -H -n ) ||
|
||||||
MAX_FD="$MAX_FD_LIMIT"
|
warn "Could not query maximum file descriptor limit"
|
||||||
fi
|
esac
|
||||||
ulimit -n $MAX_FD
|
case $MAX_FD in #(
|
||||||
if [ $? -ne 0 ] ; then
|
'' | soft) :;; #(
|
||||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
*)
|
||||||
fi
|
ulimit -n "$MAX_FD" ||
|
||||||
else
|
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# For Darwin, add options to specify how the application appears in the dock
|
|
||||||
if $darwin; then
|
|
||||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
|
||||||
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
|
|
||||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
|
||||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
|
||||||
|
|
||||||
JAVACMD=`cygpath --unix "$JAVACMD"`
|
|
||||||
|
|
||||||
# We build the pattern for arguments to be converted via cygpath
|
|
||||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
|
||||||
SEP=""
|
|
||||||
for dir in $ROOTDIRSRAW ; do
|
|
||||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
|
||||||
SEP="|"
|
|
||||||
done
|
|
||||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
|
||||||
# Add a user-defined pattern to the cygpath arguments
|
|
||||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
|
||||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
|
||||||
fi
|
|
||||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
|
||||||
i=0
|
|
||||||
for arg in "$@" ; do
|
|
||||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
|
||||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
|
||||||
|
|
||||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
|
||||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
|
||||||
else
|
|
||||||
eval `echo args$i`="\"$arg\""
|
|
||||||
fi
|
|
||||||
i=`expr $i + 1`
|
|
||||||
done
|
|
||||||
case $i in
|
|
||||||
0) set -- ;;
|
|
||||||
1) set -- "$args0" ;;
|
|
||||||
2) set -- "$args0" "$args1" ;;
|
|
||||||
3) set -- "$args0" "$args1" "$args2" ;;
|
|
||||||
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
|
||||||
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
|
||||||
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
|
||||||
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
|
||||||
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
|
||||||
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Escape application args
|
# Collect all arguments for the java command, stacking in reverse order:
|
||||||
save () {
|
# * args from the command line
|
||||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
# * the main class name
|
||||||
echo " "
|
# * -classpath
|
||||||
}
|
# * -D...appname settings
|
||||||
APP_ARGS=`save "$@"`
|
# * --module-path (only if needed)
|
||||||
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||||
|
|
||||||
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||||
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
if "$cygwin" || "$msys" ; then
|
||||||
|
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||||
|
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||||
|
|
||||||
|
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||||
|
|
||||||
|
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||||
|
for arg do
|
||||||
|
if
|
||||||
|
case $arg in #(
|
||||||
|
-*) false ;; # don't mess with options #(
|
||||||
|
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||||
|
[ -e "$t" ] ;; #(
|
||||||
|
*) false ;;
|
||||||
|
esac
|
||||||
|
then
|
||||||
|
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||||
|
fi
|
||||||
|
# Roll the args list around exactly as many times as the number of
|
||||||
|
# args, so each arg winds up back in the position where it started, but
|
||||||
|
# possibly modified.
|
||||||
|
#
|
||||||
|
# NB: a `for` loop captures its iteration list before it begins, so
|
||||||
|
# changing the positional parameters here affects neither the number of
|
||||||
|
# iterations, nor the values presented in `arg`.
|
||||||
|
shift # remove old arg
|
||||||
|
set -- "$@" "$arg" # push replacement arg
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Collect all arguments for the java command;
|
||||||
|
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||||
|
# shell script including quotes and variable substitutions, so put them in
|
||||||
|
# double quotes to make sure that they get re-expanded; and
|
||||||
|
# * put everything else in single quotes, so that it's not re-expanded.
|
||||||
|
|
||||||
|
set -- \
|
||||||
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||||
|
-classpath "$CLASSPATH" \
|
||||||
|
org.gradle.wrapper.GradleWrapperMain \
|
||||||
|
"$@"
|
||||||
|
|
||||||
|
# Use "xargs" to parse quoted args.
|
||||||
|
#
|
||||||
|
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||||
|
#
|
||||||
|
# In Bash we could simply go:
|
||||||
|
#
|
||||||
|
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||||
|
# set -- "${ARGS[@]}" "$@"
|
||||||
|
#
|
||||||
|
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||||
|
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||||
|
# character that might be a shell metacharacter, then use eval to reverse
|
||||||
|
# that process (while maintaining the separation between arguments), and wrap
|
||||||
|
# the whole thing up as a single "set" statement.
|
||||||
|
#
|
||||||
|
# This will of course break if any of these variables contains a newline or
|
||||||
|
# an unmatched quote.
|
||||||
|
#
|
||||||
|
|
||||||
|
eval "set -- $(
|
||||||
|
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||||
|
xargs -n1 |
|
||||||
|
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||||
|
tr '\n' ' '
|
||||||
|
)" '"$@"'
|
||||||
|
|
||||||
exec "$JAVACMD" "$@"
|
exec "$JAVACMD" "$@"
|
||||||
|
|
|
@ -8,7 +8,6 @@ import org.ethereum.lists.chains.model.*
|
||||||
import org.kethereum.erc55.isValid
|
import org.kethereum.erc55.isValid
|
||||||
import org.kethereum.model.Address
|
import org.kethereum.model.Address
|
||||||
import org.kethereum.rpc.HttpEthereumRPC
|
import org.kethereum.rpc.HttpEthereumRPC
|
||||||
import java.lang.IllegalArgumentException
|
|
||||||
|
|
||||||
val parsedShortNames = mutableSetOf<String>()
|
val parsedShortNames = mutableSetOf<String>()
|
||||||
val parsedNames = mutableSetOf<String>()
|
val parsedNames = mutableSetOf<String>()
|
||||||
|
@ -27,24 +26,18 @@ fun main(args: Array<String>) {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun createOutputFiles() {
|
private fun createOutputFiles() {
|
||||||
val buildPath = File("output")
|
val buildPath = File("output").apply { mkdir() }
|
||||||
buildPath.mkdir()
|
|
||||||
|
|
||||||
val fullJSONFile = File(buildPath, "chains.json")
|
|
||||||
val prettyJSONFile = File(buildPath, "chains_pretty.json")
|
|
||||||
val miniJSONFile = File(buildPath, "chains_mini.json")
|
|
||||||
val prettyMiniJSONFile = File(buildPath, "chains_mini_pretty.json")
|
|
||||||
|
|
||||||
val chainJSONArray = JsonArray<JsonObject>()
|
val chainJSONArray = JsonArray<JsonObject>()
|
||||||
val miniChainJSONArray = JsonArray<JsonObject>()
|
val miniChainJSONArray = JsonArray<JsonObject>()
|
||||||
|
val shortNameMapping = JsonObject()
|
||||||
|
|
||||||
allChainFiles
|
allChainFiles
|
||||||
.map { Klaxon().parseJsonObject(it.reader()) }
|
.map { Klaxon().parseJsonObject(it.reader()) }
|
||||||
.sortedBy { (it["chainId"] as Number).toLong() }
|
.sortedBy { (it["chainId"] as Number).toLong() }
|
||||||
.forEach { jsonObject ->
|
.forEach { jsonObject ->
|
||||||
chainJSONArray.add(jsonObject)
|
chainJSONArray.add(jsonObject)
|
||||||
fullJSONFile.writeText(chainJSONArray.toJsonString())
|
|
||||||
prettyJSONFile.writeText(chainJSONArray.toJsonString(prettyPrint = true))
|
|
||||||
|
|
||||||
val miniJSON = JsonObject()
|
val miniJSON = JsonObject()
|
||||||
listOf("name", "chainId", "shortName", "networkId", "nativeCurrency", "rpc", "faucets", "infoURL").forEach { field ->
|
listOf("name", "chainId", "shortName", "networkId", "nativeCurrency", "rpc", "faucets", "infoURL").forEach { field ->
|
||||||
|
@ -54,10 +47,17 @@ private fun createOutputFiles() {
|
||||||
}
|
}
|
||||||
miniChainJSONArray.add(miniJSON)
|
miniChainJSONArray.add(miniJSON)
|
||||||
|
|
||||||
miniJSONFile.writeText(miniChainJSONArray.toJsonString())
|
shortNameMapping[jsonObject["shortName"] as String] = "eip155:" + jsonObject["chainId"]
|
||||||
prettyMiniJSONFile.writeText(miniChainJSONArray.toJsonString(prettyPrint = true))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File(buildPath, "chains.json").writeText(chainJSONArray.toJsonString())
|
||||||
|
File(buildPath, "chains_pretty.json").writeText(chainJSONArray.toJsonString(prettyPrint = true))
|
||||||
|
|
||||||
|
File(buildPath, "chains_mini.json").writeText(miniChainJSONArray.toJsonString())
|
||||||
|
File(buildPath, "chains_mini_pretty.json").writeText(miniChainJSONArray.toJsonString(prettyPrint = true))
|
||||||
|
|
||||||
|
File(buildPath, "shortNameMapping.json").writeText(shortNameMapping.toJsonString(prettyPrint = true))
|
||||||
File(buildPath, "index.html").writeText(
|
File(buildPath, "index.html").writeText(
|
||||||
"""
|
"""
|
||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
|
@ -215,10 +215,28 @@ fun checkChain(chainFile: File, connectRPC: Boolean) {
|
||||||
throw ParentMustBeObject()
|
throw ParentMustBeObject()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (it.keys != mutableSetOf("chain", "type")) {
|
if (!it.keys.containsAll(setOf("chain", "type"))) {
|
||||||
throw ParentMustHaveChainAndType()
|
throw ParentMustHaveChainAndType()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
val extraFields = it.keys - setOf("chain", "type", "bridges")
|
||||||
|
if (extraFields.isNotEmpty()) {
|
||||||
|
throw ParentHasExtraFields(extraFields)
|
||||||
|
}
|
||||||
|
|
||||||
|
val bridges = it["bridges"]
|
||||||
|
if (bridges != null && bridges !is List<*>) {
|
||||||
|
throw ParentBridgeNoArray()
|
||||||
|
}
|
||||||
|
(bridges as? JsonArray<*>)?.forEach { bridge ->
|
||||||
|
if (bridge !is JsonObject) {
|
||||||
|
throw BridgeNoObject()
|
||||||
|
}
|
||||||
|
if (bridge.keys.size != 1 || bridge.keys.first() != "url") {
|
||||||
|
throw BridgeOnlyURL()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!setOf("L2", "shard").contains(it["type"])) {
|
if (!setOf("L2", "shard").contains(it["type"])) {
|
||||||
throw ParentHasInvalidType(it["type"] as? String)
|
throw ParentHasInvalidType(it["type"] as? String)
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,4 +19,8 @@ class ExplorerStandardMustBeEIP3091: Exception("explorer standard must be EIP309
|
||||||
class ParentHasInvalidType(type: String?): Exception("Parent has invalid type $type - only L2 or shard allowed")
|
class ParentHasInvalidType(type: String?): Exception("Parent has invalid type $type - only L2 or shard allowed")
|
||||||
class ParentMustBeObject: Exception("parent must be an object")
|
class ParentMustBeObject: Exception("parent must be an object")
|
||||||
class ParentMustHaveChainAndType: Exception("parent must have fields 'chain' and 'type'")
|
class ParentMustHaveChainAndType: Exception("parent must have fields 'chain' and 'type'")
|
||||||
|
class ParentHasExtraFields(fields: Set<String>): Exception("parent has extra field: $fields")
|
||||||
|
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 ParentChainDoesNotExist(chain: String): Exception("Referenced parent chain ($chain) does not exist")
|
|
@ -35,6 +35,20 @@ class TheChainChecker {
|
||||||
checkChain(file, false)
|
checkChain(file, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun shouldPassForValidChainWithParentBridge() {
|
||||||
|
val file = getFile("valid/withparentbridge/eip155-2.json")
|
||||||
|
|
||||||
|
checkChain(file, false)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test(expected = BridgeNoObject::class)
|
||||||
|
fun shouldFailForParentBridgeElementNoObject() {
|
||||||
|
val file = getFile("invalid/withparentextrabridgeelementnoobject/eip155-2.json")
|
||||||
|
|
||||||
|
checkChain(file, false)
|
||||||
|
}
|
||||||
|
|
||||||
@Test(expected = ParentMustBeObject::class)
|
@Test(expected = ParentMustBeObject::class)
|
||||||
fun shouldFailForParentNoObject() {
|
fun shouldFailForParentNoObject() {
|
||||||
val file = getFile("invalid/withparentnobject/eip155-2.json")
|
val file = getFile("invalid/withparentnobject/eip155-2.json")
|
||||||
|
@ -49,6 +63,33 @@ class TheChainChecker {
|
||||||
checkChain(file, false)
|
checkChain(file, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test(expected = ParentHasExtraFields::class)
|
||||||
|
fun shouldFailForParentWithExtraParentField() {
|
||||||
|
val file = getFile("invalid/withparentextrafield/eip155-2.json")
|
||||||
|
|
||||||
|
checkChain(file, false)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test(expected = ParentHasExtraFields::class)
|
||||||
|
fun shouldFailForParentWithExtraField() {
|
||||||
|
val file = getFile("invalid/withparentextrafield/eip155-2.json")
|
||||||
|
|
||||||
|
checkChain(file, false)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test(expected = BridgeOnlyURL::class)
|
||||||
|
fun shouldFailForParentWithExtraBridgesField() {
|
||||||
|
val file = getFile("invalid/withparentextrabridgesfield/eip155-2.json")
|
||||||
|
|
||||||
|
checkChain(file, false)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test(expected = ParentBridgeNoArray::class)
|
||||||
|
fun shouldFailForParentWithExtraBridgeNoArray() {
|
||||||
|
val file = getFile("invalid/withparentextrabridgesnoarray/eip155-2.json")
|
||||||
|
|
||||||
|
checkChain(file, false)
|
||||||
|
}
|
||||||
|
|
||||||
@Test(expected = ParentChainDoesNotExist::class)
|
@Test(expected = ParentChainDoesNotExist::class)
|
||||||
fun shouldFailIfParentChainDoesNotExist() {
|
fun shouldFailIfParentChainDoesNotExist() {
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"name": "Ethereum Mainnet",
|
||||||
|
"shortName": "eth",
|
||||||
|
"chain": "ETH",
|
||||||
|
"network": "mainnet",
|
||||||
|
"chainId": 2,
|
||||||
|
"networkId": 2,
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"parent": {
|
||||||
|
"chain": "eip155-1",
|
||||||
|
"type": "L2",
|
||||||
|
"bridges": ["yolo"]
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"name": "Ethereum Mainnet",
|
||||||
|
"shortName": "eth",
|
||||||
|
"chain": "ETH",
|
||||||
|
"network": "mainnet",
|
||||||
|
"chainId": 2,
|
||||||
|
"networkId": 2,
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"parent": {
|
||||||
|
"chain": "eip155-1",
|
||||||
|
"type": "L2",
|
||||||
|
"bridges": [{"yolo":"yoooo"}]
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"name": "Ethereum Mainnet",
|
||||||
|
"shortName": "eth",
|
||||||
|
"chain": "ETH",
|
||||||
|
"network": "mainnet",
|
||||||
|
"chainId": 2,
|
||||||
|
"networkId": 2,
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"parent": {
|
||||||
|
"chain": "eip155-1",
|
||||||
|
"type": "L2",
|
||||||
|
"bridges": "yolo"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"name": "Ethereum Mainnet",
|
||||||
|
"shortName": "eth",
|
||||||
|
"chain": "ETH",
|
||||||
|
"network": "mainnet",
|
||||||
|
"chainId": 2,
|
||||||
|
"networkId": 2,
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"parent": {
|
||||||
|
"chain": "eip155-1",
|
||||||
|
"type": "L2",
|
||||||
|
"yolo": "yooooo"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"name": "Ethereum Mainnet",
|
||||||
|
"shortName": "eth",
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
"name": "Ethereum Mainnet",
|
||||||
|
"shortName": "eth",
|
||||||
|
"chain": "ETH",
|
||||||
|
"network": "mainnet",
|
||||||
|
"chainId": 2,
|
||||||
|
"networkId": 2,
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"parent": {
|
||||||
|
"chain": "eip155-1",
|
||||||
|
"type": "L2",
|
||||||
|
"bridges": [
|
||||||
|
{"url": "https://bridge.foo.org"}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user