Inspired by ethereum chains.
A simple tool for querying RPC, Token info of the Ethereum chains.
```sh ./target/release/eth-chains-cli list
+-----------------+-----------------------------------------+ | CHAINID | CHAINNAME | +-----------------+-----------------------------------------+ | 1 | Ethereum Mainnet | +-----------------+-----------------------------------------+ | 2 | Expanse Network | +-----------------+-----------------------------------------+ | 3 | Ropsten | +-----------------+-----------------------------------------+ | 4 | Rinkeby | +-----------------+-----------------------------------------+ | 5 | Goerli | +-----------------+-----------------------------------------+ | 6 | Ethereum Classic Testnet Kotti | +-----------------+-----------------------------------------+ | 7 | ThaiChain | +-----------------+-----------------------------------------+ | 8 | Ubiq | +-----------------+-----------------------------------------+ | 9 | Ubiq Network Testnet | +-----------------+-----------------------------------------+ | 10 | Optimism | +-----------------+-----------------------------------------+ | 11 | Metadium Mainnet | +-----------------+-----------------------------------------+ | 12 | Metadium Testnet | +-----------------+-----------------------------------------+ | 13 | Diode Testnet Staging | +-----------------+-----------------------------------------+ | 14 | Flare Mainnet | +-----------------+-----------------------------------------+ | 15 | Diode Prenet | +-----------------+-----------------------------------------+ | 16 | Flare Testnet Coston | +-----------------+-----------------------------------------+ | 17 | ThaiChain 2.0 ThaiFi | +-----------------+-----------------------------------------+ | 18 | ThunderCore Testnet | +-----------------+-----------------------------------------+ | 19 | Songbird Canary-Network | +-----------------+-----------------------------------------+ | 20 | Elastos Smart Chain | +-----------------+-----------------------------------------+ | 21 | Elastos Smart Chain Testnet | +-----------------+-----------------------------------------+ | 22 | ELA-DID-Sidechain Mainnet | +-----------------+-----------------------------------------+ | 23 | ELA-DID-Sidechain Testnet | +-----------------+-----------------------------------------+ | 24 | KardiaChain Mainnet | +-----------------+-----------------------------------------+ | 25 | Cronos Mainnet Beta | +-----------------+-----------------------------------------+ | 26 | Genesis L1 testnet | +-----------------+-----------------------------------------+ | 27 | ShibaChain | +-----------------+-----------------------------------------+ | 28 | Boba Network Rinkeby Testnet | +-----------------+-----------------------------------------+ | 29 | Genesis L1 | +-----------------+-----------------------------------------+ | 30 | RSK Mainnet | +-----------------+-----------------------------------------+ | 31 | RSK Testnet | +-----------------+-----------------------------------------+ | 32 | GoodData Testnet | +-----------------+-----------------------------------------+ | 33 | GoodData Mainnet | +-----------------+-----------------------------------------+ | 34 | Dithereum Testnet | +-----------------+-----------------------------------------+ | 35 | TBWG Chain | +-----------------+-----------------------------------------+ | 36 | Dxchain Mainnet | +-----------------+-----------------------------------------+ | 37 | SeedCoin-Network | +-----------------+-----------------------------------------+ | 38 | Valorbit | +-----------------+-----------------------------------------+ | 40 | Telos EVM Mainnet | +-----------------+-----------------------------------------+ | 41 | Telos EVM Testnet | +-----------------+-----------------------------------------+ | 42 | Kovan | +-----------------+-----------------------------------------+ | 43 | Darwinia Pangolin Testnet | +-----------------+-----------------------------------------+ | 44 | Darwinia Crab Network | +-----------------+-----------------------------------------+ | 45 | Darwinia Pangoro Testnet | +-----------------+-----------------------------------------+ | 46 | Darwinia Network | +-----------------+-----------------------------------------+ | 48 | Ennothem Mainnet Proterozoic | +-----------------+-----------------------------------------+ | 49 | Ennothem Testnet Pioneer | +-----------------+-----------------------------------------+ | 50 | XinFin XDC Network | +-----------------+-----------------------------------------+ | 51 | XDC Apothem Network | +-----------------+-----------------------------------------+ | 52 | CoinEx Smart Chain Mainnet | +-----------------+-----------------------------------------+ | 53 | CoinEx Smart Chain Testnet | +-----------------+-----------------------------------------+ | 54 | Openpiece Mainnet | +-----------------+-----------------------------------------+ | 55 | Zyx Mainnet | +-----------------+-----------------------------------------+ | 56 | Binance Smart Chain Mainnet | +-----------------+-----------------------------------------+ | 57 | Syscoin Mainnet | +-----------------+-----------------------------------------+ | 58 | Ontology Mainnet | +-----------------+-----------------------------------------+ | 59 | EOS Mainnet | +-----------------+-----------------------------------------+ | 60 | GoChain | +-----------------+-----------------------------------------+ | 61 | Ethereum Classic Mainnet | +-----------------+-----------------------------------------+ | 62 | Ethereum Classic Testnet Morden | +-----------------+-----------------------------------------+ | 63 | Ethereum Classic Testnet Mordor | +-----------------+-----------------------------------------+ | 64 | Ellaism | +-----------------+-----------------------------------------+ | 65 | OKExChain Testnet | +-----------------+-----------------------------------------+ | 66 | OKXChain Mainnet | +-----------------+-----------------------------------------+ | 67 | DBChain Testnet | +-----------------+-----------------------------------------+ | 68 | SoterOne Mainnet | +-----------------+-----------------------------------------+ | 69 | Optimism Kovan | +-----------------+-----------------------------------------+ | 70 | Hoo Smart Chain | +-----------------+-----------------------------------------+ | 71 | Conflux eSpace (Testnet) | +-----------------+-----------------------------------------+ | 72 | DxChain Testnet | +-----------------+-----------------------------------------+ | 73 | FNCY | +-----------------+-----------------------------------------+ | 74 | IDChain Mainnet | +-----------------+-----------------------------------------+ | 76 | Mix | +-----------------+-----------------------------------------+ | 77 | POA Network Sokol | +-----------------+-----------------------------------------+ | 78 | PrimusChain mainnet | +-----------------+-----------------------------------------+ | 79 | Zenith Mainnet | +-----------------+-----------------------------------------+ | 80 | GeneChain | +-----------------+-----------------------------------------+ | 81 | Zenith Testnet (Vilnius) | +-----------------+-----------------------------------------+ | 82 | Meter Mainnet | +-----------------+-----------------------------------------+ | 83 | Meter Testnet | +-----------------+-----------------------------------------+ | 85 | GateChain Testnet | +-----------------+-----------------------------------------+ | 86 | GateChain Mainnet | +-----------------+-----------------------------------------+ | 87 | Nova Network | +-----------------+-----------------------------------------+ | 88 | TomoChain | +-----------------+-----------------------------------------+ | 89 | TomoChain Testnet | +-----------------+-----------------------------------------+ | 90 | Garizon Stage0 | +-----------------+-----------------------------------------+ | 91 | Garizon Stage1 | +-----------------+-----------------------------------------+ | 92 | Garizon Stage2 | +-----------------+-----------------------------------------+ | 93 | Garizon Stage3 | +-----------------+-----------------------------------------+ | 95 | CryptoKylin Testnet | +-----------------+-----------------------------------------+ | 96 | NEXT Smart Chain | +-----------------+-----------------------------------------+ | 97 | Binance Smart Chain Testnet | +-----------------+-----------------------------------------+ | 99 | POA Network Core | +-----------------+-----------------------------------------+ | 100 | Gnosis | +-----------------+-----------------------------------------+ ...... ```
```sh ./target/release/eth-chains-cli by-id --id 1 | jq
{ "name": "Ethereum Mainnet", "chain": "ETH", "rpc": [ "https://mainnet.infura.io/v3/${INFURAAPIKEY}", "wss://mainnet.infura.io/ws/v3/${INFURAAPIKEY}", "https://api.mycryptoapi.com/eth", "https://cloudflare-eth.com" ], "features": [ { "name": "EIP155" }, { "name": "EIP1559" } ], "faucets": [], "nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 }, "infoURL": "https://ethereum.org", "shortName": "eth", "chainId": 1, "networkId": 1, "slip44": 60, "ens": { "registry": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e" }, "explorers": [ { "name": "etherscan", "url": "https://etherscan.io", "standard": "EIP3091" } ] } ```
```sh ./target/release/eth-chains-cli by-name -n "Binance Smart Chain Testnet" | jq
{ "name": "Binance Smart Chain Testnet", "chain": "BSC", "rpc": [ "https://data-seed-prebsc-1-s1.binance.org:8545", "https://data-seed-prebsc-2-s1.binance.org:8545", "https://data-seed-prebsc-1-s2.binance.org:8545", "https://data-seed-prebsc-2-s2.binance.org:8545", "https://data-seed-prebsc-1-s3.binance.org:8545", "https://data-seed-prebsc-2-s3.binance.org:8545" ], "features": null, "faucets": [ "https://testnet.binance.org/faucet-smart" ], "nativeCurrency": { "name": "Binance Chain Native Token", "symbol": "tBNB", "decimals": 18 }, "infoURL": "https://testnet.binance.org/", "shortName": "bnbt", "chainId": 97, "networkId": 97, "slip44": null, "ens": null, "explorers": [ { "name": "bscscan-testnet", "url": "https://testnet.bscscan.com", "standard": "EIP3091" } ] } ```