Skip to main content

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

Project description

PY Crypto HD Wallet

PyPI - Version PyPI - Python Version GitHub License
Code Coverage Code Analysis Build & Test
Codecov Codacy grade CodeFactor Grade

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

Test and Coverage

Install develop dependencies:

pip install -r requirements-dev.txt

To run tests:

python -m unittest discover

To run tests with coverage:

coverage run -m unittest discover
coverage report

To run code analysis, just execute the analyze_code script.

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.3.3.tar.gz (105.4 kB view details)

Uploaded Source

Built Distribution

py_crypto_hd_wallet-1.3.3-py3-none-any.whl (75.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_crypto_hd_wallet-1.3.3.tar.gz
  • Upload date:
  • Size: 105.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for py_crypto_hd_wallet-1.3.3.tar.gz
Algorithm Hash digest
SHA256 e52c2d75c66f3c44ce649015dd2551e92e53667a779900feadbdbdb2b9d7e4f9
MD5 ca6423e3195cbedac7a73c1c8a157341
BLAKE2b-256 74f0afaad9acc62e774770aafaa495363c8d9b10087d10318f9b2b5d9c7c27e4

See more details on using hashes here.

File details

Details for the file py_crypto_hd_wallet-1.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for py_crypto_hd_wallet-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 39c30cc472eb254383485d46f8a7359fbf361dde809134aa026d599b172b3260
MD5 4ad6270b733636fb6c9e27369ca2f9cc
BLAKE2b-256 19e0f3b55f3391c046cfc60ea82108de68b2e8fa630f9d13ba7b65628327ccd5

See more details on using hashes here.

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