Mainnet
In simple terms
Mainnet is the real network. Anything that happens there involves real assets and real consequences, unlike a test network where the tokens are worthless on purpose.
Definition
The live blockchain network where transactions carry real value.
In depth
Mainnet is the canonical production deployment of a protocol, secured by its real economic weight — accumulated hash rate under proof of work, or staked capital under proof of stake. Contracts deployed there are immutable in the same way as any other on-chain state, and code that behaved correctly on a test network can still fail on mainnet because of real liquidity, real adversaries and real congestion. The phrase "mainnet launch" marks the point at which a project's security assumptions stop being hypothetical.
How does Mainnet work?
A wallet connects to a specific network identified by a chain ID and an RPC endpoint. Selecting mainnet points every action at the live chain. Developers usually deploy to a test network first, run through the flows with valueless tokens, then deploy the same code to mainnet, where an error costs real money and cannot be patched by redeploying, because the old contract and anything held in it remain where they are.
An example
A team tests a contract on a public test network for weeks using free tokens from a faucet, then deploys to mainnet. The deployment itself costs an illustrative fee in the native asset, and from that point every interaction moves real value.
Figures are illustrative only.
What beginners get wrong
- Sending mainnet assets to an address generated on a test network, or the reverse. The networks are separate and the funds do not cross.
- Treating a successful testnet run as proof of safety. Test networks have no real adversaries and no real liquidity.
- Adding an unfamiliar network from a link. A malicious RPC endpoint can misrepresent balances and prompt for harmful approvals.
Related terms
Part of
How does a blockchain transaction actually work? — the subject page for blockchain mechanics, with all 15 of its definitions in one place.
Educational only — not financial advice.
