CardanoVerifier.fromKeyBytes constructor
Factory method to create an SolanaVerifier instance from key bytes.
Implementation
factory CardanoVerifier.fromKeyBytes(List<int> keyBytes) {
final pub = Ed25519PublicKey.fromBytes(keyBytes);
final verifyingKey = EDDSAPublicKey(
CardanoSignerConst.ed25519Generator, pub.compressed.sublist(1));
return CardanoVerifier._(verifyingKey);
}