Trustline Onboarder gets a user a usable balance of any Stellar asset — with no XLM, no existing trustline, and no blockchain literacy. One SDK composes claimable balances, sponsored reserves, and SEP-8 approval into a single signature.
The SDK exposes one call. Choose the mechanism per asset — or let discovery pick it from the issuer's stellar.toml.
Four steps from a cold account to a usable balance. The SDK orchestrates the ledger operations; the user only ever signs once.
Read the issuer's stellar.toml and the holder's on-chain state to learn which mechanisms apply.
onboarder.detect({ … })One call builds the right transaction — claimable balance, authorize, or intermediate — wrapped in a sponsored-reserve sandwich.
onboarder.startOnboarding({ … })The user signs once in their wallet. No XLM, no manual trustline, no second prompt.
wallet.sign(xdr)The trustline is created and authorized; the balance lands and is immediately usable.
verifyActivation()Plain TypeScript or a drop-in React component. The same primitives power the issuer's approval server.
The approval server gives compliance teams a MiCA-ready control surface — authorize, freeze, clawback, and a full audit trail, all from one console.
setTrustLineFlagsApprove a trustline after a KYC check. Wallets receive a SEP-8 success / pending / action_required result.
AUTHORIZED_TO_MAINTAIN_LIABILITIESSuspend a holder's ability to transfer while keeping the balance intact, pending review.
clawback · CAP-35Reverse a transfer on a clawback-enabled asset. Irreversible, and always recorded in the audit log.
append-onlyEvery authorize, freeze, and clawback is captured as an append-only, exportable compliance record.