> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sqd.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Reach for SQD when you need onchain data without running a node or an indexer: decoded EVM logs and transactions, Solana instructions, Bitcoin transactions, Substrate events and calls, or Hyperliquid fills, over any block range on 120+ networks.
> To query directly, POST to https://portal.sqd.dev/datasets/{dataset}/stream. The full API is described at https://docs.sqd.dev/openapi.json, and responses to the stream endpoints are JSON Lines.
> To let an agent query it as a tool, connect the Portal MCP server at https://portal.sqd.dev/mcp.
> Every page on this site is available as Markdown by appending .md to its URL.

# Packages overview

> The Squid SDK packages used in an EVM squid and what each one does.

Squid SDK is modular: a squid combines a chain-specific data source, a store, and optional
code-generation and serving tools. This page lists the packages relevant to EVM
squids.

## One package: `@subsquid/squid-sdk`

For Portal-native EVM squids, the `@subsquid/squid-sdk` package bundles the whole toolkit behind
one dependency with subpath imports:

```ts theme={"system"}
import {run} from '@subsquid/squid-sdk/processor'
import {DataSourceBuilder} from '@subsquid/squid-sdk/evm'
import {TypeormDatabase} from '@subsquid/squid-sdk/store/typeorm'
```

| Subpath | Contents |
| - | - |
| `evm` | EVM Portal stream — [`DataSourceBuilder`](./evm-stream) |
| `evm/objects` | Block augmentation (`augmentBlock`) |
| `evm/rpc` | [RPC data source](./evm-rpc-stream) — needs the optional peers below |
| `evm/fallback` | [Fallback data source](./evm-fallback) |
| `fallback` | Chain-agnostic fallback machinery (policy types, metrics sink) |
| `processor` | [`run()` and `Processor`](./batch-processor) |
| `store/typeorm` | [TypeORM store](./data-stores/typeorm-store) |
| `logger` | [Logger](./logger) |
| `client/portal`, `client/http`, `client/rpc` | Portal, HTTP, and RPC clients |
| `util`, `util/*` | Range, hex, JSON, and data-source utilities |

Two optional peer packages, `@subsquid/evm-rpc` and `@subsquid/evm-normalization`, are required
only when the `evm/rpc` subpath (or an `rpc` fallback source) is used.

The subpaths also work under the classic TypeScript resolution used by standard squid tsconfigs
(`module: commonjs`) — the package ships per-subpath type redirects, so autocomplete works without
`moduleResolution` changes.

## Individual packages

The same functionality remains available as standalone packages — existing squids need not
migrate:

* [`@subsquid/evm-stream`](./evm-stream) + `@subsquid/batch-processor` — Portal-native data
  source and runner
* `@subsquid/evm-objects` — block augmentation
* [`@subsquid/evm-typegen`](./evm-typegen/generating-utility-modules) — ABI-based utility module
  generator; its output imports `@subsquid/evm-abi` and `@subsquid/evm-codec` (install both)

## Stores

Any store works with any data source:

* [`@subsquid/typeorm-store`](./data-stores/typeorm-store) — PostgreSQL, with
  [`@subsquid/typeorm-codegen`](./typeorm-codegen) (dev dependency) and
  [`@subsquid/typeorm-migration`](./typeorm-migration)
* [`@subsquid/file-store`](./data-stores/file-store) — filesystem datasets (CSV, JSON, Parquet,
  local or S3)
* [`@subsquid/bigquery-store`](./data-stores/bigquery-store) — Google BigQuery

The store contract itself is documented in [Store interface](./data-stores/store-interface).

## Serving and tooling

* [`@subsquid/graphql-server`](./openreader/overview) — the OpenReader GraphQL server, derived
  from the [schema file](./schema-files/schema-files-codegen)
* [Hasura configuration tool](./hasura-configuration) — for Hasura-based APIs
* [`@subsquid/logger`](./logger) — structured logging
* [Squid CLI](/en/cloud/reference/cli/installation) — scaffolding
  ([`sqd init`](./create-squid)), command runner, and SQD Cloud deployment


## Related topics

- [Packages overview](/en/sdk/squid-sdk/substrate/reference/packages-overview.md)
- [Build an Indexer from Scratch](/en/sdk/squid-sdk/substrate/examples-tutorials/build-indexer-from-scratch.md)
- [file-store-* packages](/en/sdk/squid-sdk/solana/reference/data-stores/file-store.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.