eth-accounts
Local Ethereum keystore management library
Free software: MIT license
Documentation: https://eth-accounts.readthedocs.io.
Features
Create and manage local Ethereum accounts
Account encryption (password)
Configurable PBKDF2 iterations
Transaction signature (TODO)
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
20191227 (2019-12-27)
Added
Coveralls support
AccountUtils.get_by_address()
AccountUtils.update_account_password()
20191226 (2019-12-26)
First release on PyPI.
Release files for eth-accounts 20191227
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eth_accounts-20191227.tar.gz | 16.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eth_accounts-20191227-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 23.6 kB
Release files / eth_accounts-20191227.tar.gz
| Download URL | eth_accounts-20191227.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6a5d4c62a19e2b8421aaf766bb8d95df2b92230793f234751ee1177d37993b7
|
|
BLAKE2b-256 checksum How to use checksums |
59962dd8cbdc166535d93277ed315e08c03562c942dc0739cc28bc6573f0705d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / eth_accounts-20191227-py2.py3-none-any.whl
| Download URL | eth_accounts-20191227-py2.py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
66f5aef5f55cd7855a7f0c3d1383ff70c555c2187da5a8e2beb93827ad4b4cf3
|
|
BLAKE2b-256 checksum How to use checksums |
535876b05057bdf9f03b11c5ef9a5a5312025682be8343b29ae1373a292c0bb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|