Skip to main content

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

pywallet tow1

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)

Uploaded Source

Built Distribution

evmoswallet-1.0.4-py3-none-any.whl (38.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page