https://github.com/kigawas/python-bip44
Simple Python bip44 implementation. Mnemonic + bip32.
https://github.com/kigawas/python-bip44
bip44 bitcoin cryptocurrency ethereum
Last synced: 3 months 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-01T06:19:48.000Z (4 months ago)
- Last Synced: 2025-03-29T13:05:02.776Z (3 months ago)
- Topics: bip44, bitcoin, cryptocurrency, ethereum
- Language: Python
- Homepage:
- Size: 504 KB
- Stars: 44
- Watchers: 2
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-bip44
[](https://app.codacy.com/gh/kigawas/python-bip44/dashboard)
[](https://github.com/kigawas/python-bip44/actions)
[](https://codecov.io/gh/kigawas/python-bip44)
[](https://pypi.org/project/bip44/)
[](https://pypi.org/project/bip44/)
[](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