2.0.0
Also available on PyPi and can be installed with pip install -U hwi
Added
- BitBox02 multisig signing.
- Documentation automatically generated with sphinx and hosted on https://hwi.readthedocs.io.
- Support for Python 3.9.
- Trezor allows transactions with OP_RETURN outputs.
- Full type annotations within
hwiliband type checking. - Updated documentation for Bitcoin Core descriptor wallets.
- Device support policy
- Enforce that the Ledger is in either the Bitcoin or Bitcoin Testnet apps.
Changed
--sh_wpkhand--wpkhoptions have been replaced with--addr-typewith the optionslegacy,sh_wit, andwit.--testnetoption replaced with--chainwith the optionsmain,test,signet, andregtest.- Overhauled descriptors implementation to be similar to Bitcoin Core's descriptors implementation.
- Replaced
HardwareWalletClient.display_addresswithdisplay_singlesig_addressanddisplay_multisig_address. - Overhauled
HardwareWalletClientfunctions to return the correct objects rather than string dictionaries. - Raise errors and exceptions instead of returning string dictionary containing error.
bech32.py,base58.py,cli.py, andgui.pyare made internal modules.serializations.pyis split intotx.py,psbt.pywith some functions made internal with_script.pyand_serialize.py.getmasterxpubtakes options for chain type, address type, and BIP 44 account in order to provide the master xpub accordingly.
Removed
- Removed option to provide redeem script to
displayaddress.
Fixed
- Fixed Ledger change path detection.
- Fixed Ledger message signing when the signature is shorter than expected.
- Fixed Trezor One pin sending when a passphrase is expected.
- Fixed handling of
sortedmulti()descriptors. Some devices which only supported key sorting will be no longer allowmulti()descriptors. The multisigs that devices use when given asortedmulti()descriptor will now match what Bitcoin Core derives for those descriptors. - Several fixes to device enumeration.
installudevruleswill search for the correct binaries in the PATH rather than assuming their locations.