hg0088线上

hg0088线上since ethereum is a protocol, this means there can be multiple independent "networks" conforming to this protocol that do not interact with each other.

networks are different ethereum environments you can access for development, testing, or production use cases. your ethereum account will work across the different networks but your account balance and transaction history wont carry over from the main ethereum network. for testing purposes, it's useful to know which networks are available and how to get testnet eth so you can play around with it.

Prerequisites

You should understand the basics of Ethereum before reading up on the different networks as the test networks will give you a cheap, safe version of Ethereum to play around with. Try our introduction to Ethereum.

Public networks

hg0088线上public networks are accessible to anyone in the world with an internet connection. anyone can read or create transactions on a public blockchain and validate the transactions being executed. agreement on transactions and the state of the network is decided by a consensus of peers.

Mainnet

mainnet is the primary public ethereum production blockchain, where actual-value transactions occur on the distributed ledger.

when people and exchanges discuss eth prices, they're talking about mainnet eth.

Testnets

hg0088线上in addition to mainnet, there are public 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.

it’s generally important to test any contract code you write on a testnet before deploying to the mainnet. if you're building a dapp that integrates with existing smart contracts, most projects have copies deployed to testnests that you can interact with.

hg0088线上most testnets use a proof-of-authority consensus mechanism. this means a small number of nodes are chosen to validate transactions and create new blocks – staking their identity in the process. it's hard to incentivise mining on a proof-of-work testnet which can leave it vulnerable.

Görli

hg0088线上a proof-of-authority testnet that works across clients.

Kovan

hg0088线上a proof-of-authority testnet for those running openethereum clients.

Rinkeby

hg0088线上a proof-of-authority testnet for those running geth client.

Ropsten

hg0088线上a proof-of-work testnet. this means it's the best like-for-like representation of ethereum.

Testnet Faucets

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.

Private networks

an ethereum network is a private network if its nodes are not connected to a public network (i.e. mainnet or a testnet). in this context, private only means reserved or isolated, rather than protected or secure.

Development networks

to develop an ethereum application, you'll want to run it on a private network to see how it works before deploying it. similar to how you create a local server on your computer for web development, you can create a local blockchain instance to test your dapp. this allows for much faster iteration than a public testnet.

There are projects and tools dedicated to assist with this. Learn more about development networks.

Consortium networks

hg0088线上the consensus process is controlled by a pre-defined set of nodes that are trusted. for example, a private network of known academic institutions that each govern a single node, and blocks are validated by a threshold of signatories within the network.

if a public ethereum network is like the public internet, you can think of a consortium network as a private intranet.

Further reading

Know of a community resource that helped you? Edit this page and add it!

Back to top ↑
  • On this page
  • Prerequisites
  • Public networks
  • Private networks
  • Further reading