• 10 clients.
  • Each client has his own wallet on my secured system.
  • An API service manages these wallets.

Leading Questions:

  • Each wallet should run as a separate process of "bitcoind"?
  • If so, each "bitcoind" can use the same blockchain files?
  • There is a best practice of running multiple wallets on the same system?
  • 0.17 (and I think 0.16) has support for multiple wallets in one bitcoind. Even runtime adding/removing/switching wallets. You can manage those using RPC commands. Multiple bitcoind instances can not share the same blockchain files. No experience with this, so can't comment on best practices. – Jannes Nov 22 '18 at 12:54
  • 1
    Thanks @Jannes! Following your answer, I researched a bit and wrote an official answer to that question. – Dor Bar Nov 22 '18 at 13:15

Using multiple wallets on one "bitcoind" process

Follow this steps:

  1. Run the bitcoind process.
  2. Create a wallet for each of the clients using:

bitcoin-cli.exe createwallet <client_uniq_id>

  1. When you want to perform any action on any wallet simply use:

bitcoin-cli.exe -rpcwallet=<client_uniq_id> <your_rpc_method>

  1. Use "" for <client_uniq_id> in order to refer to the default wallet, created by the bitcoind.
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.