Author

Topic: Bitcoin Core Multiple Wallets (Read 1276 times)

legendary
Activity: 3584
Merit: 5243
https://merel.mobi => buy facemasks with BTC/LTC
March 13, 2017, 09:13:00 AM
#3
Bitcoin Core is not currently designed to easily maintain multiple wallets.

It can be done, but will require a bit of technical know-how and a LOT of care.

Bitcoin Core stores the entire wallet in a file named wallet.dat in the data directory on your filesystem.  If it can't find that file, then it creates a new one.

So, to create a new wallet, you can shut down Bitcion Core, move or rename the wallet.dat file, and then start Bitcoin Core back up again.

As long as you are VERY CAREFUL to keep track of each of your wallet.dat files and not to accidentally delete or overwrite them, then you can maintain as many as you like.

I completely agree, i just wanted to add that you can just give each walletfile a different name, and then create aliasses to bitcoind or bitcoin-qt with the -wallet=walletname.dat option...
This way you don't have to juggle with filenames, and potentially lose funds Wink

For example, create 4 wallets by starting bitcoin core, stopping bitcoin core and then renaming the wallet.dat in your ~/.bitcoin folder (then repeating the process). For example, run this process 4 times to generate :
mywallet.dat
wifeswallet.dat
kidswallet.dat
businesswallet.dat

Then, in linux, open your .bashrc with vi, vim, nano,... and add following lines (something similar *MIGHT* exist in windows... don't really know):
alias mywallet="bitcoin-qt -wallet=~/.bitcoin/mywallet.dat"
alias wifeswallet="bitcoin-qt -wallet=~/.bitcoin/wifeswallet.dat"
alias kidswallet="bitcoin-qt -wallet=~/.bitcoin/kidswallet.dat"
alias businesswallet="bitcoin-qt -wallet=~/.bitcoin/businesswallet.dat"
legendary
Activity: 3472
Merit: 4801
March 13, 2017, 08:28:41 AM
#2
Bitcoin Core is not currently designed to easily maintain multiple wallets.

It can be done, but will require a bit of technical know-how and a LOT of care.

Bitcoin Core stores the entire wallet in a file named wallet.dat in the data directory on your filesystem.  If it can't find that file, then it creates a new one.

So, to create a new wallet, you can shut down Bitcion Core, move or rename the wallet.dat file, and then start Bitcoin Core back up again.

As long as you are VERY CAREFUL to keep track of each of your wallet.dat files and not to accidentally delete or overwrite them, then you can maintain as many as you like.
newbie
Activity: 20
Merit: 0
March 13, 2017, 06:56:26 AM
#1
Can we create multiple wallets with bitcoin core or we have only one wallet with multiple addresses?
Jump to: