BSCAddress.fromPublicKey constructor
BSCAddress.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 BSCAddress.fromPublicKey(Uint8List publicKey) {
return BSCAddress(publicKeyToAddress(publicKey));
}