Merge branch 'master' into 1898

This commit is contained in:
toorls 2022-04-13 16:45:58 +08:00 committed by GitHub
commit 1b20ef6b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
78 changed files with 950 additions and 64 deletions

View File

@ -101,4 +101,5 @@ There are also aggregated json files with all chains automatically assembled:
* [chainmap.io](https://chainmap.io)
* [chainlist.in](https://www.chainlist.in)
* [chainz.me](https://chainz.me)
* [Otterscan](https://otterscan.io)
* Your project - contact us to add it here!

View File

@ -1,6 +1,7 @@
{
"name": "Gnosis Chain (formerly xDai)",
"chain": "Gnosis",
"icon": "gnosis",
"rpc": [
"https://rpc.gnosischain.com",
"https://xdai.poanetwork.dev",
@ -21,10 +22,10 @@
"chainId": 100,
"networkId": 100,
"slip44": 700,
"explorers": [{
"name": "blockscout",
"url": "https://blockscout.com/xdai/mainnet",
"icon": "blockscout",
"standard": "EIP3091"
}]
}

View File

@ -0,0 +1,28 @@
{
"name":"Eurus Mainnet",
"chain":"EUN",
"network":"eurus",
"rpc":[
"https://mainnet.eurus.network/"
],
"faucets":[
],
"nativeCurrency":{
"name":"Eurus",
"symbol":"EUN",
"decimals":18
},
"infoURL":"https://eurus.network",
"shortName":"eun",
"chainId":1008,
"networkId":1008,
"icon":"eurus",
"explorers":[
{
"name":"eurusexplorer",
"url":"https://explorer.eurus.network",
"icon":"eurus",
"standard":"none"
}
]
}

View File

@ -3,8 +3,7 @@
"chain": "NTN",
"icon": "nebulatestnet",
"rpc": [
"https://testnet.rpc.novanetwork.io:9070",
"http://testnet.rpc.novanetwork.io:8545"
"https://testnet.rpc.novanetwork.io:9070"
],
"faucets": [],
"nativeCurrency": {

View File

@ -3,9 +3,11 @@
"chain": "WAGMI",
"icon": "wagmi",
"rpc": [
"https://api.trywagmi.xyz/rpc"
"https://subnets.avax.network/wagmi/wagmi-chain-testnet/rpc"
],
"faucets": [
"https://faucet.trywagmi.xyz"
],
"faucets": [],
"nativeCurrency": {
"name": "WAGMI",
"symbol": "WGM",
@ -18,8 +20,8 @@
"explorers": [
{
"name": "WAGMI Explorer",
"url": "https://trywagmi.xyz",
"standard": "none"
"url": "https://subnets.avax.network/wagmi/wagmi-chain-testnet/explorer",
"standard": "EIP3091"
}
]
}
}

View File

@ -2,9 +2,11 @@
"name": "Sepolia",
"title": "Ethereum Testnet Sepolia",
"chain": "ETH",
"network": "testnet",
"rpc": [
],
"faucets": [
"http://fauceth.komputing.org?chain=11155111&address=${ADDRESS}"
],
"nativeCurrency": {
"name": "Sepolia Ether",

View File

@ -1,5 +1,5 @@
{
"name": "Moonrock",
"name": "Moonrock old",
"chain": "MOON",
"rpc": [],
"faucets": [],
@ -9,7 +9,8 @@
"decimals": 18
},
"infoURL": "",
"shortName": "mrock",
"shortName": "mrock-old",
"chainId": 1286,
"networkId": 1286
}
"networkId": 1286,
"deprecated": true
}

View File

@ -0,0 +1,16 @@
{
"name": "CENNZnet old",
"chain": "CENNZnet",
"rpc": [],
"faucets": [],
"nativeCurrency": {
"name": "CPAY",
"symbol": "CPAY",
"decimals": 18
},
"infoURL": "https://cennz.net",
"shortName": "cennz-old",
"chainId": 1337,
"networkId": 1337,
"deprecated": true
}

View File

@ -0,0 +1,26 @@
{
"name": "Openpiece Testnet",
"chain": "OPENPIECE",
"icon": "openpiece",
"network": "testnet",
"rpc": [
"https://testnet.openpiece.io"
],
"faucets": [],
"nativeCurrency": {
"name": "Belly",
"symbol": "BELLY",
"decimals": 18
},
"infoURL": "https://cryptopiece.online",
"shortName": "OPtest",
"chainId": 141,
"networkId": 141,
"explorers": [
{
"name": "Belly Scan",
"url": "https://testnet.bellyscan.com",
"standard": "none"
}
]
}

View File

@ -9,7 +9,7 @@
],
"nativeCurrency": {
"name": "MetaDot Token TestNet",
"symbol": "MTT-test",
"symbol": "MTTest",
"decimals": 18
},
"infoURL": "https://metadot.network",

View File

@ -2,7 +2,8 @@
"name": "Harmony Mainnet Shard 0",
"chain": "Harmony",
"rpc": [
"https://api.harmony.one"
"https://api.harmony.one",
"https://api.s0.t.hmny.io"
],
"faucets": ["https://free-online-app.com/faucet-for-eth-evm-chains/"],
"nativeCurrency": {

View File

@ -2,7 +2,7 @@
"name": "Harmony Mainnet Shard 1",
"chain": "Harmony",
"rpc": [
"https://s1.api.harmony.one"
"https://api.s1.t.hmny.io"
],
"faucets": [
],

View File

@ -2,7 +2,7 @@
"name": "Harmony Mainnet Shard 2",
"chain": "Harmony",
"rpc": [
"https://s2.api.harmony.one"
"https://api.s2.t.hmny.io"
],
"faucets": [
],

View File

@ -2,7 +2,7 @@
"name": "Harmony Mainnet Shard 3",
"chain": "Harmony",
"rpc": [
"https://s3.api.harmony.one"
"https://api.s3.t.hmny.io"
],
"faucets": [
],

View File

@ -0,0 +1,25 @@
{
"name": "AIOZ Network",
"chain": "AIOZ",
"network": "mainnet",
"icon": "aioz",
"rpc": [
"https://eth-dataseed.aioz.network"
],
"faucets": [],
"nativeCurrency": {
"name": "AIOZ",
"symbol": "AIOZ",
"decimals": 18
},
"infoURL": "https://aioz.network",
"shortName": "aioz",
"chainId": 168,
"networkId": 168,
"slip44": 60,
"explorers": [{
"name": "AIOZ Network Explorer",
"url": "https://explorer.aioz.network",
"standard": "EIP3091"
}]
}

View File

@ -0,0 +1,18 @@
{
"name": "LUDAN Mainnet",
"chain": "LUDAN",
"rpc": [
"https://rpc.ludan.org/"
],
"faucets": [],
"nativeCurrency": {
"name": "LUDAN",
"symbol": "LUDAN",
"decimals": 18
},
"infoURL": "https://www.ludan.org/",
"shortName": "LUDAN",
"icon": "ludan",
"chainId": 1688,
"networkId": 1688
}

View File

@ -0,0 +1,28 @@
{
"name":"Eurus Testnet",
"chain":"EUN",
"network":"eurus-testnet",
"rpc":[
"https://testnet.eurus.network"
],
"faucets":[
],
"nativeCurrency":{
"name":"Eurus",
"symbol":"EUN",
"decimals":18
},
"infoURL":"https://eurus.network",
"shortName":"euntest",
"chainId":1984,
"networkId":1984,
"icon":"eurus",
"explorers":[
{
"name":"testnetexplorer",
"url":"https://testnetexplorer.eurus.network",
"icon":"eurus",
"standard":"none"
}
]
}

View File

@ -0,0 +1,27 @@
{
"name": "Milkomeda C1 Mainnet",
"chain": "milkAda",
"icon": "milkomeda",
"network": "mainnet",
"rpc": [
"https://rpc-mainnet-cardano-evm.c1.milkomeda.com",
"wss://rpc-mainnet-cardano-evm.c1.milkomeda.com"
],
"faucets": [],
"nativeCurrency": {
"name": "milkAda",
"symbol": "mADA",
"decimals": 18
},
"infoURL": "https://milkomeda.com",
"shortName": "milkAda",
"chainId": 2001,
"networkId": 2001,
"explorers": [
{
"name": "Blockscout",
"url": "https://explorer-mainnet-cardano-evm.c1.milkomeda.com",
"standard": "none"
}
]
}

View File

@ -0,0 +1,27 @@
{
"name": "Milkomeda C1 Testnet",
"chain": "milkTAda",
"icon": "milkomeda",
"network": "testnet",
"rpc": [
"https://rpc-devnet-cardano-evm.c1.milkomeda.com",
"wss://rpc-devnet-cardano-evm.c1.milkomeda.com"
],
"faucets": [],
"nativeCurrency": {
"name": "milkTAda",
"symbol": "mTAda",
"decimals": 18
},
"infoURL": "https://milkomeda.com",
"shortName": "milkTAda",
"chainId": 200101,
"networkId": 200101,
"explorers": [
{
"name": "Blockscout",
"url": "https://explorer-devnet-cardano-evm.c1.milkomeda.com",
"standard": "none"
}
]
}

View File

@ -3,7 +3,7 @@
"chain": "Alaya",
"rpc": [
"https://openapi.alaya.network/rpc",
"wss://openapi.alaya.network/ws"
"wss://openapi.alaya.network/ws"
],
"faucets": [],
"nativeCurrency": {

View File

@ -4,7 +4,7 @@
"network": "mainnet",
"rpc": [
"https://openapi.platon.network/rpc",
"wss://openapi.platon.network/ws"
"wss://openapi.platon.network/ws"
],
"faucets": [],
"nativeCurrency": {

View File

@ -0,0 +1,24 @@
{
"name": "CENNZnet Azalea",
"chain": "CENNZnet",
"network": "azalea",
"rpc": [
"https://cennznet.unfrastructure.io/public"
],
"faucets": [],
"nativeCurrency": {
"name": "CPAY",
"symbol": "CPAY",
"decimals": 18
},
"infoURL": "https://cennz.net",
"shortName": "cennz-a",
"chainId": 21337,
"networkId": 21337,
"icon": "cennz",
"explorers": [{
"name": "UNcover",
"url": "https://uncoverexplorer.com",
"standard": "none"
}]
}

View File

@ -0,0 +1,23 @@
{
"name": "Findora Mainnet",
"chain": "Findora",
"network": "mainnet",
"rpc": ["https://prod-mainnet.prod.findora.org:8545"],
"faucets": [],
"nativeCurrency": {
"name": "FRA",
"symbol": "FRA",
"decimals": 18
},
"infoURL": "https://findora.org/",
"shortName": "fra",
"chainId": 2152,
"networkId": 2152,
"explorers": [
{
"name": "findorascan",
"url": "https://evm.findorascan.io",
"standard": "EIP3091"
}
]
}

View File

@ -0,0 +1,23 @@
{
"name": "Findora Testnet",
"chain": "Testnet-anvil",
"network": "testnet",
"rpc": ["https://prod-testnet.prod.findora.org:8545/"],
"faucets": [],
"nativeCurrency": {
"name": "FRA",
"symbol": "FRA",
"decimals": 18
},
"infoURL": "https://findora.org/",
"shortName": "findora-testnet",
"chainId": 2153,
"networkId": 2153,
"explorers": [
{
"name": "findorascan",
"url": "https://testnet-anvil.evm.findorascan.io",
"standard": "EIP3091"
}
]
}

View File

@ -1,5 +1,5 @@
{
"name": "SoterOne Mainnet",
"name": "SoterOne Mainnet old",
"chain": "SOTER",
"rpc": [
"https://rpc.soter.one"
@ -12,7 +12,8 @@
"decimals": 18
},
"infoURL": "https://www.soterone.com",
"shortName": "SO1",
"shortName": "SO1-old",
"chainId": 218,
"networkId": 218
"networkId": 218,
"deprecated": true
}

View File

@ -2,8 +2,8 @@
"name": "PlatON Dev Testnet",
"chain": "PlatON",
"rpc": [
"https://devnetopenapi.platon.network/rpc",
"wss://devnetopenapi.platon.network/ws"
"https://devnetopenapi2.platon.network/rpc",
"wss://devnetopenapi2.platon.network/ws"
],
"faucets": [
"https://faucet.platon.network/faucet/?id=e5d32df10aee11ec911142010a667c03"
@ -15,7 +15,7 @@
},
"infoURL": "https://www.platon.network",
"shortName": "platondev",
"chainId": 210309,
"chainId": 2203181,
"networkId": 1,
"icon": "platon",
"explorers": [

View File

@ -0,0 +1,25 @@
{
"name": "Kava EVM Testnet",
"chain": "KAVA",
"network": "testnet",
"rpc": ["https://evm.evm-alpha.kava.io", "wss://evm-ws.evm-alpha.kava.io"],
"faucets": ["https://faucet.kava.io"],
"nativeCurrency": {
"name": "Kava",
"symbol": "KAVA",
"decimals": 18
},
"infoURL": "https://www.kava.io",
"shortName": "kava",
"chainId": 2221,
"networkId": 2221,
"icon": "kava",
"explorers": [
{
"name": "Kava Testnet Explorer",
"url": "https://explorer.evm-alpha.kava.io",
"standard": "EIP3091",
"icon": "kava"
}
]
}

View File

@ -0,0 +1,23 @@
{
"name": "LACHAIN Mainnet",
"chain": "LA",
"icon": "lachain",
"rpc": [
"https://rpc-mainnet.lachain.io"
],
"faucets": [],
"nativeCurrency": {
"name": "LA",
"symbol": "LA",
"decimals": 18
},
"infoURL": "https://lachain.io",
"shortName": "LA",
"chainId": 225,
"networkId": 225,
"explorers": [{
"name": "blockscout",
"url": "https://scan.lachain.io",
"standard": "EIP3091"
}]
}

View File

@ -0,0 +1,23 @@
{
"name": "LACHAIN Testnet",
"chain": "TLA",
"icon": "lachain",
"rpc": [
"https://rpc-testnet.lachain.io"
],
"faucets": [],
"nativeCurrency": {
"name": "TLA",
"symbol": "TLA",
"decimals": 18
},
"infoURL": "https://lachain.io",
"shortName": "TLA",
"chainId": 226,
"networkId": 226,
"explorers": [{
"name": "blockscout",
"url": "https://scan-test.lachain.io",
"standard": "EIP3091"
}]
}

View File

@ -2,6 +2,7 @@
"name": "Ropsten",
"title": "Ethereum Testnet Ropsten",
"chain": "ETH",
"network": "testnet",
"rpc": [
"https://ropsten.infura.io/v3/${INFURA_API_KEY}",
"wss://ropsten.infura.io/ws/v3/${INFURA_API_KEY}"

View File

@ -0,0 +1,24 @@
{
"name": "Optimism on Gnosis Chain",
"chain": "OGC",
"rpc": [
"https://optimism.gnosischain.com",
"wss://optimism.gnosischain.com/wss"
],
"faucets": ["https://faucet.gimlu.com/gnosis"],
"nativeCurrency": {
"name": "xDAI",
"symbol": "xDAI",
"decimals": 18
},
"infoURL": "https://www.xdaichain.com/for-developers/optimism-optimistic-rollups-on-gc",
"shortName": "ogc",
"chainId": 300,
"networkId": 300,
"explorers": [{
"name": "blockscout",
"url": "https://blockscout.com/xdai/optimism",
"icon": "blockscout",
"standard": "EIP3091"
}]
}

View File

@ -0,0 +1,21 @@
{
"name": "CENNZnet Rata",
"chain": "CENNZnet",
"network": "rata",
"rpc": [
"https://rata.centrality.me/public"
],
"faucets": [
"https://app-faucet.centrality.me"
],
"nativeCurrency": {
"name": "CPAY",
"symbol": "CPAY",
"decimals": 18
},
"infoURL": "https://cennz.net",
"shortName": "cennz-r",
"chainId": 3000,
"networkId": 3000,
"icon": "cennz"
}

View File

@ -0,0 +1,26 @@
{
"name": "CENNZnet Nikau",
"chain": "CENNZnet",
"network": "nikau",
"rpc": [
"https://nikau.centrality.me/public"
],
"faucets": [
"https://app-faucet.centrality.me"
],
"nativeCurrency": {
"name": "CPAY",
"symbol": "CPAY",
"decimals": 18
},
"infoURL": "https://cennz.net",
"shortName": "cennz-n",
"chainId": 3001,
"networkId": 3001,
"icon": "cennz",
"explorers": [{
"name": "UNcover",
"url": "https://www.uncoverexplorer.com/?network=Nikau",
"standard": "none"
}]
}

View File

@ -0,0 +1,27 @@
{
"name": "DFK Chain Test",
"chain": "DFK",
"icon": "dfk",
"network": "testnet",
"rpc": [
"https://subnets.avax.network/defi-kingdoms/dfk-chain-testnet/rpc"
],
"faucets": [],
"nativeCurrency": {
"name": "Jewel",
"symbol": "JEWEL",
"decimals": 18
},
"infoURL": "https://defikingdoms.com",
"shortName": "DFKTEST",
"chainId": 335,
"networkId": 335,
"explorers": [
{
"name": "ethernal",
"url": "https://explorer-test.dfkchain.com",
"icon": "ethereum",
"standard": "none"
}
]
}

View File

@ -1,5 +1,5 @@
{
"name": "Gather Tesnet Network",
"name": "Gather Testnet Network",
"chain": "GTH",
"rpc": [
"https://testnet.gather.network"

View File

@ -9,11 +9,11 @@
],
"nativeCurrency": {
"name": "Lisinski Ether",
"symbol": "LISINSKI",
"symbol": "LISINS",
"decimals": 18
},
"infoURL": "https://lisinski.online",
"shortName": "lisinski",
"chainId": 385,
"networkId": 385
}
}

View File

@ -2,6 +2,7 @@
"name": "Rinkeby",
"title": "Ethereum Testnet Rinkeby",
"chain": "ETH",
"network": "testnet",
"rpc": [
"https://rinkeby.infura.io/v3/${INFURA_API_KEY}",
"wss://rinkeby.infura.io/ws/v3/${INFURA_API_KEY}"

View File

@ -0,0 +1,25 @@
{
"name": "AIOZ Network Testnet",
"chain": "AIOZ",
"network": "testnet",
"icon": "aioz",
"rpc": [
"https://eth-ds.testnet.aioz.network"
],
"faucets": [],
"nativeCurrency": {
"name": "testAIOZ",
"symbol": "AIOZ",
"decimals": 18
},
"infoURL": "https://aioz.network",
"shortName": "aioz-testnet",
"chainId": 4102,
"networkId": 4102,
"slip44": 60,
"explorers": [{
"name": "AIOZ Network Testnet Explorer",
"url": "https://testnet.explorer.aioz.network",
"standard": "EIP3091"
}]
}

View File

@ -2,6 +2,7 @@
"name": "Kovan",
"title": "Ethereum Testnet Kovan",
"chain": "ETH",
"network": "testnet",
"rpc": [
"https://kovan.poa.network",
"http://kovan.poa.network:8545",

View File

@ -0,0 +1,25 @@
{
"name": "Autobahn Network",
"chain": "BNB",
"network": "mainnet",
"rpc": [
"https://rpc.autobahn.network"
],
"faucets": [],
"nativeCurrency": {
"name": "BNB",
"symbol": "BNB",
"decimals": 18
},
"infoURL": "https://autobahn.network",
"shortName": "autobahn",
"chainId": 45000,
"networkId": 45000,
"icon": "autobahn",
"explorers": [{
"name": "autobahn explorer",
"url": "https://explorer.autobahn.network",
"icon": "autobahn",
"standard": "EIP3091"
}]
}

View File

@ -2,6 +2,7 @@
"name": "Görli",
"title": "Ethereum Testnet Görli",
"chain": "ETH",
"network": "testnet",
"rpc": [
"https://goerli.infura.io/v3/${INFURA_API_KEY}",
"wss://goerli.infura.io/v3/${INFURA_API_KEY}",

View File

@ -0,0 +1,27 @@
{
"name": "DFK Chain",
"chain": "DFK",
"icon": "dfk",
"network": "mainnet",
"rpc": [
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
],
"faucets": [],
"nativeCurrency": {
"name": "Jewel",
"symbol": "JEWEL",
"decimals": 18
},
"infoURL": "https://defikingdoms.com",
"shortName": "DFK",
"chainId": 53935,
"networkId": 53935,
"explorers": [
{
"name": "ethernal",
"url": "https://explorer.dfkchain.com",
"icon": "ethereum",
"standard": "none"
}
]
}

View File

@ -0,0 +1,26 @@
{
"name": "Openpiece Mainnet",
"chain": "OPENPIECE",
"icon": "openpiece",
"network": "mainnet",
"rpc": [
"https://mainnet.openpiece.io"
],
"faucets": [],
"nativeCurrency": {
"name": "Belly",
"symbol": "BELLY",
"decimals": 18
},
"infoURL": "https://cryptopiece.online",
"shortName": "OP",
"chainId": 54,
"networkId": 54,
"explorers": [
{
"name": "Belly Scan",
"url": "https://bellyscan.com",
"standard": "none"
}
]
}

View File

@ -0,0 +1,26 @@
{
"name": "Digest Swarm Chain",
"chain": "DSC",
"icon": "swarmchain",
"rpc": [
"https://rpc.digestgroup.ltd"
],
"faucets": [],
"nativeCurrency": {
"name": "DigestCoin",
"symbol": "DGCC",
"decimals": 18
},
"infoURL": "https://digestgroup.ltd",
"shortName": "dgcc",
"chainId": 5777,
"networkId": 5777,
"explorers": [
{
"name": "swarmexplorer",
"url": "https://explorer.digestgroup.ltd",
"standard": "EIP3091"
}
]
}

View File

@ -2,25 +2,31 @@
"name": "Ontology Mainnet",
"chain": "Ontology",
"rpc": [
"https://dappnode1.ont.io:20339",
"https://dappnode2.ont.io:20339",
"https://dappnode3.ont.io:20339",
"https://dappnode4.ont.io:20339"
"http://dappnode1.ont.io:20339",
"http://dappnode2.ont.io:20339",
"http://dappnode3.ont.io:20339",
"http://dappnode4.ont.io:20339",
"https://dappnode1.ont.io:10339",
"https://dappnode2.ont.io:10339",
"https://dappnode3.ont.io:10339",
"https://dappnode4.ont.io:10339"
],
"faucets": [
],
"nativeCurrency": {
"name": "ONG",
"symbol": "ONG",
"decimals": 9
"decimals": 18
},
"infoURL": "https://ont.io/",
"shortName": "Ontology Mainnet",
"chainId": 58,
"networkId": 58,
"explorers": [{
"name": "explorer",
"url": "https://explorer.ont.io",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "explorer",
"url": "https://explorer.ont.io",
"standard": "EIP3091"
}
]
}

View File

@ -2,10 +2,14 @@
"name": "Ontology Testnet",
"chain": "Ontology",
"rpc": [
"https://polaris1.ont.io:20339",
"https://polaris2.ont.io:20339",
"https://polaris3.ont.io:20339",
"https://polaris4.ont.io:20339"
"http://polaris1.ont.io:20339",
"http://polaris2.ont.io:20339",
"http://polaris3.ont.io:20339",
"http://polaris4.ont.io:20339",
"https://polaris1.ont.io:10339",
"https://polaris2.ont.io:10339",
"https://polaris3.ont.io:10339",
"https://polaris4.ont.io:10339"
],
"faucets": [
"https://developer.ont.io/"
@ -13,7 +17,7 @@
"nativeCurrency": {
"name": "ONG",
"symbol": "ONG",
"decimals": 9
"decimals": 18
},
"infoURL": "https://ont.io/",
"shortName": "Ontology Testnet",

View File

@ -0,0 +1,23 @@
{
"name": "Star Social Testnet",
"chain": "SNS",
"rpc": [
"https://avastar.cc/ext/bc/C/rpc"
],
"faucets": [
],
"nativeCurrency": {
"name": "Social",
"symbol": "SNS",
"decimals": 18
},
"infoURL": "https://info.avastar.cc",
"shortName": "SNS",
"chainId": 700,
"networkId": 700,
"explorers": [{
"name": "starscan",
"url": "https://avastar.info",
"standard": "EIP3091"
}]
}

View File

@ -0,0 +1,26 @@
{
"name": "Aerochain Testnet",
"chain": "Aerochain",
"network": "testnet",
"rpc": [
"https://testnet-rpc.aerochain.id/"
],
"faucets": [
"https://faucet.aerochain.id/"
],
"nativeCurrency": {
"name": "Aerochain Testnet",
"symbol": "TAero",
"decimals": 18
},
"infoURL": "https://aerochaincoin.org/",
"shortName": "taero",
"chainId": 788,
"networkId": 788,
"explorers": [{
"name": "aeroscan",
"url": "https://testnet.aeroscan.id",
"standard": "EIP3091"
}]
}

View File

@ -0,0 +1,24 @@
{
"name": "Zenith Mainnet",
"chain": "Zenith",
"rpc": [
"https://dataserver-1.zenithchain.co/",
"https://dataserver-us-1.zenithchain.co/"
],
"faucets": [],
"nativeCurrency": {
"name": "ZENITH",
"symbol": "ZENITH",
"decimals": 18
},
"infoURL": "https://www.zenithchain.co/",
"chainId": 79,
"networkId": 79,
"shortName": "zenith",
"explorers": [{
"name": "zenith scan",
"url": "https://scan.zenithchain.co",
"standard": "EIP3091"
}]
}

View File

@ -0,0 +1,23 @@
{
"name": "Villinius",
"chain": "Zenith",
"rpc": [
"https://vilinius.zenithchain.co/http"
],
"faucets": ["https://faucet.zenithchain.co/"],
"nativeCurrency": {
"name": "Villinius",
"symbol": "VIL",
"decimals": 18
},
"infoURL": "https://www.zenithchain.co/",
"chainId": 81,
"networkId": 81,
"shortName": "VIL",
"explorers": [{
"name": "villinius zenith scan",
"url": "https://vilinius.scan.zenithchain.co",
"standard": "EIP3091"
}]
}

View File

@ -0,0 +1,26 @@
{
"name": "Godwoken Testnet (V1)",
"chain": "GWT",
"rpc": [
"https://godwoken-testnet-web3-v1-rpc.ckbapp.dev"
],
"faucets": [
"https://homura.github.io/light-godwoken"
],
"nativeCurrency": {
"name": "CKB",
"symbol": "CKB",
"decimals": 8
},
"infoURL": "https://www.nervos.org",
"shortName": "gw-testnet-v1",
"chainId": 868455272153094,
"networkId": 868455272153094,
"explorers": [
{
"name": "GWScan Block Explorer",
"url": "https://v1.aggron.gwscan.com",
"standard": "none"
}
]
}

View File

@ -3,8 +3,9 @@
"chain": "NNW",
"icon": "novanetwork",
"rpc": [
"https://rpc.novanetwork.io:9070",
"http://nova.genyrpc.info:8545"
"https://connect.novanetwork.io",
"https://0x57.redjackstudio.com",
"https://rpc.novanetwork.io:9070"
],
"faucets": [],
"nativeCurrency": {

View File

@ -1,7 +1,7 @@
{
"name": "Evmos Testnet",
"chain": "Evmos",
"rpc": ["https://evmos-archive-testnet.api.bdnodes.net:8545"],
"rpc": ["https://eth.bd.evmos.dev:8545"],
"faucets": ["https://faucet.evmos.dev"],
"nativeCurrency": {
"name": "test-Evmos",
@ -15,9 +15,9 @@
"icon": "evmos",
"explorers": [
{
"name": "Evmos EVM Explorer (Blockscout)",
"name": "Evmos EVM Explorer",
"url": "https://evm.evmos.dev",
"standard": "none",
"standard": "EIP3091",
"icon": "evmos"
},
{

8
_data/icons/aioz.json Normal file
View File

@ -0,0 +1,8 @@
[
{
"url": "ipfs://QmRAGPFhvQiXgoJkui7WHajpKctGFrJNhHqzYdwcWt5V3Z",
"width": 1024,
"height": 1024,
"format": "png"
}
]

View File

@ -0,0 +1,8 @@
[
{
"url": "ipfs://QmZP19pbqTco4vaP9siduLWP8pdYArFK3onfR55tvjr12s",
"width": 489,
"height": 489,
"format": "png"
}
]

View File

@ -0,0 +1,8 @@
[
{
"url": "ipfs://bafybeifu5tpui7dk5cjoo54kde7pmuthvnl7sdykobuarsxgu7t2izurnq",
"width": 512,
"height": 512,
"format": "png"
}
]

6
_data/icons/cennz.json Normal file
View File

@ -0,0 +1,6 @@
[
{
"url": "ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",
"format": "svg"
}
]

10
_data/icons/dfk.json Normal file
View File

@ -0,0 +1,10 @@
[
{
"url": "ipfs://QmQB48m15TzhUFrmu56QCRQjkrkgUaKfgCmKE8o3RzmuPJ",
"width": 500,
"height": 500,
"format": "png"
}
]

8
_data/icons/eurus.json Normal file
View File

@ -0,0 +1,8 @@
[
{
"url":"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",
"width":471,
"height":471,
"format":"svg"
}
]

View File

@ -0,0 +1,8 @@
[
{
"url":"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",
"width":471,
"height":471,
"format":"svg"
}
]

View File

@ -1,8 +1,8 @@
[
{
"url": "ipfs://Qmc4nHKSTgRwhpc5gpUnd7cQb7ooUgkcMxSbJcDAjJqx6T",
"width": 1000,
"height": 620,
"format": "svg"
"url": "ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",
"width": 400,
"height": 400,
"format": "png"
}
]
]

8
_data/icons/gnosis.json Normal file
View File

@ -0,0 +1,8 @@
[
{
"url": "ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",
"width": 1800,
"height": 1800,
"format": "png"
}
]

6
_data/icons/kava.json Normal file
View File

@ -0,0 +1,6 @@
[
{
"url": "ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",
"format": "svg"
}
]

8
_data/icons/lachain.json Normal file
View File

@ -0,0 +1,8 @@
[
{
"url": "ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",
"width": 1280,
"height": 1280,
"format": "png"
}
]

8
_data/icons/ludan.json Normal file
View File

@ -0,0 +1,8 @@
[
{
"url": "ipfs://bafkreigzeanzqgxrzzep45t776ovbwi242poqxbryuu2go5eedeuwwcsay",
"width": 512,
"height": 512,
"format": "png"
}
]

View File

@ -0,0 +1,8 @@
[
{
"url": "ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",
"width": 367,
"height": 367,
"format": "svg"
}
]

View File

@ -0,0 +1,8 @@
[
{
"url": "ipfs://QmVTahJkdSH3HPYsJMK2GmqfWZjLyxE7cXy1aHEnHU3vp2",
"width": 250,
"height": 250,
"format": "png"
}
]

View File

@ -0,0 +1,8 @@
[
{
"url":"ipfs://QmRu7KmQoC2vSVeD7Y6bxRYikQHYs86H9fRAdb1ytPkK9r",
"width":500,
"height":500,
"format":"png"
}
]

View File

@ -0,0 +1,8 @@
[
{
"url":"ipfs://Qmbzy8c54EHh7yzMHZir98BrcV6sazr77QLoi63HAoayuo",
"width":289,
"height":288,
"format":"png"
}
]

View File

@ -1,6 +1,6 @@
buildscript {
ext {
KOTLIN_VERSION = "1.6.10"
KOTLIN_VERSION = "1.6.20"
KETHEREUM_VERSION = "0.85.7"
}

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -1,5 +1,5 @@
plugins {
id("com.google.devtools.ksp").version("1.6.10-1.0.2")
id("com.google.devtools.ksp").version("1.6.20-1.0.5")
id("maven-publish")
}

View File

@ -22,7 +22,8 @@ val optionalFields = listOf(
"explorers",
"title",
"network",
"parent"
"parent",
"deprecated"
)
val moshi: Moshi = Moshi.Builder().build()

View File

@ -93,10 +93,8 @@ private fun doChecks(doRPCConnect: Boolean) {
checkIcon(it)
}
allFiles.filter { it.isDirectory }.forEach {
if (it.name != "deprecated") {
error("the only directory allowed is 'deprecated'")
}
allFiles.filter { it.isDirectory }.forEach { _ ->
error("should not contain a directory")
}
}
@ -173,6 +171,29 @@ fun checkChain(chainFile: File, connectRPC: Boolean) {
}
}
jsonObject["nativeCurrency"]?.let {
if (it !is JsonObject) {
throw NativeCurrencyMustBeObject()
}
val symbol = it["symbol"]
if (symbol !is String) {
throw NativeCurrencySymbolMustBeString()
}
if (symbol.length >= 7) {
throw NativeCurrencySymbolMustHaveLessThan7Chars()
}
if (it.keys != setOf("symbol","decimals","name")) {
throw NativeCurrencyCanOnlyHaveSymbolNameAndDecimals()
}
if (it["decimals"] !is Int) {
throw NativeCurrencyDecimalMustBeInt()
}
if (it["name"] !is String) {
throw NativeCurrencyNameMustBeString()
}
}
jsonObject["explorers"]?.let {
if (it !is JsonArray<*>) {
throw (ExplorersMustBeArray())
@ -214,7 +235,11 @@ fun checkChain(chainFile: File, connectRPC: Boolean) {
throw ENSRegistryAddressMustBeValid()
}
}
jsonObject["deprecated"]?.let {
if (it !is Boolean) {
throw DeprecatedMustBeBoolean()
}
}
jsonObject["parent"]?.let {
if (it !is JsonObject) {
throw ParentMustBeObject()

View File

@ -25,4 +25,11 @@ class ParentHasExtraFields(fields: Set<String>): Exception("parent has extra fie
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")
class DeprecatedMustBeBoolean: Exception("deprecated must be boolean")
class NativeCurrencyMustBeObject: Exception("Native currency must be object")
class NativeCurrencySymbolMustBeString: Exception("Native currency symbol must be string")
class NativeCurrencySymbolMustHaveLessThan7Chars: Exception("Native currency symbol must have less than 7 chars")
class NativeCurrencyCanOnlyHaveSymbolNameAndDecimals: Exception("Native currency can only have symbol decimals and name")
class NativeCurrencyDecimalMustBeInt: Exception("Native currency decimals must be int")
class NativeCurrencyNameMustBeString: Exception("Native currency name must be string")

View File

@ -221,6 +221,11 @@ class TheChainChecker {
checkChain(getFile("invalid/explorermissingurl/eip155-1.json"), false)
}
@Test(expected = DeprecatedMustBeBoolean::class)
fun shouldFailOnInvalidDeprecation() {
checkChain(getFile("invalid/invalid_deprecation/eip155-1.json"), false)
}
@Test
fun canParse2chains() {
checkChain(getFile("valid/eip155-1.json"), false)

View File

@ -0,0 +1,21 @@
{
"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
},
"explorers": [],
"deprecated": "yolo"
}

View File

@ -15,5 +15,6 @@
"name": "Ether",
"symbol": "ETH",
"decimals": 18
}
},
"deprecated": true
}