Skip to main content

A python bitcoin qr reader

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

screenshot

Install package

From pypi

pip install bitcoin_qrreader

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_qrreader
    

Licences

The python files in bitcoin_qrreader are under the GPL3.

The folder bitcoin_qrreader/ur is from https://github.com/Foundation-Devices/foundation-ur-py and under BSD-2-Clause Plus Patent License.

The folder bitcoin_qrreader/urtypes from https://github.com/selfcustody/urtypes is under MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitcoin_qrreader-0.8.8.tar.gz (49.0 kB view details)

Uploaded Source

Built Distribution

bitcoin_qrreader-0.8.8-py3-none-any.whl (72.0 kB view details)

Uploaded Python 3

File details

Details for the file bitcoin_qrreader-0.8.8.tar.gz.

File metadata

  • Download URL: bitcoin_qrreader-0.8.8.tar.gz
  • Upload date:
  • Size: 49.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.9 Linux/6.5.0-28-generic

File hashes

Hashes for bitcoin_qrreader-0.8.8.tar.gz
Algorithm Hash digest
SHA256 926b9d3698d5aacf7a1b33a96a092ef2e4dbae6f811f111d5ce44c56520bb5cf
MD5 18996b13bab073ab774c7e5dfb911094
BLAKE2b-256 88c751f26f6084a38a76ec069b3a1515c91e4e7850f38bb8961c431c9f4d440a

See more details on using hashes here.

File details

Details for the file bitcoin_qrreader-0.8.8-py3-none-any.whl.

File metadata

  • Download URL: bitcoin_qrreader-0.8.8-py3-none-any.whl
  • Upload date:
  • Size: 72.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.9 Linux/6.5.0-28-generic

File hashes

Hashes for bitcoin_qrreader-0.8.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9ed4b5a8da30aed03b8f376e4ffa452361bf5038d2d672d8fc29d1e5f7571369
MD5 f86679fbddfd3c290d9ef1f234a46586
BLAKE2b-256 2e6c3efe13d524e15b31984db79ab3dc0379c1b9a8a61bbe2622e847f9c394ba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page