Ejemplo n.º 1
0
 def derive_bip32_pub_export(cls, master_key, path):
     #in the case of watchonly wallets this priv is actually a pubkey
     priv = cls._walk_bip32_path(master_key, path)
     return btc.bip32_serialize(btc.raw_bip32_privtopub(priv))
Ejemplo n.º 2
0
 def derive_bip32_priv_export(cls, master_key, path):
     return btc.bip32_serialize(cls._walk_bip32_path(master_key, path))
Ejemplo n.º 3
0
 def derive_bip32_pub_export(cls, master_key, path):
     priv = cls._walk_bip32_path(master_key, path)
     return btc.bip32_serialize(btc.raw_bip32_privtopub(priv))