generate_evm_keypair

Function generate_evm_keypair 

Source
pub fn generate_evm_keypair() -> Result<EvmWallet, O2Error>
Expand description

Generate an EVM-compatible keypair. EVM address = last 20 bytes of keccak256(uncompressed_pubkey[1..65]) B256 address = 12 zero bytes + 20 EVM address bytes