示例#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))
示例#2
0
 def derive_bip32_priv_export(cls, master_key, path):
     return btc.bip32_serialize(cls._walk_bip32_path(master_key, path))
示例#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))