Overview
Navigating different blockchain networks often requires referencing specific parameters like Chain IDs, Hex values, and RPC URLs. This guide consolidates essential information for Ethereum, Polygon, xDai, Shiden, and Avalanche networks to streamline development workflows.
Ethereum Networks
ChainID | Hex | Decimal | Network | RPC URL | Block Explorer URL |
---|---|---|---|---|---|
1 | 0x1 | 1 | Ethereum Mainnet | https://mainnet.infura.io/v3/ | https://etherscan.io |
3 | 0x3 | 3 | Ropsten Test Network | https://ropsten.infura.io/v3/ | https://ropsten.etherscan.io |
4 | 0x4 | 4 | Rinkeby Test Network | https://rinkeby.infura.io/v3/ | https://rinkeby.etherscan.io |
5 | 0x5 | 5 | Goerli Test Network | https://goerli.infura.io/v3/ | https://goerli.etherscan.io |
42 | 0x2a | 42 | Kovan Test Network | https://kovan.infura.io/v3/ | https://kovan.etherscan.io |
👉 Pro Tip: Use Infura's RPC endpoints for reliable Ethereum network connections.
Polygon Networks
ChainID | Hex | Decimal | Network | RPC URL | Block Explorer URL |
---|---|---|---|---|---|
137 | 0x89 | 137 | Polygon Mainnet | https://rpc-mainnet.maticvigil.com/ | https://polygonscan.com |
80001 | 0x13881 | 80001 | Mumbai Testnet | https://rpc-mumbai.maticvigil.com/ | https://mumbai.polygonscan.com |
xDai Networks
ChainID | Hex | Decimal | Network | RPC URL | Block Explorer URL |
---|---|---|---|---|---|
100 | 0x64 | 100 | xDai Mainnet | https://rpc.xdaichain.com/ | https://blockscout.com/xdai/mainnet |
77 | 0x4d | 77 | Sokol Testnet | https://sokol.poa.network/ | https://blockscout.com/poa/sokol |
Shiden Networks
ChainID | Hex | Decimal | Network | RPC URL | Block Explorer URL |
---|---|---|---|---|---|
336 | 0x150 | 336 | Shiden Mainnet | https://rpc.shiden.astar.network:8545/ | https://shiden.subscan.io |
81 | 0x51 | 81 | Shibuya Testnet | https://rpc.shibuya.astar.network:8545 | https://shibuya.subscan.io |
👉 Note: For detailed Shiden ecosystem docs, visit Astar Network.
Avalanche Networks
ChainID | Hex | Decimal | Network | RPC URL | Block Explorer URL |
---|---|---|---|---|---|
43114 | 0xa86a | 43114 | Avalanche C-Chain Mainnet | https://api.avax.network/ext/bc/C/rpc | https://snowtrace.io |
43113 | 0xa869 | 43113 | Avalanche FUJI Testnet | https://api.avax-test.network/ext/bc/C/rpc | https://testnet.snowtrace.io |
FAQs
Q1: Why are Hex values important for Chain IDs?
A1: Hex values are used in smart contracts and wallet configurations to prevent integer parsing errors.
Q2: Can I use public RPC URLs for production apps?
A2: Public RPCs may have rate limits. For production, consider dedicated node services like Infura.
Q3: How do I add these networks to MetaMask?
A3: Use the "Custom RPC" option and enter the respective RPC URL, Chain ID, and block explorer.
Q4: Are testnet tokens valuable?
A4: No—testnet tokens are for development purposes only and hold no monetary value.
Q5: Which network is best for dApp testing?
A5: Goerli (Ethereum) and Mumbai (Polygon) are widely used for their stability and faucet availability.