solana_sdk::secp256k1_instruction

Function construct_eth_pubkey

source
pub fn construct_eth_pubkey(pubkey: &PublicKey) -> [u8; 20]
Expand description

Creates an Ethereum address from a secp256k1 public key.