Skip to content

Instantly share code, notes, and snippets.

@olistic
Forked from max-mapper/readme.md
Created January 4, 2024 16:15
Show Gist options
  • Save olistic/2d5e303da5eb9ff4fa5f794b39171842 to your computer and use it in GitHub Desktop.
Save olistic/2d5e303da5eb9ff4fa5f794b39171842 to your computer and use it in GitHub Desktop.
Bitcoin Regtest Local Server Instructions
  1. Grab the latest bitcoin-core .tar.gz release and unpack it https://bitcoin.org/en/download
  2. Add the bin folder to your path
  3. Start the regtest server bitcoind -regtest
  4. Create a test wallet bitcoin-cli -regtest createwallet test
  5. Get a bcrt address for your wallet bitcoin-cli -regtest getnewaddress
  6. 'Mine' some regtest btc bitcoin-cli generatetoaddress 10 <address-from-previous-command>
  7. Make sure it worked `bitcoin-cli getblockcount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment