chainside / btcpy

A Python3 SegWit-compliant library which provides tools to handle Bitcoin data structures in a simple fashion.
https://www.chainside.net
GNU Lesser General Public License v3.0
270 stars 73 forks source link

BIP 49 #1

Closed juscamarena closed 7 years ago

juscamarena commented 7 years ago

Would be cool to have BIP 49, address generation from an xpub.

Or at the very least be flexible enough to derive a path.

I do something similar for bitcoinjs-lib here: https://gist.github.com/juscamarena/8b3928599f4c9658a39cf30f632eea95

SimoneBronzini commented 7 years ago

Thanks for your feedback! Management of HD structures is in the TODO list and will be implemented as soon as possible.

SimoneBronzini commented 7 years ago

Or at the very least be flexible enough to derive a path.

The closing commit adds HD derivation functionalities, we plan to also add a higher layer where addresses can be generated for predefined BIPs but this is in the TODO list and will be done eventually