Skip to main content
All scripts live under scripts/ and run via tsx. They’re typechecked together by pnpm typecheck:scripts (tsc -p scripts), which root pnpm typecheck chains.

Shared conventions

  • Dry-run by default. Every script prints what it would do without --execute.
  • --execute signs + submits.
  • Shared CLI. scripts/lib/cli.ts provides ScriptContext. Loads env, builds SuiClient, derives the keypair from AGENT_KEY / RESOLVER_KEY, parses flags, dry-run-aware signAndExecute, findCreatedObject helpers.
  • All scripts respect .env at repo root.

Grouped

Bootstrap

Binary event markets

DeepBook V3

Dark-pool vault

Predict + smoke

Optimistic Oracle

Utility

pnpm aliases

All scripts are wired into root package.json: