Skip to main content

No project description provided

Project description

python-bitcoinadress
====================
Bitcoin address validation

2012-12-14 R.R. Nederhoed
https://github.com/nederhoed/python-bitcoinadress
Please give feedback.


Original author probably:
http://paddy3118.blogspot.nl/2012/11/some-identities-for-python-inttobytes.html

Copied from:
http://rosettacode.org/wiki/Bitcoin/address_validation#Python

I packaged it to be available to everyone via The Cheese Shop (pypi):
http://pypi.python.org/pypi/python-bitcoinaddress


History
-------
### 2012-12-14
* I renamed the `check_bc` function to `validate` for ease of use.
* Added check if the base58-re-encoded address matches the original address
Relevant for short addresses with a valid check, but invalid format.
For example:
14oLvT2
The valid version of that address is:
1111111111111111111114oLvT2
* Added alternatives for `long.to_bytes` and `long.from_bytes` for Python
versions prior to 3.2
* Added unit tests

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

python-bitcoinaddress-0.2.1.tar.gz (7.9 kB view details)

Uploaded Source

File details

Details for the file python-bitcoinaddress-0.2.1.tar.gz.

File metadata

File hashes

Hashes for python-bitcoinaddress-0.2.1.tar.gz
Algorithm Hash digest
SHA256 296c03a3086481b7b855ee4c43e5e3b8a0de4abe83366f482d06dff32f8851dd
MD5 fb5a97cc06c57d1a84725b5c3fbd867e
BLAKE2b-256 ab924b21003e897ad285d9d1da767280d3cadd464534d933c7528853e0184805

See more details on using hashes here.

Provenance

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