Python bitcoin qr reader and generator
Project description
A python bitcoin qr reader
- Recognizes (and classifies)
- Addresses (also BIP21 with amount)
- Transactions (also base43 electrum encoding)
- PSBT
- Xpub
- Descriptor
- Multipath Descriptor (like Sparrow)
- Partial descriptors (Specter DIY) ( finger print , derivation, xpub)
- TxId
- Animated QR Codes (UR) (Transactions and Descriptors)
- Animated QR Codes (Specter)
- blazingly fast recognition
- SLIP132 --> BIP32 conversion (output descriptors replace SLIP132)
Demo
Run the demo with
python demo.py
Install package
From pypi
pip install bitcoin_qr_tools
From git
-
Setup poetry and install dependencies
curl -sSL https://install.python-poetry.org | python3 - # see https://python-poetry.org/docs/master/#installing-with-the-official-installer poetry config virtualenvs.in-project true poetry install
-
Run
poetry shell python -m bitcoin_qr_tools
Licences
The python files in bitcoin_qr_tools are under the GPL3.
The folder bitcoin_qr_tools/ur is from https://github.com/Foundation-Devices/foundation-ur-py and under BSD-2-Clause Plus Patent License.
The folder bitcoin_qr_tools/urtypes from https://github.com/selfcustody/urtypes is under MIT.
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_qr_tools-0.9.0.tar.gz
(59.9 kB
view hashes)
Built Distribution
Close
Hashes for bitcoin_qr_tools-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ad932949608b00087d93dfc06e4c164e7cc8d9c890d0a00d0c758f5187b1814 |
|
MD5 | 3010d5c2bb2624a5a4c78c99b600ab7c |
|
BLAKE2b-256 | cb5cd120643dc5420ed754eefea5912648dd473ea87071239afd745cc2bc3ce1 |