createDelegatedSigner

Creates a delegated signer (native Stellar account).

Delegated signers use Stellar's native require_auth() mechanism. No external verifier contract is needed.

Return

A DelegatedSigner for use in context rules

Parameters

publicKey

Stellar account public key (G-address) or contract address (C-address)

Throws

if the address format is invalid

Example:

val signer = SmartAccountBuilders.createDelegatedSigner("GA7Q...")