Indexer
Overview
Rust indexer — events to Postgres, REST + WebSocket for clients.
Indexer
The streamline-indexer service watches Sui events from the StreamLine package, writes them to Postgres, and serves a read API. The app and SDK read here instead of hammering fullnode RPC for list views.
Default local URL: http://localhost:8080
Override with STREAMLINE_INDEXER_URL / NEXT_PUBLIC_INDEXER_URL.
Run locally
createdb streamline
cd backend
DATABASE_URL=postgres://postgres@localhost:5432/streamline \
cargo run -p streamline-indexerSee the backend README for keeper setup and env vars.