Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kigawas/python-bip44
Simple Python bip44 implementation. Mnemonic + bip32.
https://github.com/kigawas/python-bip44
bip44 bitcoin cryptocurrency ethereum
Last synced: 7 days ago
JSON representation
Simple Python bip44 implementation. Mnemonic + bip32.
- Host: GitHub
- URL: https://github.com/kigawas/python-bip44
- Owner: kigawas
- License: mit
- Created: 2020-05-28T08:07:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-01T06:26:35.000Z (26 days ago)
- Last Synced: 2025-01-12T21:05:20.026Z (15 days ago)
- Topics: bip44, bitcoin, cryptocurrency, ethereum
- Language: Python
- Homepage:
- Size: 503 KB
- Stars: 43
- Watchers: 2
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.5
- Support Python 3.10, 3.11, 3.12, 3.13
- Bump dependencies
- Drop Python 3.6, 3.7### 0.1.0
- First beta release
- Bump dependencies### 0.0.1 ~ 0.0.7
- Alpha releases