Skip to main content
The cesto-sdk-examples repository is a small TypeScript app with one runnable script per SDK feature (via tsx, no build step) — clone it, add your API key, and run any example:
Requires Node.js 20.6+. The repo covers both integration tracks:
  • BYOW (byow:*) — client-signed flows: your own Solana wallet signs every write (open / close / split-flow / bridges).
  • Managed (managed:*) — the managed-wallets flow: users.create + *.start, with Cesto signing server-side — no key handling on your side. See Managed Wallets.

What’s included

The open / close / split-flow / bridge and managed write examples move real USDC on mainnet (Solana and Base), spending from the wallets you configure (Cesto sponsors open/close gas). Write examples refuse to run without an explicit --yes flag — use dedicated test wallets with small amounts, and a write-scoped API key (see Authentication).