Skip to main content

cryptovoucher

Turns a private key and its network into a 45-character voucher and back. This is the Python version of CryptoVoucher; the voucher format, the network code table and the guide for redeeming vouchers are in the main README.

Install

pip install cryptovoucher

Python 3.8 or newer, no dependencies.

Use

from CryptoVoucher import CryptoVoucher

cv = CryptoVoucher()

voucher_key, voucher_code, error = cv.create_voucher(private_key, "TRON_USDT")
restored_key, network, error = cv.restore_private_key(voucher_key, voucher_code)

error is None on success and a message otherwise. Whoever holds a voucher controls its funds, so read the redeem guide in the main README before accepting vouchers.

License

MIT

Metadata

Release files for cryptovoucher 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cryptovoucher 1.0.0
File Size Uploaded
cryptovoucher-1.0.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cryptovoucher 1.0.0
File Interpreter ABI Platform
cryptovoucher-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / cryptovoucher-1.0.0.tar.gz

Download URL cryptovoucher-1.0.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ca0316057176ecc6339ea185b07d6c82c183052f0872618afccd6b6a2c445da3
BLAKE2b-256 checksum
How to use checksums
88538f05a5a2ec44eb0e169276db28fe4dbeed63b99ffbcb3629b9dcb00d1d6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release files / cryptovoucher-1.0.0-py3-none-any.whl

Download URL cryptovoucher-1.0.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8c5007564ba72f33b03c5bafa3e7bb7f098f7f02438ae65fddfe0d735588860
BLAKE2b-256 checksum
How to use checksums
2a277591957ef3af187add729797c57efd5a838641069d21533ffb27f8e33269
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page