settingsrpcbitcoinbitcoind

add a RPC password to your bitcoin.conf file


I'm following instructions here and it says that I will find a bitcoin.conf file Windows: %APPDATA%\Bitcoin\ and

To use bitcoind and bitcoin-cli, you will need to add a RPC password to your bitcoin.conf file. Both programs will read from the same file if both run on the same system as the same user, so any long random password will work: rpcpassword=change_this_to_a_long_random_password

However When I navigate to %APPDATA%\Bitcoin\ I don't see a bitcoin.conf file. enter image description here

So What do I do? Do I add a bitcoin.conf file? There is a bitcoin-conf.md file in doc in my bitcoin install directory so maybe somthing todo with that? I really don't know. Thanks for pointing me in the right direction.


Solution

  • You have to create this file and put a single line rpcpassword=<your_password> in it.

    bitcoin-conf.md contains documentation for this btcoin.conf and particularily states:

    The configuration file is not automatically created; you can create it using your favorite text editor.

    Recommended reading this doc. It may help you to facilitate running your node.