pub fn public_key_to_address(public: PublicKey) -> Address
Available on crate feature
secp256k1
only.Expand description
Converts a public key into an ethereum address by hashing the encoded public key with keccak256.
pub fn public_key_to_address(public: PublicKey) -> Address
secp256k1
only.Converts a public key into an ethereum address by hashing the encoded public key with keccak256.