0

When I restart the Bitcoin node, I would like to load the wallet I created in the "wallets" subdirectory.

  1. bitcoin-cli createwallet "1"
  2. bitcoin-cli listwallets -> result : "", "1"
  3. bitcoin-cli -testnet stop
  4. bitcoind -testnet -daemon
  5. bitcoin-cli listwallets -> result : ""

thanks.

0

You load a wallet using the loadwallet command.

To load the wallet named 1, do

bitcoin-cli loadwallet "1"

In order to have that specific wallet always loaded, add to your bitcoin.conf file:

wallet=1
  • Is there any way I can load it when the node starts? – JEAGONG JEONG Aug 23 at 7:25
  • You add the bitcoin.conf line I mentioned in my answer. – Andrew Chow Aug 23 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.