TransWikia.com

Opening a wallet with bitcoind

Bitcoin Asked by Steve Merriman on October 24, 2021

I am running bitcoind after previously running bitcoin-qt. I made a wallet with bitcoin-qt (and encrypted it) and I would like to open it now with bitcoind. The folder that contains the wallet.dat file is in the data directory, but when I run either of the following:

bitcoin-cli listwallets
bitcoin-cli getwalletinfo

it does not show my wallet. I have tried:

bitcoind -wallet="directory with wallet.data file"

and still no luck, it just tried to rund bitcoind and says it is already running (not sure why, I am running bitcoind -daemon).

Any idea how I can import this wallet?

2 Answers

Run RPC listwallets and check if your account is listed.

If not, run loadwallet with only account name:

(assuming directory on disk: /home/user/.bitcoin/wallets/accountname/wallet.dat)

Command: loadwallet accountname

Answered by Akias on October 24, 2021

you must describe you bitcoin.conf , default was home folder user .bitcoin

here i have some example BSV script for change defaut values such location wallet data block and etc.

example script manage blockchain

you can check in bsv folder there was running custom script and example config .

Answered by sonjaya sonjaya on October 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP