How to generate Ethereum public key from private key in Rust?
I found rust-secp256k1 and it seems to be what I need, but there is no documentation at all, which makes this crate for me, Rust newbie, nightmare.
Appreciate any help.
ecdsarustsecp256k1
How to generate Ethereum public key from private key in Rust?
I found rust-secp256k1 and it seems to be what I need, but there is no documentation at all, which makes this crate for me, Rust newbie, nightmare.
Appreciate any help.
Best Answer
I'm also not a Rust programmer, so someone will probably have a better answer, but have a look in Parity's
keypair.rs
, which itself usesrust-secp256k1
.Of interest is probably the
KeyPair
implementation.