Converts a Solana public key into a Neon EVM-compatible address.
This function generates an Ethereum-style Neon wallet address from a given Solana PublicKey.
It applies the keccak256 hash function to the Solana public key bytes and extracts
the last 20 bytes (12 to 32) to create a valid Neon EVM address.
Converts a Solana public key into a Neon EVM-compatible address.
This function generates an Ethereum-style Neon wallet address from a given Solana
PublicKey
. It applies thekeccak256
hash function to the Solana public key bytes and extracts the last 20 bytes (12 to 32) to create a valid Neon EVM address.