eth-bip32


Nameeth-bip32 JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryEthereum BIP32 HD Wallet implementation
upload_time2024-07-02 19:36:22
maintainerNone
docs_urlNone
authorMate Dravucz
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # eth-bip32

eth-bip32 is a Python package for deriving Ethereum addresses from HD wallets using extended public keys (xpub).

## Installation

You can install eth-bip32 using pip:

```
pip install eth_bip32
```

## Usage

Here's a basic example of how to use eth-bip32:

```python
from eth_bip32 import HDWallet

xpub = "xpub6CqGnXKKteadngNJV3YFVCawwJL2nzBkRj7VYZRSAsLpdmLZ4WnRKhqYZaXbqDtWqqAdyuQCMnV2ECgzRFMNiskHscRg51XN5iVzMvgRtdt"
path = "m/0/1/1/0"

wallet = HDWallet(xpub)
derived_wallet = wallet.from_path(path)
ethereum_address = derived_wallet.address()
print(f"Derived Ethereum address: {ethereum_address}")
```

## Local build

```
pip install .
```


## Test

```
python -m unittest discover -v tests
```



## License

This project is licensed under the MIT License.

## Dependencies
- `ecdsa`


## Credits

This implementation was inspired by and references concepts from the following libraries:

- [pycoin](https://github.com/richardkiss/pycoin)
- [hdwallet](https://github.com/meherett/python-hdwallet)
- [ethers](https://github.com/ethers-io/ethers.py)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "eth-bip32",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Mate Dravucz",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/ba/f5/ed8ff58e4c867efa2f86b4bf75a69e13c8c090b8f555e687b950f16a8e5d/eth_bip32-0.1.1.tar.gz",
    "platform": null,
    "description": "# eth-bip32\n\neth-bip32 is a Python package for deriving Ethereum addresses from HD wallets using extended public keys (xpub).\n\n## Installation\n\nYou can install eth-bip32 using pip:\n\n```\npip install eth_bip32\n```\n\n## Usage\n\nHere's a basic example of how to use eth-bip32:\n\n```python\nfrom eth_bip32 import HDWallet\n\nxpub = \"xpub6CqGnXKKteadngNJV3YFVCawwJL2nzBkRj7VYZRSAsLpdmLZ4WnRKhqYZaXbqDtWqqAdyuQCMnV2ECgzRFMNiskHscRg51XN5iVzMvgRtdt\"\npath = \"m/0/1/1/0\"\n\nwallet = HDWallet(xpub)\nderived_wallet = wallet.from_path(path)\nethereum_address = derived_wallet.address()\nprint(f\"Derived Ethereum address: {ethereum_address}\")\n```\n\n## Local build\n\n```\npip install .\n```\n\n\n## Test\n\n```\npython -m unittest discover -v tests\n```\n\n\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Dependencies\n- `ecdsa`\n\n\n## Credits\n\nThis implementation was inspired by and references concepts from the following libraries:\n\n- [pycoin](https://github.com/richardkiss/pycoin)\n- [hdwallet](https://github.com/meherett/python-hdwallet)\n- [ethers](https://github.com/ethers-io/ethers.py)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Ethereum BIP32 HD Wallet implementation",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/mattdravucz/eth-bip32",
        "Issues": "https://github.com/mattdravucz/eth-bip32/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0db7d795d4bce930b4f7a533d1580899288e5b3729c08469bbe99c65cec7043e",
                "md5": "3f9f019ac8b7df77c06714c6349eca53",
                "sha256": "252ac9faa3f48e85b51425d10012e25257b54ceed7c222611fb1f40fd0cbafbc"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "3f9f019ac8b7df77c06714c6349eca53",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 12391,
            "upload_time": "2024-07-02T19:35:35",
            "upload_time_iso_8601": "2024-07-02T19:35:35.779023Z",
            "url": "https://files.pythonhosted.org/packages/0d/b7/d795d4bce930b4f7a533d1580899288e5b3729c08469bbe99c65cec7043e/eth_bip32-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c1afb499f5b11b5789105b4ffc58595acc66115bc6804f7d46a7c81a9134139d",
                "md5": "64dece99385f844c6350ffcb340153f7",
                "sha256": "c3da7f345861fe894539a739c66ceec27c69751a182d3c9f8244243135ca8afd"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp310-cp310-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "64dece99385f844c6350ffcb340153f7",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 12632,
            "upload_time": "2024-07-02T19:35:40",
            "upload_time_iso_8601": "2024-07-02T19:35:40.464441Z",
            "url": "https://files.pythonhosted.org/packages/c1/af/b499f5b11b5789105b4ffc58595acc66115bc6804f7d46a7c81a9134139d/eth_bip32-0.1.1-cp310-cp310-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "769a7c666e5d916a108dfe0385e754770ddb89602120b6bccdc49723379d4201",
                "md5": "ed341b342697b1b94c7d84a013f6f2e4",
                "sha256": "9821231fc9a2749ddce8fd7e1350df316c8d968c461a320c03cd36ae44f0e48a"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ed341b342697b1b94c7d84a013f6f2e4",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 22518,
            "upload_time": "2024-07-02T19:35:41",
            "upload_time_iso_8601": "2024-07-02T19:35:41.957667Z",
            "url": "https://files.pythonhosted.org/packages/76/9a/7c666e5d916a108dfe0385e754770ddb89602120b6bccdc49723379d4201/eth_bip32-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "045f3e90318f392a77df22afe8b63d8943c6a5800fd994f0d9c1a647bbb86999",
                "md5": "049ac9e2f723e725a509763a9064a240",
                "sha256": "526690638f27089d09f6d16868703101bd7ee72b08aa5e05fa99ec9da69c6aa4"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "049ac9e2f723e725a509763a9064a240",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 15268,
            "upload_time": "2024-07-02T19:35:42",
            "upload_time_iso_8601": "2024-07-02T19:35:42.985079Z",
            "url": "https://files.pythonhosted.org/packages/04/5f/3e90318f392a77df22afe8b63d8943c6a5800fd994f0d9c1a647bbb86999/eth_bip32-0.1.1-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d390ca69544722ca3b6eecc55efaec83f3733e2a7769019a843afa13f9f67019",
                "md5": "af5d988d1347e26547770839a53c020e",
                "sha256": "15c3f847064c148b4b736020d1adad915fcbfd1262e30cf6f43fe3152d6127ab"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "af5d988d1347e26547770839a53c020e",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 12391,
            "upload_time": "2024-07-02T19:35:49",
            "upload_time_iso_8601": "2024-07-02T19:35:49.459010Z",
            "url": "https://files.pythonhosted.org/packages/d3/90/ca69544722ca3b6eecc55efaec83f3733e2a7769019a843afa13f9f67019/eth_bip32-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e557326f51eb46b71d3b4dbb54ddd9ec5f1d8f1d67d317f724ded6d89b14fa11",
                "md5": "8e6bd957362151627af5b0d20e3e5ab3",
                "sha256": "e4a4b965b16793766aa89b7cc781f1597e77cb725c90b9336dba8170cb477977"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp311-cp311-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "8e6bd957362151627af5b0d20e3e5ab3",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 12636,
            "upload_time": "2024-07-02T19:36:04",
            "upload_time_iso_8601": "2024-07-02T19:36:04.765184Z",
            "url": "https://files.pythonhosted.org/packages/e5/57/326f51eb46b71d3b4dbb54ddd9ec5f1d8f1d67d317f724ded6d89b14fa11/eth_bip32-0.1.1-cp311-cp311-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ada7244b0fc194debc01bb794e1a7c7e1fccd3f82e47e014d195de08b97c4ac0",
                "md5": "4ea4feb96d87b1ffbe1c6eff9546d112",
                "sha256": "17235f08db173c4cd06a3681cec08dcbffe0d56cfd44a19a376568ac2fd89720"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "4ea4feb96d87b1ffbe1c6eff9546d112",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 22533,
            "upload_time": "2024-07-02T19:36:12",
            "upload_time_iso_8601": "2024-07-02T19:36:12.541131Z",
            "url": "https://files.pythonhosted.org/packages/ad/a7/244b0fc194debc01bb794e1a7c7e1fccd3f82e47e014d195de08b97c4ac0/eth_bip32-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0fddefdf6712888d7febce114645dcb52586820cb7af1ac55eb541b11c61788e",
                "md5": "968312e26e1acb6b42cf2ba408bd5d28",
                "sha256": "7c37512b43ced2121010837cb4a03ad914f1329a91cd32a13ba40dd71a51367d"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "968312e26e1acb6b42cf2ba408bd5d28",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 15271,
            "upload_time": "2024-07-02T19:36:17",
            "upload_time_iso_8601": "2024-07-02T19:36:17.357214Z",
            "url": "https://files.pythonhosted.org/packages/0f/dd/efdf6712888d7febce114645dcb52586820cb7af1ac55eb541b11c61788e/eth_bip32-0.1.1-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "39e2a9aa590e2f8687340f0a51174dff505de9c84de11dbe97277292fd5a81f5",
                "md5": "7958a5c86d0d49356a0860e4a7433da3",
                "sha256": "0d0a4e347bab5ce5609f5fe11fa93d6fcfb8ea3042dd22850f3f070efe341edc"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "7958a5c86d0d49356a0860e4a7433da3",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 12388,
            "upload_time": "2024-07-02T19:36:18",
            "upload_time_iso_8601": "2024-07-02T19:36:18.484849Z",
            "url": "https://files.pythonhosted.org/packages/39/e2/a9aa590e2f8687340f0a51174dff505de9c84de11dbe97277292fd5a81f5/eth_bip32-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c9a1b8556ce37afa88cbf77e5f2d168a22f40ddc0d32ae421da45d5bbadebb4b",
                "md5": "92e4c9efe2ced57334c607f9a3da09d5",
                "sha256": "fac84bdc822b048a10e04dc14e7c6ec9fcb98f69f67f82a6ffe6064e40b14d93"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp39-cp39-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "92e4c9efe2ced57334c607f9a3da09d5",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 12630,
            "upload_time": "2024-07-02T19:36:19",
            "upload_time_iso_8601": "2024-07-02T19:36:19.569135Z",
            "url": "https://files.pythonhosted.org/packages/c9/a1/b8556ce37afa88cbf77e5f2d168a22f40ddc0d32ae421da45d5bbadebb4b/eth_bip32-0.1.1-cp39-cp39-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fb2af92aa663203e2d12e56a5d2968474ac77f1d9d21b9e41e7afdc1244845b3",
                "md5": "ac0801b24d359a94f1175c8cbd2c89da",
                "sha256": "71f7545a4a3d10206217193951e5791ea497ba0c4d54b41f2e4efe86dec23aff"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ac0801b24d359a94f1175c8cbd2c89da",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 22371,
            "upload_time": "2024-07-02T19:36:20",
            "upload_time_iso_8601": "2024-07-02T19:36:20.658416Z",
            "url": "https://files.pythonhosted.org/packages/fb/2a/f92aa663203e2d12e56a5d2968474ac77f1d9d21b9e41e7afdc1244845b3/eth_bip32-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a13a19d1f0ebe2eb17b16b25296903498fe9288a514fc1c57acb6038c4bec77f",
                "md5": "e2a4846011be8e6384565ef89182459c",
                "sha256": "9efb29b18c2618b79e29eaedea72d8752462b6614401f594e6627de4c8c7f0f4"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "e2a4846011be8e6384565ef89182459c",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 15263,
            "upload_time": "2024-07-02T19:36:21",
            "upload_time_iso_8601": "2024-07-02T19:36:21.705519Z",
            "url": "https://files.pythonhosted.org/packages/a1/3a/19d1f0ebe2eb17b16b25296903498fe9288a514fc1c57acb6038c4bec77f/eth_bip32-0.1.1-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "baf5ed8ff58e4c867efa2f86b4bf75a69e13c8c090b8f555e687b950f16a8e5d",
                "md5": "35a5b70994128c04ab0899c1ea68c783",
                "sha256": "490630de976de7864e0405de9388c47c5056d691411542465e74b8ac76d624b3"
            },
            "downloads": -1,
            "filename": "eth_bip32-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "35a5b70994128c04ab0899c1ea68c783",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10712,
            "upload_time": "2024-07-02T19:36:22",
            "upload_time_iso_8601": "2024-07-02T19:36:22.700131Z",
            "url": "https://files.pythonhosted.org/packages/ba/f5/ed8ff58e4c867efa2f86b4bf75a69e13c8c090b8f555e687b950f16a8e5d/eth_bip32-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-02 19:36:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mattdravucz",
    "github_project": "eth-bip32",
    "github_not_found": true,
    "lcname": "eth-bip32"
}
        
Elapsed time: 2.65021s