How can i create a wallet for web based application for bitcoin i.e., unique address for each user along with the private key?

Does using bitcoind help me with this and how can i do this ?

I want to create wallet for each user who access a site. How can i do this?

Bitcoind getnewaddress '' command works and produces a new address but where is the private key for this address.


1 Answer 1


The getnewaddress command will create a new private key/address and associate this with the default account, which is "" (has no name).

You can assign private keys to different accounts by naming them, and if you used:

bitcoind getnewaddress "account1"

This would create a new private key/address for the account "account1". This doesn't create multiple wallet.dat files, just different accounts.

You could store all the keys in the bitcoin core wallet and have each web users "wallet" be created as a different account in bitcoin core.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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