How to run a Dogecoin regtest server
Dogecoin’s regression test mode (regtest mode) lets you instantly create a brand-new private block chain with the same basic rules as testnet-but one major difference: you choose when to create new blocks, so you have complete control over the environment. The following example will let you run a regtest server.
-
Download Dogecoin binary from Github.
-
Run dogecoind with regtest arguments
dogecoind -regtest -server -txindex -rpcuser=your-rpc-username -rpcpassword=you-rpc-password -rpcport=22666 -datadir=choose-a-data-dir
-
Generate blocks and get reward
dogecoin-cli -regtest -rpcuser=your-rpc-username -rpcpassword=you-rpc-password -rpcport=22666 generate 100
-
Check balance
dogecoin-cli -regtest -rpcuser=your-rpc-username -rpcpassword=you-rpc-password -rpcport=22666 getbalance
-
Have fun with your regtest network!