toVerifyKey method
Converts the CosmosSigner to a CosmosVerifier for verification purposes.
Returns:
- A CosmosVerifier representing the verification key.
Implementation
CosmosVerifier toVerifyKey() {
return CosmosVerifier.fromKeyBytes(
_ecdsaSigningKey.privateKey.publicKey.toBytes());
}