Skip to main content

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:

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:

Metadata

Release files for eth-bip32 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eth-bip32 0.1.1
File Size Uploaded Provenance
eth_bip32-0.1.1.tar.gz 10.7 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for eth-bip32 0.1.1
File
eth_bip32-0.1.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
eth_bip32-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
eth_bip32-0.1.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
eth_bip32-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
eth_bip32-0.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
eth_bip32-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
eth_bip32-0.1.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
eth_bip32-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
eth_bip32-0.1.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
eth_bip32-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
eth_bip32-0.1.1-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
eth_bip32-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details

Total release size: 199.0 kB

Release files / eth_bip32-0.1.1.tar.gz

Download URL eth_bip32-0.1.1.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
490630de976de7864e0405de9388c47c5056d691411542465e74b8ac76d624b3
BLAKE2b-256 checksum
How to use checksums
baf5ed8ff58e4c867efa2f86b4bf75a69e13c8c090b8f555e687b950f16a8e5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp311-cp311-win_amd64.whl

Download URL eth_bip32-0.1.1-cp311-cp311-win_amd64.whl
Size 15.3 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7c37512b43ced2121010837cb4a03ad914f1329a91cd32a13ba40dd71a51367d
BLAKE2b-256 checksum
How to use checksums
0fddefdf6712888d7febce114645dcb52586820cb7af1ac55eb541b11c61788e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL eth_bip32-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 22.5 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
17235f08db173c4cd06a3681cec08dcbffe0d56cfd44a19a376568ac2fd89720
BLAKE2b-256 checksum
How to use checksums
ada7244b0fc194debc01bb794e1a7c7e1fccd3f82e47e014d195de08b97c4ac0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL eth_bip32-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Size 12.6 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e4a4b965b16793766aa89b7cc781f1597e77cb725c90b9336dba8170cb477977
BLAKE2b-256 checksum
How to use checksums
e557326f51eb46b71d3b4dbb54ddd9ec5f1d8f1d67d317f724ded6d89b14fa11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl

Download URL eth_bip32-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl
Size 12.4 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
15c3f847064c148b4b736020d1adad915fcbfd1262e30cf6f43fe3152d6127ab
BLAKE2b-256 checksum
How to use checksums
d390ca69544722ca3b6eecc55efaec83f3733e2a7769019a843afa13f9f67019
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp310-cp310-win_amd64.whl

Download URL eth_bip32-0.1.1-cp310-cp310-win_amd64.whl
Size 15.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
526690638f27089d09f6d16868703101bd7ee72b08aa5e05fa99ec9da69c6aa4
BLAKE2b-256 checksum
How to use checksums
045f3e90318f392a77df22afe8b63d8943c6a5800fd994f0d9c1a647bbb86999
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL eth_bip32-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 22.5 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9821231fc9a2749ddce8fd7e1350df316c8d968c461a320c03cd36ae44f0e48a
BLAKE2b-256 checksum
How to use checksums
769a7c666e5d916a108dfe0385e754770ddb89602120b6bccdc49723379d4201
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL eth_bip32-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Size 12.6 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c3da7f345861fe894539a739c66ceec27c69751a182d3c9f8244243135ca8afd
BLAKE2b-256 checksum
How to use checksums
c1afb499f5b11b5789105b4ffc58595acc66115bc6804f7d46a7c81a9134139d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl

Download URL eth_bip32-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl
Size 12.4 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
252ac9faa3f48e85b51425d10012e25257b54ceed7c222611fb1f40fd0cbafbc
BLAKE2b-256 checksum
How to use checksums
0db7d795d4bce930b4f7a533d1580899288e5b3729c08469bbe99c65cec7043e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp39-cp39-win_amd64.whl

Download URL eth_bip32-0.1.1-cp39-cp39-win_amd64.whl
Size 15.3 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
9efb29b18c2618b79e29eaedea72d8752462b6614401f594e6627de4c8c7f0f4
BLAKE2b-256 checksum
How to use checksums
a13a19d1f0ebe2eb17b16b25296903498fe9288a514fc1c57acb6038c4bec77f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL eth_bip32-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 22.4 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
71f7545a4a3d10206217193951e5791ea497ba0c4d54b41f2e4efe86dec23aff
BLAKE2b-256 checksum
How to use checksums
fb2af92aa663203e2d12e56a5d2968474ac77f1d9d21b9e41e7afdc1244845b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp39-cp39-macosx_11_0_arm64.whl

Download URL eth_bip32-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
Size 12.6 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fac84bdc822b048a10e04dc14e7c6ec9fcb98f69f67f82a6ffe6064e40b14d93
BLAKE2b-256 checksum
How to use checksums
c9a1b8556ce37afa88cbf77e5f2d168a22f40ddc0d32ae421da45d5bbadebb4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / eth_bip32-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl

Download URL eth_bip32-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl
Size 12.4 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
0d0a4e347bab5ce5609f5fe11fa93d6fcfb8ea3042dd22850f3f070efe341edc
BLAKE2b-256 checksum
How to use checksums
39e2a9aa590e2f8687340f0a51174dff505de9c84de11dbe97277292fd5a81f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Security for eth-bip32 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

13 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page