Wrapper around hwi, such that one can sign bdk PSBTs directly
Project description
Wrapper around hwi, such that one can sign bdk PSBTs directly
-
This provides an abstraction layer ontop of hwi, such that only bdk is needed from the outside
-
Currently supported are
- Coldcard
-
It also provides
- AddressTypes, which are the commonly used bitcoin output descriptor templates
- seed_tools.derive_spk_provider to derive xpubs from seeds for all AddressTypes (bdk does not support multisig templates currently https://github.com/bitcoindevkit/bdk/issues/1020)
- SoftwareSigner which can sign single and multisig PSBTs, this doesn't do any security checks, so only use it on testnet
Demo
Run the demo with
python demo.py
Tests
Run tests
python -m pytest -vvv --log-cli-level=0
Library Usage
- For xpub derivation bip_utils is used
- For signing a psbt python-bitcointx is used
Install package
From pypi
pip install bitcoin_usb
From git
python setup.py sdist bdist_wheel
pip install .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bitcoin_usb-0.1.3.tar.gz
(21.6 kB
view hashes)
Built Distribution
Close
Hashes for bitcoin_usb-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a63176a77de6b20b1488d1347ec40d4a9c63ff84faa4a8f65c5aed53205974ea |
|
MD5 | 56e61f37d6902428fee59d1a5ca4a96a |
|
BLAKE2b-256 | 75e74207f91f610bed1489eacded194463c8422b54875932debef03130fda030 |