<p>One work around the limitation of wallet location is that into the <strong>\bitcoin</strong> folder there could be a subfolder named, as an example, <strong>\AllWallets</strong>. Into this subfolder there could be many subfolders containing the files for each wallet desired. These files are the <strong>Wallet.dat</strong>, <strong>.walletlock</strong> , and <strong>db.log</strong></p>
<p>When bitcoin-qt.exe is launch with NO wallet it will alert the user to either create a new wallet or to utilize the menu “<strong>File &gt; Open Wallet</strong>” and will offer to open any of the subfolder wallet files that are located into each of those subfolder.  For instance there could be 3 subfolders called <strong>\JackWallet</strong> , <strong>\AlfredWallet</strong> and <strong>\JoeWallet</strong>.</p>
<p>The user can open as many wallets as desired ( it seems ). A selector box will appear into the bitcoin-qt GUI on the top right  corner. This selector will offer to work with any one of the currently opened wallets. This way it becomes very convenient for the user to be able to utilize the wallet of his choice for payment or any other operation. The selection change is quick and appear very functional.</p>
<p>More experimentation is necessary to become familiarized with this newly discovered feature. Although this does not solve the limitation about Wallet location being out of the <strong>\bitcoin</strong> folder, it sure render the GUI more convenient  for the utilization of multiple wallets.</p>

CC BY-SA 4.0
2021-04-30T19:55:37.620Z
2021-04-30T19:55:37.620Z
Fred Cailloux
<p>After substantial research I could not find any solution for this seemingly simple implementation of the Bitcoin-Core app.</p>
<p><strong>Here is what I am trying to achieve:</strong>
Running a full node on one computer require up do 400GB of drive storage. It appear, after all my research, that if one wants to access more than one wallet from the same computer, it would be required that each wallet be run from a different folder altogether, otherwise the Bitcoin-Core will act strangely, refuse to launch, or ask the user to create a new wallet altogether. Add to that, would also be required that each wallet be launched with a different shortcut, which is well acceptable.</p>
<p>I am running a Windows 7 computer that can hold 1TB on a secondary data hard drive. The first drive is an SSD and is strictly utilized for the OS and software installation. Holding the whole bitcoin blockchain is OK but holding 2 copies or 3 is out of the question, besides would be kind of ridiculous since X times 400GB of the same data makes no sense.
What I am trying to do is be able to launch a different wallet via its own shortcut. After several experimentation the only way I found to do this would be that every time I want to run a wallet I have to replace a whole bunch of files related to that wallet into the <strong>\bitcoin</strong> folder. This is a tedious task and a relatively unsafe way to do things. Such practice is prone to errors and could potentially be risky to lose some bitcoins.</p>
<p>I’ve experimented with the shortcut option</p>
<blockquote>
<p>–walletdir=D:\AllWallets\MyWalletA\</p>
</blockquote>
<p>but this doesn’t work for some reason. The parameter is completely ignore without generating any error. The only way I found that could work would be to maintain the whole blockchain 3X into 3 different folders and launch any of them with the appropriate shortcut. An option that require 1.2TB and makes no practical sense since it is utilizing so much hard drive memory storage.</p>
<p>So here is the question:<br />
<strong>How can I store a specific wallet located in FolderA that is completely different then D:\Bitcoin\<br />
(<em>were D:\Bitcoin\ would be the complete blockchain location</em>) ?</strong></p>
<p>If I could do that then I could also create any number of FolderB, FolderC, FolderD that would hold my different wallets and that I could launch any of those wallets ( not simultaneously ) when I need to do a transaction. All these folders could store the wallet files but not the whole blockchain.
Thanks for your help</p>

CC BY-SA 4.0
2021-04-27T15:27:17.740Z
@Prayank, that suggestion does not resolve the problem. I did experiment with " -datadir=D:\SomeFolder " and it does work fine. The problem remains that the wallet.dat file Must reside in D:\SomeFolder for the Bitcoin-Core to open properly. If the wallet in not there Bitcoin-Core will force you to create a new one. I'm sure there is a workaround for this. Still searching. Thanks
Fred Cailloux
CC BY-SA 4.0
2021-05-30T21:54:55.937Z
You can have multiple wallets loaded at the same time.
Pieter Wuille
<bitcoin-core><blockchain><wallet.dat>
How to implement multiple wallet folders located out of the bitcoin blockchain folder?
Fred Cailloux
# How to implement multiple wallet folders located out of the bitcoin blockchain folder?

