Halaman ini hanya untuk tujuan informasi. Layanan dan fitur tertentu mungkin tidak tersedia di yurisdiksi Anda.

What is a mainnet?

A mainnet is the public network on which a blockchain officially runs, and transactions on it move assets that have real value. When people talk about the price of ether (ETH), they mean ETH on Ethereum mainnet.

The same set of blockchain rules can also run other networks for developers to test on. Each of these networks keeps its own ledger, separate from mainnet's. Ethereum has only one mainnet; any other network run under the same protocol rules is not Ethereum mainnet. For how a mainnet's starting point is set, see genesis block.

How mainnet and testnet differ

A testnet runs under the same or similar rules as mainnet and is used to test smart contracts, applications, or protocol upgrades before they are deployed to mainnet. The most fundamental difference between the two is whether the coins on the network have real value:

Mainnet Testnet
Purpose Handles real transfers and application interactions Tests contracts, applications, and protocol upgrades
Value of coins Has real value Designed to have no real value
How to get coins Buy them, receive them from others, or earn block rewards as a miner or validator Usually enter an address on a "faucet" website to claim a small amount of test coins for free
Stability Runs continuously under the protocol Its ledger may be reset, or the network may be retired or replaced

Ethereum, Bitcoin, and Solana each run their own test networks:

  • Ethereum: The public testnets currently maintained by the teams that develop Ethereum node software (clients) are Sepolia and Hoodi. Sepolia is for contract and application developers to test on; Hoodi is for protocol developers to test network upgrades and for stakers to trial-run validators. The Holesky testnet, previously used for validator testing, was shut down two weeks after it completed and finalized the network upgrade called Fusaka, according to an Ethereum Foundation announcement made in September 2025, and it is no longer maintained by client teams. Developers can also start a network on their own computer for local testing only.
  • Bitcoin: Bitcoin Core, Bitcoin's node software, connects to mainnet by default and can also switch to a testnet. On a testnet, long runs of confirmed blocks may be replaced by another chain (a block reorganization), and block production can be fast at some times and slow at others. Bitcoin developers proposed signet for this reason: besides satisfying proof of work, blocks must also meet signature conditions set by the network, and whoever sets these conditions can control who is able to produce valid blocks, which makes it easier to run tests that resemble mainnet. Developers can also use regtest mode to create a private chain on their own machine that does not connect to any public network, and decide for themselves when blocks are produced.
  • Solana: Besides mainnet, there are Devnet and Testnet. Tokens on both are not real assets, and their ledgers may be reset. Although its name suggests a development network, Devnet is a public network anyone can connect to, aimed at users, application developers, and validators who want to try things out; Testnet is mainly for core developers to run stress tests and for validator testing.

Layer 2 networks, which execute transactions outside Ethereum (see offchain), likewise have their own production networks and testnets.

Balances do not carry across networks, so pick the right network when transferring

The same address (account) can be used on Ethereum mainnet and on each testnet, but balances and transaction history do not carry over from one network to another: 100 ETH on a testnet will not appear on mainnet, and mainnet assets will not appear on a testnet. For security reasons, the Ethereum website advises against mixing mainnet accounts and testnet accounts.

Ethereum uses a chain ID to tell these networks apart, and mainnet's chain ID is 1. Ethereum Improvement Proposal EIP-155 proposes including the chain ID in what is signed. Transactions signed under this specification cannot be replayed on a network with a different chain ID.

The same principle applies between the mainnets of different blockchains. The same asset may be issued on several blockchains, so you need to pick the right network when transferring. OKX's withdrawal page notes that if a coin supports multiple networks, the network you select when withdrawing must match the deposit network of the receiving wallet or platform; otherwise, assets may be lost.

After a mainnet launch, tokens may need to migrate and deposits and withdrawals may pause

A "mainnet launch" means a project's blockchain has started running on its production network. Some projects issue tokens on other blockchains before their own mainnet launches; once the new mainnet is live, they may ask users to migrate those tokens to the new network. A mainnet launch does not by itself move users' balances over. Migration is also called a mainnet swap; whether a migration is needed and how to carry it out depend on the specific announcements of the project and of the platform being used.

During a migration, trading platforms may suspend deposits and withdrawals of the coin. Take an OKX (then called OKEx) announcement dated September 26, 2019: after Vite (VITE) completed its mainnet swap, the platform generated new deposit addresses for VITE and retired the old ones, and continuing to deposit to an old address would result in the loss of assets.

A mainnet launch only means the network handles real assets, not that it is free of bugs or risk

