https://github.com/ebellocchia/py_crypto_hd_wallet
HD wallet for cryptocurrencies based on my bip_utils library
https://github.com/ebellocchia/py_crypto_hd_wallet
bip39 bip44 bip49 bip84 bip86 bitcoin cardano cryptocurrency ethereum hd-wallet monero polkadot python python-library slip10 substrate
Last synced: 12 days ago
JSON representation
HD wallet for cryptocurrencies based on my bip_utils library
- Host: GitHub
- URL: https://github.com/ebellocchia/py_crypto_hd_wallet
- Owner: ebellocchia
- License: mit
- Created: 2020-04-08T12:35:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-24T21:30:58.000Z (10 months ago)
- Last Synced: 2024-04-24T22:31:53.117Z (10 months ago)
- Topics: bip39, bip44, bip49, bip84, bip86, bitcoin, cardano, cryptocurrency, ethereum, hd-wallet, monero, polkadot, python, python-library, slip10, substrate
- Language: Python
- Homepage:
- Size: 491 KB
- Stars: 49
- Watchers: 7
- Forks: 34
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PY Crypto HD Wallet
| |
|---|
| [](https://pypi.org/project/py_crypto_hd_wallet/) [](https://pypi.org/project/py_crypto_hd_wallet/) [](https://github.com/ebellocchia/py_crypto_hd_wallet?tab=MIT-1-ov-file) |
| [](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/code-coverage.yml) [](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/code-analysis.yml) [](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/test.yml) |
| [](https://codecov.io/gh/ebellocchia/py_crypto_hd_wallet) [](https://app.codacy.com/gh/ebellocchia/py_crypto_hd_wallet/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [](https://www.codefactor.io/repository/github/ebellocchia/py_crypto_hd_wallet) |
| |## Introduction
This package contains a very basic implementation of a HD (Hierarchical Deterministic) wallet based on my [bip_utils](https://github.com/ebellocchia/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](https://github.com/ebellocchia/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 reportTo run code analysis, just execute the `analyze_code` script.
## Modules description
- [BIP wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/bip_wallet.md)
- [Algorand wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/algorand_wallet.md)
- [Cardano Shelley wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/cardano_shelley_wallet.md)
- [Electrum V1 wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/electrum_v1_wallet.md)
- [Electrum V2 wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/electrum_v2_wallet.md)
- [Monero wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/monero_wallet.md)
- [Substrate wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/substrate_wallet.md)## Examples of wallet JSON outputs
- [BIP wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/bip_wallet_examples.md)
- [Algorand wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/algorand_wallet_examples.md)
- [Cardano Shelley wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/cardano_shelley_wallet_examples.md)
- [Electrum V1 wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/electrum_v1_wallet_examples.md)
- [Electrum V2 wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/electrum_v2_wallet_examples.md)
- [Monero wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/monero_wallet_examples.md)
- [Substrate wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/substrate_wallet_examples.md)## Documentation
The library documentation is available at [py-crypto-hd-wallet.readthedocs.io](https://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.