(Asked by: username_0 on 2021-04-26)

After substantial research I could not find any solution for this seemingly simple implementation of the Bitcoin-Core app.

**Here is what I am trying to achieve:**
Running a full node on one computer require up do 400GB of drive storage. It appear, after all my research, that if one wants to access more than one wallet from the same computer, it would be required that each wallet be run from a different folder altogether, otherwise the Bitcoin-Core will act strangely, refuse to launch, or ask the user to create a new wallet altogether. Add to that, would also be required that each wallet be launched with a different shortcut, which is well acceptable.

I am running a Windows 7 computer that can hold 1TB on a secondary data hard drive. The first drive is an SSD and is strictly utilized for the OS and software installation. Holding the whole bitcoin blockchain is OK but holding 2 copies or 3 is out of the question, besides would be kind of ridiculous since X times 400GB of the same data makes no sense.
What I am trying to do is be able to launch a different wallet via its own shortcut. After several experimentation the only way I found to do this would be that every time I want to run a wallet I have to replace a whole bunch of files related to that wallet into the **\bitcoin** folder. This is a tedious task and a relatively unsafe way to do things. Such practice is prone to errors and could potentially be risky to lose some bitcoins.

I’ve experimented with the shortcut option

> –walletdir=D:\AllWallets\MyWalletA\

but this doesn’t work for some reason. The parameter is completely ignore without generating any error. The only way I found that could work would be to maintain the whole blockchain 3X into 3 different folders and launch any of them with the appropriate shortcut. An option that require 1.2TB and makes no practical sense since it is utilizing so much hard drive memory storage.

So here is the question:  
**How can I store a specific wallet located in FolderA that is completely different then D:\Bitcoin\  
(*were D:\Bitcoin\ would be the complete blockchain location*) ?**

If I could do that then I could also create any number of FolderB, FolderC, FolderD that would hold my different wallets and that I could launch any of those wallets ( not simultaneously ) when I need to do a transaction. All these folders could store the wallet files but not the whole blockchain.
Thanks for your help

**Tags:** bitcoin-core, blockchain, wallet.dat

> **Comments:**
> **username_0**: @Prayank, that suggestion does not resolve the problem. I did experiment with " -datadir=D:\SomeFolder " and it does work fine. The problem remains that the wallet.dat file Must reside in D:\SomeFolder for the Bitcoin-Core to open properly. If the wallet in not there Bitcoin-Core will force you to create a new one. I'm sure there is a workaround for this. Still searching. Thanks  
> **username_1**: You can have multiple wallets loaded at the same time.  

---

## 1 answers

### Answer by username_0 on 2021-04-30. Score: 1

One work around the limitation of wallet location is that into the **\bitcoin** folder there could be a subfolder named, as an example, **\AllWallets**. Into this subfolder there could be many subfolders containing the files for each wallet desired. These files are the **Wallet.dat**, **.walletlock** , and **db.log**

When bitcoin-qt.exe is launch with NO wallet it will alert the user to either create a new wallet or to utilize the menu “**File > Open Wallet**” and will offer to open any of the subfolder wallet files that are located into each of those subfolder. For instance there could be 3 subfolders called **\JackWallet** , **\AlfredWallet** and **\JoeWallet**.

The user can open as many wallets as desired ( it seems ). A selector box will appear into the bitcoin-qt GUI on the top right corner. This selector will offer to work with any one of the currently opened wallets. This way it becomes very convenient for the user to be able to utilize the wallet of his choice for payment or any other operation. The selection change is quick and appear very functional.

More experimentation is necessary to become familiarized with this newly discovered feature. Although this does not solve the limitation about Wallet location being out of the **\bitcoin** folder, it sure render the GUI more convenient for the utilization of multiple wallets.


---

