py-crypto-hd-wallet

1.3.3last stable release 1 year ago
Complexity Score
Low
Open Issues
1
Dependent Projects
0
Weekly Downloadsglobal
1,617

Downloads

Readme

PY Crypto HD Wallet

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

  • BIP wallet
  • Algorand wallet
  • Cardano Shelley wallet
  • Electrum V1 wallet
  • Electrum V2 wallet
  • Monero wallet
  • Substrate wallet

Examples of wallet JSON outputs

  • BIP wallet
  • Algorand wallet
  • Cardano Shelley wallet
  • Electrum V1 wallet
  • Electrum V2 wallet
  • Monero wallet
  • Substrate wallet

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.

Dependencies

No runtime dependency information found for this package.

CVE IssuesActive
0
Scorecards Score
3.40
Test Coverage
100.00%
Follows Semver
Yes
Github Stars
47
Dependenciestotal
0
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute py-crypto-hd-wallet in your own private PyPI registry

pip install py-crypto-hd-wallet
Processing...
Done

22 Releases

PyPI on Cloudsmith

Getting started with PyPI on Cloudsmith is fast and easy.