Skill 4.1.1
Compare Ethereum mainnet, public testnets and local networks
Key Concepts
Mainnet (chain ID 1) is the production network, where ether has market value and deployment and transactions cost real money. Public testnets run the same software and protocol rules with valueless ether. Sepolia (chain ID 11155111) is the recommended testnet for contract and application developers. Hoodi (chain ID 560048), launched in March 2025, is for validators and staking operators to test protocol upgrades. Holesky was deprecated in September 2025, and Goerli, Rinkeby, Ropsten and Kovan were shut down earlier.
Local development networks such as Hardhat Network (chain ID 31337), Anvil and Geth in developer mode run on the developer's machine. Blocks are produced instantly, accounts are pre-funded and the chain can be reset, so they are ideal for development and unit testing. A forked local network copies mainnet state for realistic integration tests.
The chain ID is included in every signed transaction (EIP-155), so a transaction signed for Sepolia cannot be replayed on mainnet.