toVerifyKey method

SolanaVerifier toVerifyKey()

Returns an SolanaVerifier instance based on the available signing key type.

This method constructs and returns an SolanaVerifier instance for signature verification.

returns An SolanaVerifier instance based on the available signing key type.

Implementation

SolanaVerifier toVerifyKey() {
  final keyBytes = _signingKey.publicKey.toBytes();
  return SolanaVerifier.fromKeyBytes(keyBytes);
}