Post
Topic
Board Bitcoin Technical Support
Re: Multiwallet usage
by
cryptoworld99
on 05/05/2020, 05:28:26 UTC
I just am starting to use this multi-wallet feature. Theoretically, it looks like it will not be that hard. Whenever there's a transaction, I just pre-pend the "-rpcwallet=wallet1.dat" in the command. ie.
Code:
bitcoin-cli -rpcwallet=wallet1.dat COMMAND

Let's say I add another wallet in another subdirectory. If I do not add the  "-rpcwallet=wallet1.dat" does it default to the base wallet.dat?





You could add multiple wallets in your bitcoin.conf file so when your wallet loads it will load them all.

But you must declare each wallet using -rpcwallet to execute commands.

Please leave me good feedback it will help me a lot thanks.