🧬
各ネットワークのChainIdやRPCUrlなどの情報まとめ
概要
ethereum.chainIdで取得するchain idのHexなどの情報ををいちいち調べたりするのが大変なので(計算すればいい)今回いろんなネットワーク使う開発楽にするためにまとめ書きます。

Ethereumネットワーク一覧
| ChainID | Hex | Decimal | Network | RPCurl | BlockExplorerUrl |
|---|---|---|---|---|---|
| 1 | 0x1 | 1 | Ethereum Main Network (Mainnet) | https://mainnet.infura.io/v3/<ProjectID> |
https://etherscan.io |
| 3 | 0x3 | 3 | Ropsten Test Network | https://ropsten.infura.io/v3/<ProjectID> |
https://ropsten.etherscan.io/ |
| 4 | 0x4 | 4 | Rinkeby Test Network | https://rinkeby.infura.io/v3/<ProjectID> |
https://rinkeby.etherscan.io/ |
| 5 | 0x5 | 5 | Goerli Test Network | https://goerli.infura.io/v3/<ProjectID> |
https://goerli.etherscan.io/ |
| 42 | 0x2a | 42 | Kovan Test Network | https://kovan.infura.io/v3/<ProjectID> |
https://kovan.etherscan.io/ |
※Ethereum公式ページ
※EthereumネットワークのRPCUrlはinfuraを利用した方が接続切れがないのでお勧めです。
Polygonネットワーク一覧
| ChainID | Hex | Decimal | Network | RPCurl | BlockExplorerUrl |
|---|---|---|---|---|---|
| 137 | 0x89 | 137 | Matic(Poygon) Mainnet | https://rpc-mainnet.maticvigil.com/ |
https://polygonscan.com/ |
| 80001 | 0x13881 | 80001 | Matic Testnet Mumbai | https://rpc-mumbai.maticvigil.com/ |
https://mumbai.polygonscan.com/ |
xDaiネットワーク一覧
| ChainID | Hex | Decimal | Network | RPCurl | BlockExplorerUrl |
|---|---|---|---|---|---|
| 100 | 0x64 | 100 | xDai Mainnet | https://rpc.xdaichain.com/ |
https://blockscout.com/xdai/mainnet/ |
| 77 | 0x4d | 77 | xDai Testnet Sokol | https://sokol.poa.network/ |
https://blockscout.com/poa/sokol/ |
Shidenネットワーク一覧
| ChainID | Hex | Decimal | Network | RPCurl | BlockExplorerUrl |
|---|---|---|---|---|---|
| 336 | 0x150 | 336 | Shiden Mainnet | https://rpc.shiden.astar.network:8545/ |
https://shiden.subscan.io/ |
| 81 | 0x51 | 81 | Shibuya Network (parachain testnet) | https://rpc.shibuya.astar.network:8545 |
https://shibuya.subscan.io |
※Shiden公式ページ
※Shiden/Shibuya/Dusty詳細情報はこちら
Avalancheネットワーク一覧
| ChainID | Hex | Decimal | Network | RPCurl | BlockExplorerUrl |
|---|---|---|---|---|---|
| 43114 | 0xa86a | 43114 | Avalanche Mainnet C-Chain | https://api.avax.network/ext/bc/C/rpc |
https://snowtrace.io/ |
| 43113 | 0xa869 | 43113 | Avalanche FUJI C-Chain | https://api.avax-test.network/ext/bc/C/rpc |
https://testnet.snowtrace.io/ |
Discussion