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 Substrate 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. For a complete walkthrough of developing a Substrate squid, follow the dedicated tutorial:

Substrate indexing tutorial

Build a Substrate indexer step by step.