{"repo":"subsquid-labs/squid-evm-template","free":true,"listed":false,"github":"https://github.com/subsquid-labs/squid-evm-template","clone":"git clone https://github.com/subsquid-labs/squid-evm-template.git","description":"A template repo for squids indexing Ethereum mainnet","language":"TypeScript","stars":12,"topics":["evm","blockchain","blockchain-indexer","erc20","ethereum","etl","indexing","smart-contracts","sqd","subgraph"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Ethereum / EVM indexer template (Squid SDK) This is a starter template of a squid indexer for EVM networks (Ethereum, Polygon, BSC, etc.). See Squid SDK docs for a complete reference. Documentation: docs.sqd.dev sqd.dev The data source streams pre-filtered data from a public SQD Network Portal dataset — no API key or RPC endpoint is required, and it covers real-time unfinalized blocks. To extract EVM logs and transactions by a topic or a contract address, use .addLog() , .addTransaction() , .addTrace() or .addStateDiff() methods of the DataSourceBuilder defined in src/main.ts . Select data fields with .setFields() . The requested data is transformed in batches by a single handler provided to the run() function. For a full list of supported networks and config options, check the EVM Portal stream overview. For a step-by-step migration guide from TheGraph, see the dedicated docs page. Dependencies: Node.js 20 or newer, Git, Docker. Quickstart A GraphiQL playground will be available at localhost:4350/graphql. You can also start squid services one by one: Dev flow 1. Define database schema Start development by defining the schema of the target database via schema.graphql . Schema definition consists of regular graphql type declarations annotated with custom directives. Full description of schema.graphql dialect is available here. 2. Generate TypeORM classes Mapping developers use TypeORM EntityManager to interact with target database during data processing. All necessary entity c","default_branch":null,"files":null,"tree":[],"storefront":"/r/subsquid-labs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/subsquid-labs/squid-evm-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."}