toVerifyKey method

CosmosVerifier toVerifyKey()

Converts the CosmosSigner to a CosmosVerifier for verification purposes.

Returns:

Implementation

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