Local Ethereum keystore management library
Project description
eth-accounts
Local Ethereum keystore management library
Free software: MIT license
Documentation: https://eth-accounts.readthedocs.io.
Features
Create and manage local Ethereum accounts
Example
>>> from eth_accounts.account_utils import AccountUtils >>> >>> account_utils = AccountUtils(keystore_dir="/tmp/keystore") >>> account_utils.new_account(password="strong_password") <Account(address=0x7f92b97485c361ae50d5f30936fb52abac14fe08, id=None)> >>> account_utils.get_account_list() [<Account(address=0x7f92b97485c361ae50d5f30936fb52abac14fe08, id=None)>] >>> account = account_utils.get_account_list()[0] >>> account.privkey b'wU\xb1\xd6\xf1,`\x05f\xf1\x93\x04B\x11\x88\xe4i\x9d \xb9z9B\xb4\x9a\x1f\xae\xc4{\xa5\x13\x1f' >>> account_utils.delete_account(account) >>> account_utils.get_account_list() []
History
20191226 (2019-12-26)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eth_accounts-20191226.tar.gz
(14.8 kB
view details)
Built Distribution
File details
Details for the file eth_accounts-20191226.tar.gz
.
File metadata
- Download URL: eth_accounts-20191226.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaa454b64ae2bd9c5e9714cc08210f1fb690f3f0af7b65bcb71d84b8a90a7a8f |
|
MD5 | e645a47aa3345a8e9083c999eb5cb874 |
|
BLAKE2b-256 | 642ccf324309be60813c2969e023bcf55bc5265e59ea90018ecdeb5ef4ea6785 |
File details
Details for the file eth_accounts-20191226-py2.py3-none-any.whl
.
File metadata
- Download URL: eth_accounts-20191226-py2.py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e58ab6d3aa0ce68a34073bc985e5fd3a7d871e512d19c07edb2de490778ce226 |
|
MD5 | a3418824105b57221a67290a9c5e6f6a |
|
BLAKE2b-256 | 0153296f35cf78b5549ff97560eb1719010fb76d5bb0a54216454f939aebe5bf |