DEV Community

Cover image for What are Ethereum Testnets?
yashdewasthale
yashdewasthale

Posted on

What are Ethereum Testnets?

These are networks used by protocol developers or smart contract developers to test both protocol upgrades as well as potential smart contracts in a production-like environment before deployment to Mainnet. Think of this as an analog to production versus staging servers.

ETH on testnets has no real value; therefore, there are no markets for testnet ETH. Since you need ETH to actually interact with Ethereum, most people get testnet ETH from faucets. Most faucets are webapps where you can input an address which you request ETH to be sent to.

Which Testnet should I use?
The two public proof-of-stake testnets (which client developers are maintaining post-merge) are Goerli and Sepolia. The Goerli network was merged with the Prater Beacon Chain testnet. The Sepolia network was created to test the transition to proof-of-stake.

Sepolia

It is the recommended default testnet for application development. The Sepolia network uses a permissioned validator set. It's fairly new, meaning its state and history are both quite small. This means the network is quick to sync to and that running a node on it requires less storage. This is useful for users who want to quickly spin up a node and interact with the network directly.

It's features:

  • Closed validator set, controlled by client & testing teams.
  • New testnet, less applications deployed than other testnets.
  • Fast to sync and running a node requires minimal disk space.

Goerli

It is the recommended default testnet for testing of validating and staking. The Goerli network is open for users wanting to run a testnet validator. Stakers wanting to test protocol upgrades before they are deployed to mainnet should therefore use Goerli.

It's features:

  • Open validator set, stakers can test network upgrades.
  • Large state, useful for testing complex smart contract interactions.
  • Longer to sync and requires more storage to run a node.

Top comments (0)