- Run bitcoind for regtest
bitcoind -regtest -rpcport=8332
- If it's the first time, create a new wallet
bitcoin-cli -regtest -rpcport=8332 createwallet test
- If it's not the first time, load the wallet. This command may take a while if you have lot of utxos