Quickstart
From zero to your first indexed table. Follow along in your terminal.
Install the CLI
One global binary; works with bun, npm, or pnpm.
Set up the one-box
One guided command: secrets, docker-compose + .env written for you, the stack brought up, and verified history restored from the archive instead of syncing from genesis. Your API is live at http://127.0.0.1:3800 — loopback reads need no token; setup prints the INSTANCE_TOKEN export for writes.
Create from your contract
Infers schema, triggers, and handler from the contract's observed print events, into one file ready to edit or deploy as-is.
Deploy it
Indexes forward from the chain tip and keeps the table live as new blocks arrive; with bootstrapped history it backfills from genesis.
Read it back
Rows serve from your instance the moment the first block lands. Same read from the SDK — sl.subgraphs.rows("my-balances", "balances").
Next: write your first handler, or wire up push delivery.