{"repo":"subsquid-labs/squid-substrate-template","free":true,"listed":false,"github":"https://github.com/subsquid-labs/squid-substrate-template","clone":"git clone https://github.com/subsquid-labs/squid-substrate-template.git","description":"Squid project template for Substrate-based chains","language":"TypeScript","stars":33,"topics":["blockchain","etl","graphql","indexer","kusama","polkadot","sqd","substrate","template","typescript"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Substrate / Polkadot indexer template (Squid SDK) A starter Squid project to demonstrate its structure and conventions. It accumulates kusama account transfers and serves them via GraphQL API. Accessing the SQD Network gateway This squid sources historical data from the SQD Network v2 gateway ( https://v2.archive.subsquid.io/network/kusama ). Since May 19, 2026, self-hosted squids need an API key to access these gateways (see SQD API keys): 1. Create a key at portal.sqd.dev/app. 2. Add it to .env : SQD API KEY=your api key . 3. Pass it to the .setGateway(...) call in src/processor.ts : Squids deployed to SQD Cloud don't need this — the platform provides gateway access. Documentation - SQD docs: https://docs.sqd.dev - SQD website: https://sqd.dev Summary - Quickstart - SQD Network gateways for Parachains - Development flow - Database Schema - Entity classes - DB migrations - Typegen for Events, Extrinsics and Storage Calls - Deploy the Squid - Conventions - Type Bundles Prerequisites Node.js 20 or newer docker npm -- note that yarn package manager is not supported Quickly running the sample Example commands below use sqd. Please install it before proceeding. A GraphiQL playground will be available at localhost:4350/graphql. SQD Network gateways for Parachains SQD provides gateway (archive) data sources for most parachains. Point the processor at one with .setGateway( ) , as done in src/processor.ts : The gateway supplies historical data; .setRpcEndpoint(...) is still required ","default_branch":null,"files":null,"tree":[],"storefront":"/r/subsquid-labs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/subsquid-labs/squid-substrate-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}