subsquid

📁 hairyf/blockchain-master 📅 1 day ago
1
总安装量
1
周安装量
#77172
全站排名
安装命令
npx skills add https://github.com/hairyf/blockchain-master --skill subsquid

Agent 安装分布

mcpjam 1
claude-code 1
replit 1
junie 1
windsurf 1
zencoder 1

Skill 文档

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