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?


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

| improve this answer | |
  • And then I shouldn't save the private key on databases? – 西田龍 Sep 4 '17 at 22:47
  • 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 them – MeshCollider Sep 4 '17 at 23:05
  • Yeah but I need to send their account so I need privacy key.i use bitcoind – 西田龍 Sep 5 '17 at 9:22
  • 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 Sep 5 '17 at 9:24

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.