ed25519

fun ed25519(verifierAddress: String, publicKey: ByteArray): ExternalSigner

Creates an Ed25519 external signer.

Ed25519 signers use a 32-byte Ed25519 public key for signature verification.

Return

An external signer configured for Ed25519 verification

Parameters

verifierAddress

The contract address of the Ed25519 verifier (C-address)

publicKey

The Ed25519 public key (32 bytes)

Throws

if validation fails