Mainnet and Testnets

Stacks has both a mainnet and a testnet for different purposes. Mainnet and testnet are two completely different networks and tokens cannot be transferred between one or the other.
Mainnet
Stacks mainnet is directly connected to the Bitcoin mainnet and its the network where tokens have actual monetary worth. This is the production network and should be treated as such.
You can view mainnet activity using the official Stacks explorer.
Testnet
The Stacks testnet serves as a live public sandbox for developers, allowing them to build, test, and iterate on apps and smart contracts in an environment that mimics the mainnet. It provides a risk-free space to experiment with changes or new features before deploying them on the Stacks mainnet, ensuring that everything functions correctly without the risk of real financial loss.
You can view testnet activity using the official Stacks explorer.
Testnet Faucets
Testnet faucets provide you with mock Stacks (STX) tokens to test with. These testnet STX have no value and are not the same as STX on mainnet. There are a couple of different options for getting testnet STX.
You can get testnet STX from the Hiro Platform, which is the recommended way.
To get STX tokens from within the Hiro Platform, navigate to the "Faucet" tab at the top. You can then choose either testnet STX or sBTC, and then paste in your desired testnet STX address to receive.

Using the faucet provided by the Explorer Sandbox is another option.
You'll first need to connect your wallet to the Explorer Sandbox and hit 'Request STX'. Be sure your wallet is on the testnet network before requesting.

Alternatively, you can use the LearnWeb3 faucet.

Last updated
Was this helpful?
