BitCash


NameBitCash JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/pybitcash/bitcash
SummaryBitcoin Cash made easier.
upload_time2024-05-06 02:17:51
maintainerCorentin Mercier
docs_urlNone
authorTeran McKinney
requires_pythonNone
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)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pybitcash/bitcash",
    "name": "BitCash",
    "maintainer": "Corentin Mercier",
    "docs_url": null,
    "requires_python": null,
    "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.2",
    "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```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```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\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Bitcoin Cash made easier.",
    "version": "1.0.2",
    "project_urls": {
        "Download": "https://github.com/pybitcash/bitcash/tarball/1.0.2",
        "Homepage": "https://github.com/pybitcash/bitcash"
    },
    "split_keywords": [
        "bitcoincash",
        " cryptocurrency",
        " payments",
        " tools",
        " wallet"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "df3c58e4ea1780a57df5a923d32dc064f5241a23896d7e30047e8b04478221cb",
                "md5": "ed215cf67a3345366e701d721a5ff62a",
                "sha256": "a139003b56b7d954bfe2716653b89180bedf87658d8193efab24fc15f36fbf90"
            },
            "downloads": -1,
            "filename": "BitCash-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ed215cf67a3345366e701d721a5ff62a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 70074,
            "upload_time": "2024-05-06T02:17:51",
            "upload_time_iso_8601": "2024-05-06T02:17:51.033266Z",
            "url": "https://files.pythonhosted.org/packages/df/3c/58e4ea1780a57df5a923d32dc064f5241a23896d7e30047e8b04478221cb/BitCash-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-06 02:17:51",
    "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.28098s