toVerifyKey method

SubstrateEcdsaVerifier toVerifyKey()

Converts the ETHSigner to an ETHVerifier for verification purposes.

Returns:

  • An ETHVerifier representing the verification key.

Implementation

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