Skip to main content

Bitcoin Cash made easier.

Project description

BitCash

Bitcoin Cash made easy

BitCash PyPi version Build status Code Coverage Python Versions MIT license

Forked from Ofek's awesome Bit library.

BitCash is so easy to use, in fact, you can do this:

>>> from bitcash import Key
>>>
>>> k = Key()
>>> k.address
'bitcoincash:qp0hamw9rpyllkmvd8047w9em3yt9fytsunyhutucx'
>>>
>>> k.get_balance('usd')
'2'
>>>
>>> # Let's donate a dollar to CoinSpice.io
>>> outputs = [
>>>     ('bitcoincash:qz69e5y8yrtujhsyht7q9xq5zhu4mrklmv0ap7tq5f', 1, 'usd'),
>>>     # you can add more recipients here
>>> ]
>>>
>>> k.send(outputs)
'6aea7b1c687d976644a430a87e34c93a8a7fd52d77c30e9cc247fc8228b749ff'

Done. Here is the transaction: https://explorer.bitcoin.com/bch/tx/6aea7b1c687d976644a430a87e34c93a8a7fd52d77c30e9cc247fc8228b749ff

Features

  • Python's fastest available implementation (100x faster than closest library)
  • Seamless integration with existing server setups
  • Supports keys in cold storage
  • Fully supports 25 different currencies
  • First class support for storing data in the blockchain
  • Deterministic signatures via RFC 6979
  • Access to the blockchain (and testnet chain) through multiple APIs for redundancy
  • Exchange rate API, with optional caching
  • Compressed public keys by default
  • Multiple representations of private keys; WIF, PEM, DER, etc.
  • Standard P2PKH transactions

If you are intrigued, continue reading. If not, continue all the same!

Installation

BitCash is distributed on PyPI as a universal wheel and is available on Linux/macOS and Windows and supports Python 3.5+ and PyPy3.5-v5.7.1+. pip >= 8.1.2 is required.

$ pip install bitcash  # pip3 if pip is Python 2 on your system.

Documentation

Docs are hosted by Github Pages and are automatically built and published by Travis after every successful commit to BitCash's master branch.

Read the documentation

Credits

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

bitcash-0.5.3.3.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

bitcash-0.5.3.3-py3-none-any.whl (39.8 kB view details)

Uploaded Python 3

File details

Details for the file bitcash-0.5.3.3.tar.gz.

File metadata

  • Download URL: bitcash-0.5.3.3.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3

File hashes

Hashes for bitcash-0.5.3.3.tar.gz
Algorithm Hash digest
SHA256 a352148496a7c547b7b5dd0fe351119f522aae8c22259c166dba972c485e4437
MD5 ab80d0ac44f2255efc68d8d67936dffd
BLAKE2b-256 33068e34afa911a709c7357495a06a846cc81e18cbf75bf50f3a5a885c01285e

See more details on using hashes here.

File details

Details for the file bitcash-0.5.3.3-py3-none-any.whl.

File metadata

  • Download URL: bitcash-0.5.3.3-py3-none-any.whl
  • Upload date:
  • Size: 39.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3

File hashes

Hashes for bitcash-0.5.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7d4e69362714e33db950eaac6f60cbe40522f07c02a3f45a566ccc207e8ecc97
MD5 dc0cc7155dde509e10bed7883e67a1e2
BLAKE2b-256 63551792b13994cccd665a600fabdc068cc76301d62e74326ff361165d983125

See more details on using hashes here.

Supported by

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