Skip to main content
An indexer built with the Squid SDK (a squid) is an ordinary Node.js project. Building one from scratch means initializing an npm package, installing the SDK packages you need — a Starknet data source for retrieving and filtering the raw data, a data store for saving the processed records, and optionally the GraphQL server — then wiring them together in a short main.ts. See the packages overview for the full list of building blocks. The quickest way to see a working Starknet squid is to bootstrap one from the USDC transfers example and inspect its heavily commented source:

Quickstart

Get a working Starknet indexer in 5 minutes.