where is the bitcoin's private key saved?

0

I'm making a service and I will have to take charge of users' private keys So I'm really worried about it.how should i take charge of that?

西田龍

Posted 2017-09-04T07:30:29.580

Reputation: 59

Answers

1

You should not ask users for their private keys. Instead, generate new addresses (with private keys) for the users to deposit bitcoin into. Then ensure you keep those keys safe and secure, back them up and keep them encrypted

MeshCollider

Posted 2017-09-04T07:30:29.580

Reputation: 8 735

And then I shouldn't save the private key on databases?西田龍 2017-09-04T22:47:49.567

You can use a bitcoin library or node to manage the keys for you, you only need the private keys when trying to spend the coins, not receive themMeshCollider 2017-09-04T23:05:04.207

Yeah but I need to send their account so I need privacy key.i use bitcoind西田龍 2017-09-05T09:22:28.667

You can interact with bitcoind's RPC interface to create new addresses and it will manage the private keys for you. By the way, if you are happy with my answer, please accept it :)MeshCollider 2017-09-05T09:24:27.123