mirror of
https://github.com/monero-project/monero-docs.git
synced 2024-12-23 12:09:44 +00:00
75 lines
2.7 KiB
Markdown
75 lines
2.7 KiB
Markdown
---
|
|
title: Mainnet, Stagenet, Testnet
|
|
---
|
|
# 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](https://getmonero.org/downloads/) 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](https://melo.tools/faucet/stagenet/) or [stagenet faucet 2](https://stagenet-faucet.xmr-tw.org/)
|
|
* Check the [stagenet block explorer 1](https://stagenet.xmrchain.net/) or [stagenet block explorer 2](https://melo.tools/explorer/stagenet/)
|
|
|
|
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](#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](https://github.com/monero-project/monero)
|
|
* Connect your GUI or CLI to testnet open node **monero-testnet.exan.tech:28081**
|
|
* Get free XMR from [testnet faucet](https://melo.tools/faucet/testnet/)
|
|
* Check the [testnet block explorer 1](https://testnet.xmrchain.net/) or [testnet block explorer 2](https://melo.tools/explorer/testnet/)
|
|
|
|
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](https://github.com/moneroexamples/private-testnet).
|
|
|
|
## 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.
|