Bitcoin Core Introduction Discussion

I might advice to download the version of the course, im sure the syntax from newest versions have change a little bit, inside the folders of the installation, there is one with the daemon.

Carlos Z

For those of you that are like me who can’t get the regtest address, as of the current version of bitcoin core that I’m using (latest version in13/08/2022), you need to do the following.

  1. start the bitcoind using: ./bitcoind -regtest
  2. create a new wallet using: ./bitcoin-cli -regtest createwallet “choose a name for the wallet”
  3. call the get new address command: ./bitcoin-cli -regtest getnewaddress
2 Likes

what command are you using to start the node?

Carlos Z

1 Like

cd /Applications/Bitcoin-Qt.app/Contents/MacOS/
./Bitcoin-Qt -regtest
is the commands in the Mac terminal that i use to start btc core in regtest. but after the Mac terminal doesn’t let me add any more commands. but when i use the btcCore terminal it wont recognize commands like getnewaddress or generate. i feel like it is something simple I’m missing.

You might need to create a wallet first

bitcoin-cli --regtest createwallet "wallet_name"

Carlos Z