diff --git a/README.md b/README.md index 117d5038..6588439c 100644 --- a/README.md +++ b/README.md @@ -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! diff --git a/_data/chains/eip155-100.json b/_data/chains/eip155-100.json index 1ba46ec4..97d374eb 100644 --- a/_data/chains/eip155-100.json +++ b/_data/chains/eip155-100.json @@ -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" }] } diff --git a/_data/chains/eip155-11111.json b/_data/chains/eip155-11111.json index 6123e340..276dbdec 100644 --- a/_data/chains/eip155-11111.json +++ b/_data/chains/eip155-11111.json @@ -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" } ] -} \ No newline at end of file +} diff --git a/_data/chains/deprecated/eip155-1286.json b/_data/chains/eip155-1286.json similarity index 63% rename from _data/chains/deprecated/eip155-1286.json rename to _data/chains/eip155-1286.json index 3cc60c66..87c2353c 100644 --- a/_data/chains/deprecated/eip155-1286.json +++ b/_data/chains/eip155-1286.json @@ -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 -} \ No newline at end of file + "networkId": 1286, + "deprecated": true +} diff --git a/_data/chains/eip155-1337.json b/_data/chains/eip155-1337.json new file mode 100644 index 00000000..abba4e07 --- /dev/null +++ b/_data/chains/eip155-1337.json @@ -0,0 +1,24 @@ +{ + "name": "CENNZnet Azalea", + "chain": "CENNZnet", + "network": "azalea", + "rpc": [ + "https://cennznet.unfrastructure.io/public" + ], + "faucets": [], + "nativeCurrency": { + "name": "CPAY", + "symbol": "CPAY", + "decimals": 18 + }, + "infoURL": "https://cennz.net", + "shortName": "cennz-a", + "chainId": 1337, + "networkId": 1337, + "icon": "cennz", + "explorers": [{ + "name": "UNcover", + "url": "https://uncoverexplorer.com", + "standard": "none" + }] + } \ No newline at end of file diff --git a/_data/chains/eip155-141.json b/_data/chains/eip155-141.json new file mode 100644 index 00000000..8767132a --- /dev/null +++ b/_data/chains/eip155-141.json @@ -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" + } + ] +} diff --git a/_data/chains/eip155-168.json b/_data/chains/eip155-168.json new file mode 100644 index 00000000..7727c34b --- /dev/null +++ b/_data/chains/eip155-168.json @@ -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" + }] +} diff --git a/_data/chains/eip155-2001.json b/_data/chains/eip155-2001.json new file mode 100644 index 00000000..770880d7 --- /dev/null +++ b/_data/chains/eip155-2001.json @@ -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": "milkAda", + "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" + } + ] +} \ No newline at end of file diff --git a/_data/chains/eip155-200101.json b/_data/chains/eip155-200101.json new file mode 100644 index 00000000..0e5dee2d --- /dev/null +++ b/_data/chains/eip155-200101.json @@ -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": "milkTAda", + "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" + } + ] +} \ No newline at end of file diff --git a/_data/chains/deprecated/eip155-218.json b/_data/chains/eip155-218.json similarity index 71% rename from _data/chains/deprecated/eip155-218.json rename to _data/chains/eip155-218.json index 9cc2c382..fae3262a 100644 --- a/_data/chains/deprecated/eip155-218.json +++ b/_data/chains/eip155-218.json @@ -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 } diff --git a/_data/chains/eip155-2221.json b/_data/chains/eip155-2221.json new file mode 100644 index 00000000..d9a33a82 --- /dev/null +++ b/_data/chains/eip155-2221.json @@ -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" + } + ] +} diff --git a/_data/chains/eip155-3000.json b/_data/chains/eip155-3000.json new file mode 100644 index 00000000..87b75f7b --- /dev/null +++ b/_data/chains/eip155-3000.json @@ -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" + } \ No newline at end of file diff --git a/_data/chains/eip155-3001.json b/_data/chains/eip155-3001.json new file mode 100644 index 00000000..486e98d6 --- /dev/null +++ b/_data/chains/eip155-3001.json @@ -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" + }] + } \ No newline at end of file diff --git a/_data/chains/eip155-335.json b/_data/chains/eip155-335.json index 70867040..aea5f4b4 100644 --- a/_data/chains/eip155-335.json +++ b/_data/chains/eip155-335.json @@ -4,7 +4,7 @@ "icon": "dfk", "network": "testnet", "rpc": [ - "https://api-dfk.avax-test.network/rpc" + "https://subnets.avax.network/defi-kingdoms/dfk-chain-testnet/rpc" ], "faucets": [], "nativeCurrency": { diff --git a/_data/chains/eip155-356256156.json b/_data/chains/eip155-356256156.json index 04e99e81..eec8b1a6 100644 --- a/_data/chains/eip155-356256156.json +++ b/_data/chains/eip155-356256156.json @@ -1,5 +1,5 @@ { - "name": "Gather Tesnet Network", + "name": "Gather Testnet Network", "chain": "GTH", "rpc": [ "https://testnet.gather.network" diff --git a/_data/chains/eip155-4102.json b/_data/chains/eip155-4102.json new file mode 100644 index 00000000..8593a577 --- /dev/null +++ b/_data/chains/eip155-4102.json @@ -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" + }] +} diff --git a/_data/chains/eip155-45000.json b/_data/chains/eip155-45000.json new file mode 100644 index 00000000..5163f518 --- /dev/null +++ b/_data/chains/eip155-45000.json @@ -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" + }] +} diff --git a/_data/chains/eip155-53935.json b/_data/chains/eip155-53935.json index b578f7c2..5b36e61e 100644 --- a/_data/chains/eip155-53935.json +++ b/_data/chains/eip155-53935.json @@ -4,7 +4,7 @@ "icon": "dfk", "network": "mainnet", "rpc": [ - "https://api-dfk.avax.network/rpc" + "https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc" ], "faucets": [], "nativeCurrency": { diff --git a/_data/chains/eip155-54.json b/_data/chains/eip155-54.json new file mode 100644 index 00000000..3ae973d4 --- /dev/null +++ b/_data/chains/eip155-54.json @@ -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" + } + ] +} diff --git a/_data/chains/eip155-5777.json b/_data/chains/eip155-5777.json new file mode 100644 index 00000000..d37a28c4 --- /dev/null +++ b/_data/chains/eip155-5777.json @@ -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" + } + ] +} + \ No newline at end of file diff --git a/_data/chains/eip155-788.json b/_data/chains/eip155-788.json new file mode 100644 index 00000000..47f125d1 --- /dev/null +++ b/_data/chains/eip155-788.json @@ -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" + }] +} + diff --git a/_data/icons/aioz.json b/_data/icons/aioz.json new file mode 100644 index 00000000..ae8acacd --- /dev/null +++ b/_data/icons/aioz.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmRAGPFhvQiXgoJkui7WHajpKctGFrJNhHqzYdwcWt5V3Z", + "width": 1024, + "height": 1024, + "format": "png" + } +] \ No newline at end of file diff --git a/_data/icons/autobahn.json b/_data/icons/autobahn.json new file mode 100644 index 00000000..4c75e138 --- /dev/null +++ b/_data/icons/autobahn.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmZP19pbqTco4vaP9siduLWP8pdYArFK3onfR55tvjr12s", + "width": 489, + "height": 489, + "format": "png" + } +] diff --git a/_data/icons/blockscout.json b/_data/icons/blockscout.json new file mode 100644 index 00000000..30e326a2 --- /dev/null +++ b/_data/icons/blockscout.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://bafybeifu5tpui7dk5cjoo54kde7pmuthvnl7sdykobuarsxgu7t2izurnq", + "width": 512, + "height": 512, + "format": "png" + } +] diff --git a/_data/icons/cennz.json b/_data/icons/cennz.json new file mode 100644 index 00000000..472558f4 --- /dev/null +++ b/_data/icons/cennz.json @@ -0,0 +1,7 @@ +[ + { + "url":"ipfs://QmfDkgrhCFfVJErVVDuU7UYasYsooXMEXFhBzLMNm6pgey", + "format":"svg" + } + ] + \ No newline at end of file diff --git a/_data/icons/gnosis.json b/_data/icons/gnosis.json new file mode 100644 index 00000000..7c91dfb9 --- /dev/null +++ b/_data/icons/gnosis.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm", + "width": 1800, + "height": 1800, + "format": "png" + } +] diff --git a/_data/icons/kava.json b/_data/icons/kava.json new file mode 100644 index 00000000..da3221f4 --- /dev/null +++ b/_data/icons/kava.json @@ -0,0 +1,6 @@ +[ + { + "url": "ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm", + "format": "svg" + } +] diff --git a/_data/icons/milkomeda.json b/_data/icons/milkomeda.json new file mode 100644 index 00000000..d1ecea13 --- /dev/null +++ b/_data/icons/milkomeda.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd", + "width": 367, + "height": 367, + "format": "svg" + } +] \ No newline at end of file diff --git a/_data/icons/openpiece.json b/_data/icons/openpiece.json new file mode 100644 index 00000000..0db62b46 --- /dev/null +++ b/_data/icons/openpiece.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmVTahJkdSH3HPYsJMK2GmqfWZjLyxE7cXy1aHEnHU3vp2", + "width": 250, + "height": 250, + "format": "png" + } +] diff --git a/_data/icons/swarmchain.json b/_data/icons/swarmchain.json new file mode 100644 index 00000000..44528a16 --- /dev/null +++ b/_data/icons/swarmchain.json @@ -0,0 +1,8 @@ +[ + { + "url":"ipfs://QmRu7KmQoC2vSVeD7Y6bxRYikQHYs86H9fRAdb1ytPkK9r", + "width":500, + "height":500, + "format":"png" + } +] diff --git a/_data/icons/swarmexplorer.json b/_data/icons/swarmexplorer.json new file mode 100644 index 00000000..c909e961 --- /dev/null +++ b/_data/icons/swarmexplorer.json @@ -0,0 +1,8 @@ +[ + { + "url":"ipfs://Qmbzy8c54EHh7yzMHZir98BrcV6sazr77QLoi63HAoayuo", + "width":289, + "height":288, + "format":"png" + } +] diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b1159fc5..d7e66b5c 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/processor/src/main/kotlin/org/ethereum/lists/chains/Env.kt b/processor/src/main/kotlin/org/ethereum/lists/chains/Env.kt index fbb13991..20ec2842 100644 --- a/processor/src/main/kotlin/org/ethereum/lists/chains/Env.kt +++ b/processor/src/main/kotlin/org/ethereum/lists/chains/Env.kt @@ -22,7 +22,8 @@ val optionalFields = listOf( "explorers", "title", "network", - "parent" + "parent", + "deprecated" ) val moshi: Moshi = Moshi.Builder().build() diff --git a/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt b/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt index 05c30ca2..ace5915c 100644 --- a/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt +++ b/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt @@ -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") } } @@ -214,7 +212,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() diff --git a/processor/src/main/kotlin/org/ethereum/lists/chains/model/Exceptions.kt b/processor/src/main/kotlin/org/ethereum/lists/chains/model/Exceptions.kt index 1f0830e1..522e9eb2 100644 --- a/processor/src/main/kotlin/org/ethereum/lists/chains/model/Exceptions.kt +++ b/processor/src/main/kotlin/org/ethereum/lists/chains/model/Exceptions.kt @@ -25,4 +25,5 @@ class ParentHasExtraFields(fields: Set): 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") \ No newline at end of file +class ParentChainDoesNotExist(chain: String): Exception("Referenced parent chain ($chain) does not exist") +class DeprecatedMustBeBoolean: Exception("deprecated must be boolean") \ No newline at end of file diff --git a/processor/src/test/kotlin/org/ethereum/lists/chains/TheChainChecker.kt b/processor/src/test/kotlin/org/ethereum/lists/chains/TheChainChecker.kt index 327d8eb4..17d213a2 100644 --- a/processor/src/test/kotlin/org/ethereum/lists/chains/TheChainChecker.kt +++ b/processor/src/test/kotlin/org/ethereum/lists/chains/TheChainChecker.kt @@ -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) diff --git a/processor/src/test/resources/test_chains/invalid/invalid_deprecation/eip155-1.json b/processor/src/test/resources/test_chains/invalid/invalid_deprecation/eip155-1.json new file mode 100644 index 00000000..11a8782e --- /dev/null +++ b/processor/src/test/resources/test_chains/invalid/invalid_deprecation/eip155-1.json @@ -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" +} \ No newline at end of file diff --git a/processor/src/test/resources/test_chains/valid/eip155-1.json b/processor/src/test/resources/test_chains/valid/eip155-1.json index 457f8964..847e295f 100644 --- a/processor/src/test/resources/test_chains/valid/eip155-1.json +++ b/processor/src/test/resources/test_chains/valid/eip155-1.json @@ -15,5 +15,6 @@ "name": "Ether", "symbol": "ETH", "decimals": 18 - } + }, + "deprecated": true }