Bitcoin Core – Learn to interact : regtest

Learn about Bitcoin Core, and how to interact with Bitcoin using the ‘regtest’ feature

The idea is to use “regtest” to try out bitcoin-cli with RPC and create a wallet, create a transaction. This is not about mining, this is about the code used to “Buy” or “Sell” Bitcoin and how you can interact with the blockchain using either the bitcoin-cli or Python code.

bitcoin-cli -regtest createwallet my_wallet true
bitcoin-cli -regtest createwallet moo
bitcoin-cli -regtest -generate -rpcwallet="moo"