Networks¶
Monero offers three separate networks and blockchains: mainnet, stagenet and testnet. Every blockchain has its own genesis block and is entirely seperate from others. Also, corresponding p2p networks are separate.
Mainnet¶
Mainnet is the "production" network and blockchain.
Mainnet is the only blockchain where XMR units have value.
Mainnet is what people mean by default.
Default TCP ports (listening):
- 18080 - p2p network
- 18081 - JSON-RPC server
- 18082 - ZMQ server
Stagenet¶
Stagenet is what you need to learn Monero safely.
Stagenet is technically equivalent to mainnet, both in terms of features and consensus rules. Similar to mainnet, use the latest official Monero release to be compatible with stagenet.
To get started:
- Connect your GUI or CLI to stagenet open node monero-stagenet.exan.tech:38081
- Get free stagenet XMR from stagenet faucet or stagenet faucet 2
- Check the stagenet block explorer 1 or stagenet block explorer 2
Default TCP ports (listening):
- 38080 - p2p network
- 38081 - JSON-RPC server
- 38082 - ZMQ server
Stagenet was introduced in March 2018 as part of Monero 0.12.0.0.
Testnet¶
As a normal user, use stagenet instead. Testnet is for developers.
Testnet is the "experimental" network and blockchain where things get released long before mainnet.
Testnet forks early and often. Most of the time you need to compile Monero from source to be compatible with testnet. Otherwise you will get stuck on the old not-forked version.
To get started:
- Build Monero from source
- Connect your GUI or CLI to testnet open node monero-testnet.exan.tech:28081
- Get free XMR from testnet faucet
- Check the testnet block explorer 1 or testnet block explorer 2
Default TCP ports (listening):
- 28080 - p2p network
- 28081 - JSON-RPC server
- 28082 - ZMQ server
Private Testnet¶
You can also create your private version of the testnet.
Private testnet gives more flexibility to arange for specific situations for developers.
Check the private testnet guide.
Why stagenet and testnet coins have no value?¶
If mainnet and stagenet are technically equivalent then why only mainnet coins have value?
This is simply the convention community embraced. Value only comes from a shared believe that mainnet coins will be accepted by other people in the future.