ethereum-crypto

Crates.ioethereum-crypto
lib.rsethereum-crypto
version0.2.1
sourcesrc
created_at2022-08-20 06:41:55.610503
updated_at2023-11-12 19:04:40.646181
descriptionPublic-private key management system for Ethereum
homepage
repositoryhttps://github.com/AndoroidX/ethereum-crypto
max_upload_size
id649066
size7,134
Andrew Tretyakov (0xAndoroid)

documentation

README

ethereum-crypto

Basic functionality for ethereum private-public key pairs and addresses

Usage

EthereumKeypair can be constructed via private key string or generated randomly.
You can export private key with export_secret_key_as_hex_string function.
And you can get an Address([u8;20]) which has ToString trait, so to_string function would get you an ethereum address.
utils::get_address_from_public_key function is also public.

Commit count: 9

cargo fmt