toVerifyKey method

CosmosNist256p1Verifier toVerifyKey()

Converts the CosmosNist256p1Signer to a CosmosNist256p1Verifier for verification purposes.

Returns:

Implementation

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