Skip to main content

HD (Hierarchical Deterministic) wallet for cryptocurrencies based on bip_utils library

Project description

PY crypto HD wallet

PyPI version Build Status codecov Codacy Badge CodeFactor License: MIT

Introduction

This package contains a very basic implementation of a HD (Hierarchical Deterministic) wallet based on my bip_utils library.
It is basically a nice wrapper for the bip_utils library for generating mnemonics, seeds, public/private keys and addresses. Therefore, it has no network functionalities.
The supported coins are the same of the bip_utils library, so check the related page.

Install the package

The package requires Python 3, it is not compatible with Python 2. To install it:

  • Using setuptools:

      python setup.py install
    
  • Using pip, from this directory (local):

      pip install .
    
  • Using pip, from PyPI:

      pip install py_crypto_hd_wallet
    

NOTE: if you are using an Apple M1, please make sure to update coincurve (required by bip_utils) to version 17.0.0 otherwise it won't work.

To run tests:

python -m unittest discover

Or you can install tox:

pip install tox

And then simply run tox:

tox

To run tests and get the code coverage and report.

Modules description

Examples of wallet JSON outputs

Documentation

The library documentation is available at py-crypto-hd-wallet.readthedocs.io.

Buy me a coffee

You know, I'm italian and I love drinking coffee (especially while coding :D). So, if you'd like to buy me one:

  • BTC: bc1qq4r9cglwzd6f2hzxvdkucmdejvr9h8me5hy0k8
  • ERC20/BEP20: 0xf84e4898E5E10bf1fBe9ffA3EEC845e82e364b5B

Thank you very much for your support.

License

This software is available under the MIT license.

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

py_crypto_hd_wallet-1.2.0.tar.gz (65.2 kB view details)

Uploaded Source

File details

Details for the file py_crypto_hd_wallet-1.2.0.tar.gz.

File metadata

  • Download URL: py_crypto_hd_wallet-1.2.0.tar.gz
  • Upload date:
  • Size: 65.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for py_crypto_hd_wallet-1.2.0.tar.gz
Algorithm Hash digest
SHA256 5e40c6d1d69c0492f3e0ddd630173648ce1abb3844708612ddc56f8561dfbf05
MD5 8fb5b51403c050396a3cd09cee8654dc
BLAKE2b-256 bc59a15bd7c231914cc118ca25e5628b7d732e354c49af4eafc07712472f48db

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