Skip to main content

Manage BIP32 based HD wallets.

Project description

Description

This repository presents a library for generating and managing hierarchical deterministic (HD) wallets. The core of this software includes an implementation of the BIP 39 and BIP 32 (Bitcoin Improvement Protocol) protocols for generating mnemonic seeds and wallets, respectively. The BIP 32 module contains the BIP32_Account base class for deriving HD wallets based on the BIP 32 specification. It's recommended that you use the BIP44, BIP49, and BIP84 subclasses to generate HD wallets. These class make use of the BIP32_Account core functionality but allow for deriving extended key pairs off of the 44', 49', and 84' purpose paths.

Usage

from biptools.bip44 import BIP44
phrase = 'cactus fringe crater danger leave pill endorse night clown change apology issue'
wallet = BIP44(phrase)
xprv, xpub = wallet.get_master_keys()

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

bip-tools-1.0.4.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bip_tools-1.0.4-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file bip-tools-1.0.4.tar.gz.

File metadata

  • Download URL: bip-tools-1.0.4.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for bip-tools-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a103c63beaa47664365560378ba62746577800746b806fad6c9b052a1c6cdd5c
MD5 2b984faccfa429c74c02dce582b8a02f
BLAKE2b-256 6bb3da79dd9a5be0993e81a00630ce86c61c27cb829d84b2f40bf785d6082567

See more details on using hashes here.

File details

Details for the file bip_tools-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: bip_tools-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for bip_tools-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b4f675cbd3f561da03c1cfdd2f66e13b40181feb49f63ebe59bbc19a8de1157f
MD5 221273be5f9c61d98f527f80b0941114
BLAKE2b-256 403dfb4768a55b8147f28e7c918294b3b7f3f34efe5f027acb0fcae2949a4c55

See more details on using hashes here.

Supported by

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