Indexing Patterns on Sui — From Local Scripts to Jun and Beyond
About This Event
The bridge between on-chain data and real product UX is the indexer. If you're still polling RPC for everything, you're already behind — and as your app grows, that approach collapses under its own weight. This session walks you through the full landscape of indexing on Sui: starting with simple local scripts that read events, advancing to Jun (the TypeScript indexer that's become a go-to for Sui dApps), and covering the other tools serious teams reach for — from Mysten's Rust sui-indexer-alt-framework to custom checkpoint subscribers. You'll leave with working code, a clear mental map of which tool to use when, and an indexer-powered API that your frontend can actually depend on.
What You'll Learn
- Why indexing exists — when RPC is enough, and when it absolutely isn't
- Sui's event model: sui::event::emit, checkpoints, sequence numbers, and cursor management explained
- How to build a simple local indexer from scratch (no framework) — so you know what the frameworks do for you
- Jun fundamentals — defineIndexer, handlers, idempotency, live mode, and graceful resume from cursor
- The other serious options: Mysten's Rust sui-indexer-alt-framework, custom checkpoint subscribers, and third-party services — with honest tradeoffs
- How to expose your indexed data through a fast API (Hono + Bun) that powers a live frontend
Who Should Attend
- Sui developers whose frontends are outgrowing direct RPC calls
- Backend engineers building APIs on top of on-chain data
- Full-stack builders who want real-time reactivity without WebSocket plumbing pain
- Anyone who wants to understand what "productionizing" a Sui dApp actually takes
What to Bring
- Your laptop
- Node.js and Bun installed (Bun is required for Jun)
- Docker installed (for a local Postgres instance)
- Basic familiarity with TypeScript and SQL
Join us at SuiHub to learn, build, and connect with fellow developers pushing the boundaries of the Sui ecosystem.
