Merge pull request #104 from BTCP-community/slip-0044-zcl
SLIP-0044 BIP44 Path = 147 HD Wallets
This commit is contained in:
commit
52a116c87f
|
@ -683,7 +683,7 @@ is_bip32_key = lambda x: is_xprv(x) or is_xpub(x)
|
|||
|
||||
|
||||
def bip44_derivation(account_id, bip43_purpose=44):
|
||||
coin = 1 if bitcoin.NetworkConstants.TESTNET else 0
|
||||
coin = 1 if bitcoin.NetworkConstants.TESTNET else 147 # ZCL - SLIP0044
|
||||
return "m/%d'/%d'/%d'" % (bip43_purpose, coin, int(account_id))
|
||||
|
||||
def from_seed(seed, passphrase, is_p2sh):
|
||||
|
|
Loading…
Reference in New Issue