create Ed25519Signer
Creates an Ed25519 signer (with external verifier).
For Ed25519 keys that need custom verification logic via a verifier contract. The key data is the 32-byte Ed25519 public key.
Return
An ExternalSigner configured for Ed25519 verification
Parameters
ed25519Verifier Address
Ed25519 verifier contract address (C-address)
public Key
32-byte Ed25519 public key
Throws
if the verifier address format is invalid
if the public key is not 32 bytes
Example:
val signer = SmartAccountBuilders.createEd25519Signer(
ed25519VerifierAddress = "CDEF5678...",
publicKey = ed25519PublicKey
)Content copied to clipboard