Create or edit the bitcoin.conf file in the Bitcoin data directory and add the following configuration to enable regtest, your own local network. The contents of the bitcoin.conf file should be:
You can replace user and pass with your desired username and password (in which case you will have to change these values for each validator and user of this demo — this documentation will guide you).
Start Bitcoin Core daemon: