How to run monero node in testnet mode for testing purpose and how to get testnet coin? Is there any testnet online portal for testing?
3 Answers
- Start the daemon:
monerod --testnet
and then once sync'ed... - Start the wallet in another window:
monero-wallet-cli --testnet
to create a testnet wallet, then... - Back in the running daemon type:
start_mining <your-wallet-address-here>
- Wait to mine a block. You'll then have testnet coins.
There's a testnet and stagenet faucet currently provided by xmr.to: https://community.xmr.to/faucet/testnet/
There's a testnet and stagenet faucet currently provided by rino.io