0

I'm trying to create an extended private key so I can create multiple public addresses that can be controlled using a single master key.

I have a library which handles most of what I need, but I need to provide an extended private key.

How can I generate an extended private key? Ideally I'd like to do it from linux command line.

3
  • What do you mean by ‘controlled by a single private key’? I ask because there is a common misconception that a master priv key can be used to spend coins stored at child addresses. – chytrik Nov 27 '19 at 20:52
  • @chytrik making a bot that needs to create unique address for user to deposit to but was hoping to use a single private key to be able to resend those funds to a master wallet after transaction. – Philip Kirkbride Nov 27 '19 at 20:59
  • The master private key is used to derive the child private keys that will let you spend the funds. The master private key cannot be used to spend funds stored at child addresses. You will still need to use each individual key to sign transactions. – chytrik Nov 27 '19 at 22:22

Your Answer

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

Browse other questions tagged or ask your own question.