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