SubstrateSr25519Verifier.fromKeyBytes constructor

SubstrateSr25519Verifier.fromKeyBytes(
  1. List<int> keyBytes
)

Factory method to create an SolanaVerifier instance from key bytes.

Implementation

factory SubstrateSr25519Verifier.fromKeyBytes(List<int> keyBytes) {
  final verifier = SchnorrkelPublicKey(keyBytes);
  return SubstrateSr25519Verifier._(verifier);
}