BitCash


NameBitCash JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/pybitcash/bitcash
SummaryBitcoin Cash made easier.
upload_time2023-12-10 07:15:40
maintainerCorentin Mercier
docs_urlNone
authorTeran McKinney
requires_python
licenseMIT
keywords bitcoincash cryptocurrency payments tools wallet
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            <h3 align="center">BitCash</h3>
<h4 align="center">Bitcoin Cash made easy</h4>

<p align="center">
  <a href="https://pypi.org/project/bitcash" target="_blank">
    <img src="https://img.shields.io/pypi/v/bitcash.svg?style=flat-square" alt="BitCash PyPi version">
  </a>
  <img src="https://github.com/pybitcash/bitcash/actions/workflows/run_tests.yml/badge.svg" alt="Test status">
  <img src="https://github.com/pybitcash/bitcash/actions/workflows/deploy_docs.yml/badge.svg" alt="Deploy docs">
  <img src="https://codecov.io/gh/pybitcash/bitcash/branch/master/graph/badge.svg" alt="Code Coverage">
  <img src="https://img.shields.io/pypi/pyversions/bitcash.svg?style=flat-square" alt="Python Versions">
  <img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square" alt="MIT license">
  <a href="https://www.codefactor.io/repository/github/pybitcash/bitcash"><img src="https://www.codefactor.io/repository/github/pybitcash/bitcash/badge" alt="CodeFactor" /></a>
</p>

Forked from [Ofek's awesome Bit library](https://github.com/ofek/bit).

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


```python
>>> 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 29 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.8+.


```shell
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 after every successful commit to BitCash's ``master`` branch.

[Read the documentation](https://bitcash.dev)

## Credits

- [ofek](https://github.com/ofek/bit) for the original bit codebase.
- [Additional](AUTHORS.md)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pybitcash/bitcash",
    "name": "BitCash",
    "maintainer": "Corentin Mercier",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "corentin@mercier.link",
    "keywords": "bitcoincash,cryptocurrency,payments,tools,wallet",
    "author": "Teran McKinney",
    "author_email": "sega01@go-beyond.org",
    "download_url": "https://github.com/pybitcash/bitcash/tarball/1.0.1",
    "platform": null,
    "description": "<h3 align=\"center\">BitCash</h3>\n<h4 align=\"center\">Bitcoin Cash made easy</h4>\n\n<p align=\"center\">\n  <a href=\"https://pypi.org/project/bitcash\" target=\"_blank\">\n    <img src=\"https://img.shields.io/pypi/v/bitcash.svg?style=flat-square\" alt=\"BitCash PyPi version\">\n  </a>\n  <img src=\"https://github.com/pybitcash/bitcash/actions/workflows/run_tests.yml/badge.svg\" alt=\"Test status\">\n  <img src=\"https://github.com/pybitcash/bitcash/actions/workflows/deploy_docs.yml/badge.svg\" alt=\"Deploy docs\">\n  <img src=\"https://codecov.io/gh/pybitcash/bitcash/branch/master/graph/badge.svg\" alt=\"Code Coverage\">\n  <img src=\"https://img.shields.io/pypi/pyversions/bitcash.svg?style=flat-square\" alt=\"Python Versions\">\n  <img src=\"https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\" alt=\"MIT license\">\n  <a href=\"https://www.codefactor.io/repository/github/pybitcash/bitcash\"><img src=\"https://www.codefactor.io/repository/github/pybitcash/bitcash/badge\" alt=\"CodeFactor\" /></a>\n</p>\n\nForked from [Ofek's awesome Bit library](https://github.com/ofek/bit).\n\n**BitCash is so easy to use, in fact, you can do this:**\n\n\n```python\n>>> from bitcash import Key\n>>>\n>>> k = Key()\n>>> k.address\n'bitcoincash:qp0hamw9rpyllkmvd8047w9em3yt9fytsunyhutucx'\n>>>\n>>> k.get_balance('usd')\n'2'\n>>>\n>>> # Let's donate a dollar to CoinSpice.io\n>>> outputs = [\n>>>     ('bitcoincash:qz69e5y8yrtujhsyht7q9xq5zhu4mrklmv0ap7tq5f', 1, 'usd'),\n>>>     # you can add more recipients here\n>>> ]\n>>>\n>>> k.send(outputs)\n'6aea7b1c687d976644a430a87e34c93a8a7fd52d77c30e9cc247fc8228b749ff'\n```\n\nDone. Here is the transaction:\nhttps://explorer.bitcoin.com/bch/tx/6aea7b1c687d976644a430a87e34c93a8a7fd52d77c30e9cc247fc8228b749ff\n\n## Features\n\n- Python's fastest available implementation (100x faster than closest library)\n- Seamless integration with existing server setups\n- Supports keys in cold storage\n- Fully supports 29 different currencies\n- First class support for storing data in the blockchain\n- Deterministic signatures via RFC 6979\n- Access to the blockchain (and testnet chain) through multiple APIs for redundancy\n- Exchange rate API, with optional caching\n- Compressed public keys by default\n- Multiple representations of private keys; WIF, PEM, DER, etc.\n- Standard P2PKH transactions\n\nIf you are intrigued, continue reading. If not, continue all the same!\n\n## Installation\n\nBitCash is distributed on `PyPI` as a universal wheel and is available on Linux/macOS\nand Windows and supports Python 3.8+.\n\n\n```shell\npip install bitcash  # pip3 if pip is Python 2 on your system.\n```\n\n## Documentation\n\nDocs are hosted by Github Pages and are automatically built and published after every successful commit to BitCash's ``master`` branch.\n\n[Read the documentation](https://bitcash.dev)\n\n## Credits\n\n- [ofek](https://github.com/ofek/bit) for the original bit codebase.\n- [Additional](AUTHORS.md)\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Bitcoin Cash made easier.",
    "version": "1.0.1",
    "project_urls": {
        "Download": "https://github.com/pybitcash/bitcash/tarball/1.0.1",
        "Homepage": "https://github.com/pybitcash/bitcash"
    },
    "split_keywords": [
        "bitcoincash",
        "cryptocurrency",
        "payments",
        "tools",
        "wallet"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "08e3d363dfaa260ed30a6f2a17fbf68432e5425c90897c2908a282da402d4af3",
                "md5": "5f50c2a25eca8a1ca505752a05128141",
                "sha256": "4da9ef94f93f265a88097e26c3c7f5516cd452ea8916d144dec2e6031d80dd49"
            },
            "downloads": -1,
            "filename": "BitCash-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5f50c2a25eca8a1ca505752a05128141",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 69069,
            "upload_time": "2023-12-10T07:15:40",
            "upload_time_iso_8601": "2023-12-10T07:15:40.957620Z",
            "url": "https://files.pythonhosted.org/packages/08/e3/d363dfaa260ed30a6f2a17fbf68432e5425c90897c2908a282da402d4af3/BitCash-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-10 07:15:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pybitcash",
    "github_project": "bitcash",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "lcname": "bitcash"
}
        
Elapsed time: 0.15197s