Skip to content

ebellocchia/py_crypto_hd_wallet

Repository files navigation

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.7.
To install it:

pip install py_crypto_hd_wallet

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

To run code analysis:

mypy .
ruff check .

tox can also be used for testing and code analysis (check tox.ini for the environments).

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: bc1qqxwmzs7qyatpht84hqmavkag0r3gnalyjxqr9d
  • EVM: 0xbe6Ce1d8fc6e72173f00A63FF493dFdFdb664FbF

Thank you very much for your support.

License

This software is available under the MIT license.