hairyf

subsquid

Subsquid (Squid SDK) — batch-based blockchain indexers, EVM/Substrate processors, typegen, GraphQL API.

hairyf 4 1 Updated 3mo ago

Resources

2
GitHub

Install

npx skillscat add hairyf/blockchain-skills/subsquid

Install via the SkillsCat registry.

SKILL.md

Skill based on Subsquid docs, generated 2026-02-09. Official docs: https://docs.subsquid.io

Subsquid provides SQD Network (historical blockchain data API) and Squid SDK — a TypeScript toolkit for building batch-based indexers (squids). Squids use processors (EVM or Substrate), stores (Postgres, file, BigQuery), optional typegen for decoding, and optional GraphQL serving.

Core References

Topic Description Reference
Overview Squid SDK architecture — processor, store, typegen, GraphQL; SQD Network core-overview
EVM Processor EvmBatchProcessor — gateway, RPC, addLog, setFields, batch context core-evm-processor
Schema & TypeORM schema.graphql, typeorm-codegen, TypeormDatabase, store API core-schema-typeorm

Features

Topic Description Reference
EVM Typegen squid-evm-typegen — ABI → decoding and state-query facades features-evm-typegen
CLI sqd init, run, deploy; templates and project layout features-cli
GraphQL OpenReader — schema-based GraphQL API from Postgres features-graphql

Best Practices

Topic Description Reference
Batch Processing In-memory aggregation, batch writes, avoid per-item DB ops best-practices-batch-processing

External Links