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

allow ypub and yprv keys (generated by trezor) #20

Open jooray opened 6 years ago

jooray commented 6 years ago

Trezor generates ypub and yprv keys as well. Tested with addresses generated by Trezor, simply allowing the different prefix works for key derivation, no special treatment needed. These are not master public keys, but relative keys.