<p>For future reference, thought I'd respond to my original question with what I've found out to this point. Haven't fully answered the original question yet but the approach I'm using at the moment to toggle between wallets is: </p>

<pre><code>bitcoin-cli -rpcwallet="filename" [command]
</code></pre>

<p>Any other thoughts on best practices would be great!</p>

CC BY-SA 4.0
2020-06-12T17:45:08.183Z
2020-06-12T17:45:08.183Z
Ryan
<p>I've created a couple wallets on Core to experiment with and want to dedicate one wallet as a live one.  What is the best way to move between those wallets inside the command line?  When I toggle to a wallet that is not the default in the GUI and try some bitcoin-cli wallet commands it get an error</p>

<pre><code>Wallet file not specified (must request wallet RPC through /wallet/&lt;filename&gt; uri-path)
</code></pre>

<p>Is it just a matter of passing a wallet file name into the command? Or is there a better way to manage multiple wallets? Other best practices to a multi-wallet setup (i.e. don't)?</p>

<bitcoind><wallet><bitcoin-cli>
What are best practices around toggling between multiple wallets in bitcoind?
Ryan
# What are best practices around toggling between multiple wallets in bitcoind?

(Asked by: username_0 on 2020-06-11)

I've created a couple wallets on Core to experiment with and want to dedicate one wallet as a live one. What is the best way to move between those wallets inside the command line? When I toggle to a wallet that is not the default in the GUI and try some bitcoin-cli wallet commands it get an error

```
Wallet file not specified (must request wallet RPC through /wallet/<filename> uri-path)

```

Is it just a matter of passing a wallet file name into the command? Or is there a better way to manage multiple wallets? Other best practices to a multi-wallet setup (i.e. don't)?

**Tags:** bitcoind, wallet, bitcoin-cli


---

## 1 answers

### Answer by username_0 on 2020-06-12. Score: 2

For future reference, thought I'd respond to my original question with what I've found out to this point. Haven't fully answered the original question yet but the approach I'm using at the moment to toggle between wallets is:

```
bitcoin-cli -rpcwallet="filename" [command]

```

Any other thoughts on best practices would be great!


---

