bip44


Namebip44 JSON
Version 0.1.4 PyPI version JSON
download
home_pagehttps://github.com/kigawas/python-bip44
SummarySimple Python bip44 implementation. Mnemonic + bip32.
upload_time2023-10-08 16:12:19
maintainerWeiliang Li
docs_urlNone
authorWeiliang Li
requires_python>=3.8,<4.0
licenseMIT
keywords bitcoin ethereum elliptic curves cryptocurrency blockchain
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-bip44

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/4e4aa71f4a234dca809d014b0b214220)](https://app.codacy.com/gh/kigawas/python-bip44/dashboard)
[![CI](https://img.shields.io/github/actions/workflow/status/kigawas/python-bip44/ci.yml)](https://github.com/kigawas/python-bip44/actions)
[![Codecov](https://img.shields.io/codecov/c/github/kigawas/python-bip44.svg)](https://codecov.io/gh/kigawas/python-bip44)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bip44.svg)](https://pypi.org/project/bip44/)
[![PyPI](https://img.shields.io/pypi/v/bip44.svg)](https://pypi.org/project/bip44/)
[![License](https://img.shields.io/github/license/kigawas/python-bip44.svg)](https://github.com/kigawas/python-bip44)

Simple Python [bip44](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki) implementation. [Mnemonic](https://github.com/trezor/python-mnemonic) + [bip32](https://github.com/darosior/python-bip32).

## Install

`pip install bip44`

## Quick Start

```python
>>> from coincurve import PrivateKey
>>> from bip44 import Wallet
>>> from bip44.utils import get_eth_addr
>>> mnemonic = "purity tunnel grid error scout long fruit false embody caught skin gate"
>>> w = Wallet(mnemonic)
>>> sk, pk = w.derive_account("eth", account=0)
>>> sk = PrivateKey(sk)
>>> sk.public_key.format() == pk
True
>>> get_eth_addr(pk)
'0x7aD23D6eD9a1D98E240988BED0d78e8C81Ec296C'
```

## Release Notes

### 0.1.1 ~ 0.1.4

- Support Python 3.10, 3.11, 3.12
- Bump dependencies
- Drop Python 3.6, 3.7

### 0.1.0

- First beta release
- Bump dependencies

### 0.0.1 ~ 0.0.7

- Alpha releases

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kigawas/python-bip44",
    "name": "bip44",
    "maintainer": "Weiliang Li",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "to.be.impressive@gmail.com",
    "keywords": "bitcoin,ethereum,elliptic curves,cryptocurrency,blockchain",
    "author": "Weiliang Li",
    "author_email": "to.be.impressive@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/47/93/6e7874a128ea920b6a9335288359f707d5bee3d222940eb141a62992a03d/bip44-0.1.4.tar.gz",
    "platform": null,
    "description": "# python-bip44\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/4e4aa71f4a234dca809d014b0b214220)](https://app.codacy.com/gh/kigawas/python-bip44/dashboard)\n[![CI](https://img.shields.io/github/actions/workflow/status/kigawas/python-bip44/ci.yml)](https://github.com/kigawas/python-bip44/actions)\n[![Codecov](https://img.shields.io/codecov/c/github/kigawas/python-bip44.svg)](https://codecov.io/gh/kigawas/python-bip44)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bip44.svg)](https://pypi.org/project/bip44/)\n[![PyPI](https://img.shields.io/pypi/v/bip44.svg)](https://pypi.org/project/bip44/)\n[![License](https://img.shields.io/github/license/kigawas/python-bip44.svg)](https://github.com/kigawas/python-bip44)\n\nSimple Python [bip44](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki) implementation. [Mnemonic](https://github.com/trezor/python-mnemonic) + [bip32](https://github.com/darosior/python-bip32).\n\n## Install\n\n`pip install bip44`\n\n## Quick Start\n\n```python\n>>> from coincurve import PrivateKey\n>>> from bip44 import Wallet\n>>> from bip44.utils import get_eth_addr\n>>> mnemonic = \"purity tunnel grid error scout long fruit false embody caught skin gate\"\n>>> w = Wallet(mnemonic)\n>>> sk, pk = w.derive_account(\"eth\", account=0)\n>>> sk = PrivateKey(sk)\n>>> sk.public_key.format() == pk\nTrue\n>>> get_eth_addr(pk)\n'0x7aD23D6eD9a1D98E240988BED0d78e8C81Ec296C'\n```\n\n## Release Notes\n\n### 0.1.1 ~ 0.1.4\n\n- Support Python 3.10, 3.11, 3.12\n- Bump dependencies\n- Drop Python 3.6, 3.7\n\n### 0.1.0\n\n- First beta release\n- Bump dependencies\n\n### 0.0.1 ~ 0.0.7\n\n- Alpha releases\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simple Python bip44 implementation. Mnemonic + bip32.",
    "version": "0.1.4",
    "project_urls": {
        "Homepage": "https://github.com/kigawas/python-bip44",
        "Repository": "https://github.com/kigawas/python-bip44"
    },
    "split_keywords": [
        "bitcoin",
        "ethereum",
        "elliptic curves",
        "cryptocurrency",
        "blockchain"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3bad15c1741a3e3be694e81fc2a24d42f01b5087c8608dcc6fb6d957f26e93d8",
                "md5": "e6c9f9e16907c77d00c0de15fa6d1fed",
                "sha256": "92e2a9a3b02ebc5f24b16a695e386e855f2771baee1af3a4590881c7907ee0ef"
            },
            "downloads": -1,
            "filename": "bip44-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e6c9f9e16907c77d00c0de15fa6d1fed",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 5058,
            "upload_time": "2023-10-08T16:12:18",
            "upload_time_iso_8601": "2023-10-08T16:12:18.516378Z",
            "url": "https://files.pythonhosted.org/packages/3b/ad/15c1741a3e3be694e81fc2a24d42f01b5087c8608dcc6fb6d957f26e93d8/bip44-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "47936e7874a128ea920b6a9335288359f707d5bee3d222940eb141a62992a03d",
                "md5": "5b5f678d0173efea05f714fea74cf5da",
                "sha256": "acb745748123a3891d519f7a9688fa0c582cc28e9f950e868f328b867d6bd721"
            },
            "downloads": -1,
            "filename": "bip44-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "5b5f678d0173efea05f714fea74cf5da",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 4112,
            "upload_time": "2023-10-08T16:12:19",
            "upload_time_iso_8601": "2023-10-08T16:12:19.998701Z",
            "url": "https://files.pythonhosted.org/packages/47/93/6e7874a128ea920b6a9335288359f707d5bee3d222940eb141a62992a03d/bip44-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-08 16:12:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kigawas",
    "github_project": "python-bip44",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "bip44"
}
        
Elapsed time: 0.16367s