toVerifyKey method

ETHVerifier toVerifyKey()

Converts the ETHSigner to an ETHVerifier for verification purposes.

Returns:

  • An ETHVerifier representing the verification key.

Implementation

ETHVerifier toVerifyKey() {
  return ETHVerifier.fromKeyBytes(
      _ecdsaSigningKey.privateKey.publicKey.toBytes());
}