A mainnet launch shows that the network has started processing transactions with real value, and that users' assets and actions are from then on genuinely recorded on this chain. It does not show that the code is free of vulnerabilities, that the network is sufficiently decentralized, or that all features are complete; running smoothly on a testnet does not guarantee that nothing will go wrong on mainnet either. Nor does a mainnet launch say where the token will trade or how its price will move.

FAQ

Can test coins be exchanged for money?

Test coins are designed to have no real value. Markets have emerged for some hard-to-get test coins, but be especially careful when someone claims they can turn test coins into money.

Learn more about blockchain, blockchain nodes, blockchain addresses, validators, the ERC-20 token standard, genesis blocks, and offchain, or return to the cryptocurrency glossary.

References

Penafian
Konten ini hanya disediakan untuk tujuan informasi dan mungkin mencakup produk yang tidak tersedia di wilayah Anda. Konten ini juga tidak dimaksudkan untuk memberikan (i) nasihat atau rekomendasi investasi; (ii) penawaran atau ajakan untuk membeli, menjual, ataupun memiliki kripto/aset digital, atau (iii) nasihat keuangan, akuntansi, hukum, atau perpajakan. Kepemilikan kripto/aset digital, termasuk stablecoin, melibatkan risiko yang tinggi dan dapat berfluktuasi dengan sangat ekstrem. Anda harus mempertimbangkan dengan cermat apakah trading atau kepemilikan kripto/aset digital adalah keputusan yang sesuai dengan kondisi finansial Anda. Silakan berkonsultasi dengan ahli hukum/perpajakan/investasi jika ada pertanyaan mengenai keadaan spesifik Anda. Informasi (termasuk data pasar dan informasi statistik, jika ada) yang muncul di posting ini hanya untuk tujuan informasi umum. Meskipun data dan grafik ini sudah disiapkan dengan hati-hati, tidak ada tanggung jawab atau kewajiban yang diterima atas kesalahan fakta atau kelalaian yang mungkin terdapat di sini.

Aset Digital rentan terhadap volatilitas dan tidak diasuransikan. Bukan nasihat keuangan/investasi. Tidak semua produk ditawarkan di semua wilayah. Pengecualian dan S&K berlaku.

© 2026 OKX. Artikel ini dapat direproduksi atau didistribusikan seluruhnya, atau petikan sebanyak 100 kata atau kurang dari artikel ini dapat digunakan, selama penggunaan tersebut bersifat nonkomersial. Setiap reproduksi atau distribusi dari seluruh artikel juga harus dinyatakan dengan jelas: “Artikel ini © 2026 OKX dan digunakan dengan izin.“ Petikan yang diizinkan harus mengutip nama artikel dan menyertakan atribusi, misalnya “Nama Artikel, [nama penulis jika ada], © 2026 OKX.“ Beberapa konten mungkin dibuat atau dibantu oleh alat kecerdasan buatan (AI). Tidak ada karya turunan atau penggunaan lain dari artikel ini yang diizinkan.

Artikel Terkait

Lihat Selengkapnya
crypto-glossary-cover-v5.contentful

Crypto Glossary A–Z

Explore key crypto, blockchain, and trading terms through concise definitions, organized alphabetically for quick reference. [A](#a) · [B](#b) · [C](#c) · [D](#d) · [E](#e) · [F](#f) · [G](#g) · [H](#
3 Des 2026
12-03-glossary-thumnail/zero-knowledge-rollup

What is a ZK rollup?

**A zero-knowledge rollup (ZK rollup) is a type of [rollup](/learn/what-is-a-rollup): it hands the results of a batch of transactions to the main chain together with a proof, and the main chain accept
3 Des 2026
12-03-glossary-thumnail/zero-knowledge-proof

What is a zero-knowledge proof?

**A zero-knowledge proof (ZKP) lets someone convince another party that a statement is true without revealing any information beyond the statement itself.** The party that submits the proof is called
3 Des 2026
12-03-glossary-thumnail/validator

What is a validator?

**A validator is a participant in a [proof-of-stake](/learn/what-is-proof-of-stake) blockchain that proposes new blocks and votes on other blocks.** It must first [stake](/learn/what-is-staking) the a
3 Des 2026
12-03-glossary-thumnail/unspent-transaction-output-utxo

What is an unspent transaction output (UTXO)?

**An unspent transaction output (UTXO) is an amount of bitcoin (BTC) that a transaction has paid to someone and that has not yet been spent again; each record states the amount and the conditions for
3 Des 2026
what-is-blockchain

What is transactions per second (TPS)?

**Transactions per second (TPS) is a figure that measures how many transactions a [blockchain](/learn/what-is-a-blockchain) can process, or actually processes, each second. It is also called throughpu
3 Des 2026
Lihat Selengkapnya