Skip to main content

Simple Python bip44 implementation. Mnemonic + bip32.

Project description

python-bip44

Codacy Badge CI Codecov PyPI - Python Version PyPI License

Simple Python bip44 implementation. Mnemonic + bip32.

Install

pip install bip44

Quick Start

>>> 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bip44-0.1.4.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

bip44-0.1.4-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page