Evmos wallet utils.
Project description
Evmos wallet
Evmos wallet utils for python3.9+
.
Installation
pip install evmoswallet
Usage
from evmoswallet import Wallet
wallet = Wallet(seed)
seed = 'report spend crisp crisp world shock morning hour ' \
'spoon problem one hole program piano donkey width ' \
'today view canoe clap brick bundle rose book'
print(wallet.eth_address)
# "0xe7e3654bc1ea915e7216d8193ef8dd7d5dae987f"
print(wallet.evmos_address)
# "evmos1ul3k2j7pa2g4uuskmqvna7xa04w6axrl85alz5"
print(wallet.private_key)
# bytes.fromhex("8721109b7244925c0480f4172546b8b53dfe87845274070fbe8e6da739d1b813")
msg = bytes(...) # protobuf message
signed = wallet.sign(msg)
References
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
evmoswallet-1.0.4.tar.gz
(31.3 kB
view hashes)
Built Distribution
Close
Hashes for evmoswallet-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 277dcb744e67bde09012cc4909b5e8f951dfbe798cf4537121b0a4503bcb6717 |
|
MD5 | ceb1d101ae42ae1c61614c6df0ca03a5 |
|
BLAKE2b-256 | 052a9028992c9c870ec15169f58df6e75a5a37e298a7805e41c61293c77f28dc |