# PY Crypto HD Wallet
| |
|---|
| [![PyPI - Version](https://img.shields.io/pypi/v/py_crypto_hd_wallet.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/py_crypto_hd_wallet/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/py_crypto_hd_wallet.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/py_crypto_hd_wallet/) [![GitHub License](https://img.shields.io/github/license/ebellocchia/py_crypto_hd_wallet?label=License)](https://github.com/ebellocchia/py_crypto_hd_wallet?tab=MIT-1-ov-file) |
| [![Code Coverage](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/code-coverage.yml/badge.svg)](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/code-coverage.yml) [![Code Analysis](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/code-analysis.yml/badge.svg)](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/code-analysis.yml) [![Build & Test](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/test.yml/badge.svg)](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/test.yml) |
| [![Codecov](https://img.shields.io/codecov/c/github/ebellocchia/py_crypto_hd_wallet?label=Code%20Coverage)](https://codecov.io/gh/ebellocchia/py_crypto_hd_wallet) [![Codacy grade](https://img.shields.io/codacy/grade/45f6f8c688e4479e83069427ccd24e19?label=Codacy%20Grade)](https://app.codacy.com/gh/ebellocchia/py_crypto_hd_wallet/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/ebellocchia/py_crypto_hd_wallet?label=CodeFactor%20Grade)](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 report
To 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/ebellocchia/py_crypto_hd_wallet",
"name": "py-crypto-hd-wallet",
"maintainer": "Emanuele Bellocchia",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "ebellocchia@gmail.com",
"keywords": "python,cryptography,ecdsa,ed25519,ed25519-blake2b,nist256p1,secp256k1,sr25519,wallet,hd-wallet,slip10,slip0010,bip39,bip39-substrate,bip32,bip44,bip49,bip84,bech32,bech32m,segwit,electrum,substrate,taproot,daedalus,byron,shelley,akash,algorand,atom,avalanche,avax,band protocol,binance chain,binance smart chain,bitcoin,bitcoin cash,bitcoinsv,bnb,cardano,cardano-byron,cardano-shelley,celo,certik,cosmos,dash,dogecoin,ecash,elrond,eos,ethereum,ethereum classic,fantom opera,filecoin,harmony one,huobi chain,iris,irisnet,kava,litecoin,matic,monero,okex chain,ontology,osmosis,nano,near,near protocol,neo,polygon,ripple,secret,solana,stellar,substrate,terra,tezos,theta,tron,vechain,verge,zcash,zilliqa,acala,bifrost,chainx,edgeware,karura,kusama,moonbeam,moonriver,phala,plasm,sora,stafi,polkadot",
"author": "Emanuele Bellocchia",
"author_email": "ebellocchia@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/74/f0/afaad9acc62e774770aafaa495363c8d9b10087d10318f9b2b5d9c7c27e4/py_crypto_hd_wallet-1.3.3.tar.gz",
"platform": "any",
"description": "# PY Crypto HD Wallet\r\n\r\n| |\r\n|---|\r\n| [![PyPI - Version](https://img.shields.io/pypi/v/py_crypto_hd_wallet.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/py_crypto_hd_wallet/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/py_crypto_hd_wallet.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/py_crypto_hd_wallet/) [![GitHub License](https://img.shields.io/github/license/ebellocchia/py_crypto_hd_wallet?label=License)](https://github.com/ebellocchia/py_crypto_hd_wallet?tab=MIT-1-ov-file) |\r\n| [![Code Coverage](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/code-coverage.yml/badge.svg)](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/code-coverage.yml) [![Code Analysis](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/code-analysis.yml/badge.svg)](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/code-analysis.yml) [![Build & Test](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/test.yml/badge.svg)](https://github.com/ebellocchia/py_crypto_hd_wallet/actions/workflows/test.yml) |\r\n| [![Codecov](https://img.shields.io/codecov/c/github/ebellocchia/py_crypto_hd_wallet?label=Code%20Coverage)](https://codecov.io/gh/ebellocchia/py_crypto_hd_wallet) [![Codacy grade](https://img.shields.io/codacy/grade/45f6f8c688e4479e83069427ccd24e19?label=Codacy%20Grade)](https://app.codacy.com/gh/ebellocchia/py_crypto_hd_wallet/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/ebellocchia/py_crypto_hd_wallet?label=CodeFactor%20Grade)](https://www.codefactor.io/repository/github/ebellocchia/py_crypto_hd_wallet) |\r\n| |\r\n\r\n## Introduction\r\n\r\nThis package contains a very basic implementation of a HD (Hierarchical Deterministic) wallet based on my [bip_utils](https://github.com/ebellocchia/bip_utils) library.\\\r\nIt is basically a nice wrapper for the *bip_utils* library for generating mnemonics, seeds, public/private keys and addresses.\r\nTherefore, it has no network functionalities.\\\r\nThe supported coins are the same of the [bip_utils](https://github.com/ebellocchia/bip_utils) library, so check the related page.\r\n\r\n## Install the package\r\n\r\nThe package requires Python 3, it is not compatible with Python 2.\r\nTo install it:\r\n- Using *pip*, from this directory (local):\r\n\r\n pip install .\r\n\r\n- Using *pip*, from PyPI:\r\n\r\n pip install py_crypto_hd_wallet\r\n\r\n**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.\r\n\r\n## Test and Coverage\r\n\r\nInstall develop dependencies:\r\n\r\n pip install -r requirements-dev.txt\r\n\r\nTo run tests:\r\n\r\n python -m unittest discover\r\n\r\nTo run tests with coverage:\r\n\r\n coverage run -m unittest discover\r\n coverage report\r\n\r\nTo run code analysis, just execute the `analyze_code` script.\r\n\r\n## Modules description\r\n\r\n- [BIP wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/bip_wallet.md)\r\n- [Algorand wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/algorand_wallet.md)\r\n- [Cardano Shelley wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/cardano_shelley_wallet.md)\r\n- [Electrum V1 wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/electrum_v1_wallet.md)\r\n- [Electrum V2 wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/electrum_v2_wallet.md)\r\n- [Monero wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/monero_wallet.md)\r\n- [Substrate wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/substrate_wallet.md)\r\n\r\n## Examples of wallet JSON outputs\r\n\r\n- [BIP wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/bip_wallet_examples.md)\r\n- [Algorand wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/algorand_wallet_examples.md)\r\n- [Cardano Shelley wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/cardano_shelley_wallet_examples.md)\r\n- [Electrum V1 wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/electrum_v1_wallet_examples.md)\r\n- [Electrum V2 wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/electrum_v2_wallet_examples.md)\r\n- [Monero wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/monero_wallet_examples.md)\r\n- [Substrate wallet](https://github.com/ebellocchia/py_crypto_hd_wallet/tree/master/readme/substrate_wallet_examples.md)\r\n\r\n## Documentation\r\n\r\nThe library documentation is available at [py-crypto-hd-wallet.readthedocs.io](https://py-crypto-hd-wallet.readthedocs.io).\r\n\r\n# Buy me a coffee\r\n\r\nYou know, I'm italian and I love drinking coffee (especially while coding :D). So, if you'd like to buy me one:\r\n- BTC: `bc1qq4r9cglwzd6f2hzxvdkucmdejvr9h8me5hy0k8`\r\n- ERC20/BEP20: `0xf84e4898E5E10bf1fBe9ffA3EEC845e82e364b5B`\r\n\r\nThank you very much for your support.\r\n\r\n# License\r\n\r\nThis software is available under the MIT license.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "HD (Hierarchical Deterministic) wallet for cryptocurrencies based on bip_utils library",
"version": "1.3.3",
"project_urls": {
"Download": "https://github.com/ebellocchia/py_crypto_hd_wallet/archive/v1.3.3.tar.gz",
"Homepage": "https://github.com/ebellocchia/py_crypto_hd_wallet"
},
"split_keywords": [
"python",
"cryptography",
"ecdsa",
"ed25519",
"ed25519-blake2b",
"nist256p1",
"secp256k1",
"sr25519",
"wallet",
"hd-wallet",
"slip10",
"slip0010",
"bip39",
"bip39-substrate",
"bip32",
"bip44",
"bip49",
"bip84",
"bech32",
"bech32m",
"segwit",
"electrum",
"substrate",
"taproot",
"daedalus",
"byron",
"shelley",
"akash",
"algorand",
"atom",
"avalanche",
"avax",
"band protocol",
"binance chain",
"binance smart chain",
"bitcoin",
"bitcoin cash",
"bitcoinsv",
"bnb",
"cardano",
"cardano-byron",
"cardano-shelley",
"celo",
"certik",
"cosmos",
"dash",
"dogecoin",
"ecash",
"elrond",
"eos",
"ethereum",
"ethereum classic",
"fantom opera",
"filecoin",
"harmony one",
"huobi chain",
"iris",
"irisnet",
"kava",
"litecoin",
"matic",
"monero",
"okex chain",
"ontology",
"osmosis",
"nano",
"near",
"near protocol",
"neo",
"polygon",
"ripple",
"secret",
"solana",
"stellar",
"substrate",
"terra",
"tezos",
"theta",
"tron",
"vechain",
"verge",
"zcash",
"zilliqa",
"acala",
"bifrost",
"chainx",
"edgeware",
"karura",
"kusama",
"moonbeam",
"moonriver",
"phala",
"plasm",
"sora",
"stafi",
"polkadot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "19e0f3b55f3391c046cfc60ea82108de68b2e8fa630f9d13ba7b65628327ccd5",
"md5": "4ad6270b733636fb6c9e27369ca2f9cc",
"sha256": "39c30cc472eb254383485d46f8a7359fbf361dde809134aa026d599b172b3260"
},
"downloads": -1,
"filename": "py_crypto_hd_wallet-1.3.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4ad6270b733636fb6c9e27369ca2f9cc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 75581,
"upload_time": "2024-03-06T23:01:16",
"upload_time_iso_8601": "2024-03-06T23:01:16.719377Z",
"url": "https://files.pythonhosted.org/packages/19/e0/f3b55f3391c046cfc60ea82108de68b2e8fa630f9d13ba7b65628327ccd5/py_crypto_hd_wallet-1.3.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "74f0afaad9acc62e774770aafaa495363c8d9b10087d10318f9b2b5d9c7c27e4",
"md5": "ca6423e3195cbedac7a73c1c8a157341",
"sha256": "e52c2d75c66f3c44ce649015dd2551e92e53667a779900feadbdbdb2b9d7e4f9"
},
"downloads": -1,
"filename": "py_crypto_hd_wallet-1.3.3.tar.gz",
"has_sig": false,
"md5_digest": "ca6423e3195cbedac7a73c1c8a157341",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 105387,
"upload_time": "2024-03-06T23:01:20",
"upload_time_iso_8601": "2024-03-06T23:01:20.494408Z",
"url": "https://files.pythonhosted.org/packages/74/f0/afaad9acc62e774770aafaa495363c8d9b10087d10318f9b2b5d9c7c27e4/py_crypto_hd_wallet-1.3.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-06 23:01:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ebellocchia",
"github_project": "py_crypto_hd_wallet",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "py-crypto-hd-wallet"
}