File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414from hdwallet import HDWallet as ext_HDWallet # type: ignore
1515from hdwallet .cryptocurrencies import Bitcoin
1616from hdwallet .derivations import CustomDerivation
17+ from hdwallet .hds import BIP32HD
1718from hdwallet .mnemonics import BIP39Mnemonic
1819
1920from bitcoinutils .setup import is_mainnet
@@ -42,7 +43,7 @@ def __init__(
4243 ):
4344 """Instantiate a hdwallet object using the corresponding library with BTC"""
4445
45- self .hdw = ext_HDWallet (cryptocurrency = Bitcoin , network = 'mainnet' if is_mainnet () else 'testnet' )
46+ self .hdw = ext_HDWallet (cryptocurrency = Bitcoin , network = 'mainnet' if is_mainnet () else 'testnet' , hd = BIP32HD )
4647
4748 if mnemonic :
4849 self .hdw .from_mnemonic (mnemonic = BIP39Mnemonic (mnemonic = mnemonic ))
Original file line number Diff line number Diff line change 2424 'ecdsa==0.18.0' ,
2525 'sympy>=1.2,<2.0' ,
2626 'python-bitcoinrpc>=1.0,<2.0' ,
27- 'hdwallet==2.2.1 '
27+ 'hdwallet~=3.0 '
2828 ],
2929 packages = ['bitcoinutils' ],
3030 #package_data={
You can’t perform that action at this time.
0 commit comments