Skip to content

kigawas/python-bip44

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
  • Bump dependencies
  • Drop Python 3.6, 3.7

0.1.0

  • First beta release
  • Bump dependencies

0.0.1 ~ 0.0.7

  • Alpha releases