EthereumAddress.fromPublicKey constructor
EthereumAddress.fromPublicKey(
- Uint8List publicKey
Constructs an Ethereum address from a public key. The address is formed by the last 20 bytes of the keccak hash of the public key.
Implementation
factory EthereumAddress.fromPublicKey(Uint8List publicKey) {
return EthereumAddress(publicKeyToAddress(publicKey));
}