0
1
I want to generate multiple btc addresses using one private key. I am using pywallet library but each child address also have the private key. Can I use one private key for multiple addresses (if they derived from the same private key) to create a transaction?
1Not entirely correct: pubkeys can be derived from privkey in compressed or uncompressed format. This gives two different addresses. OP is asking probably for HD wallets and the extended private keys. As in my other post: Andreas book „Mastering Bitcoin“ has a separate chapter on priv/pubkeys, wallets and extended keys (in a hierarchical deterministic wallet). There you can derive from one private key many other keys, and also addresses. – pebwindkraft – 2018-02-14T19:02:54.270
Thanks, I didn't know about compressed format. I would edit my answer to talk about that, but as we know now the OP wanted to know about HD wallets, maybe it's the case to delete my answer? – Osias Jota – 2018-02-14T19:56:27.293