Metadata-Version: 2.1
Name: bitcoinpython
Version: 0.5.2.6
Summary: Bitcoin Cash for Python
Home-page: https://github.com/buymercier/bitcoinpython
Author: Corentin Mercier
Author-email: corentin@mercier.link
Maintainer: Corentin Mercier
Maintainer-email: corentin@mercier.link
License: MIT
Download-URL: https://github.com/buymercier/bitcoinpython/tarball/0.5.2.6
Keywords: bitcoin,bitcoincash,cryptocurrency,payments,tools,wallet
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: coincurve (>=4.3.0)
Requires-Dist: requests
Requires-Dist: cashaddress (==1.0.4)
Provides-Extra: cache
Requires-Dist: lmdb ; extra == 'cache'
Provides-Extra: cli
Requires-Dist: appdirs ; extra == 'cli'
Requires-Dist: click ; extra == 'cli'
Requires-Dist: privy ; extra == 'cli'
Requires-Dist: tinydb ; extra == 'cli'

# BitcoinPy: Bitcoin Cash Python library

Forked from Ofek's Bit and Teran McKinney's bitcash.

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

```python
>>> from bitcoinpython 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
- Exchange rate API, with optional caching
- Optimal transaction fee API, with optional caching
- Compressed public keys by default
- Multiple representations of private keys; WIF, PEM, DER, etc.
- Standard P2PKH transactions

## Installation

BitcoinPython is distributed on `PyPI` and is available on Linux/macOS and Windows with Python 3.5+

```shell
$ pip3 install bitcoinpython
```

## Credits

- [ofek](https://github.com/ofek/bit) for the original bit codebase
- [teran-mckinney](https://github.com/sporestack/bitcash) for the bitcash fork
- [bjarnemagnussen](https://github.com/bjarnemagnussen/bit/tree/segwit) for his segwit code for the necessary BIP-143 support


