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.3.tar.gz
(31.3 kB
view hashes)
Built Distribution
Close
Hashes for evmoswallet-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0e889d3d6b3ca4727e3ccfed9fd82ec171c479c9708238042cfb5673c25c85e |
|
MD5 | 46e5cd60d30af59afe7f850bcb5d6196 |
|
BLAKE2b-256 | 68375677f4d950983f7da2e5d2725f77f315d7413eaf0df5137e71099823bc01 |