Skip to main content
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 Solana squids.

Data source

  • @subsquid/solana-stream + @subsquid/batch-processor — the Portal-native Solana data source and the run() runner
  • @subsquid/solana-objects — block augmentation (augmentBlock)
The @subsquid/squid-sdk package bundles the data source, the runner and the store/logger behind one dependency with subpath imports (@subsquid/squid-sdk/solana, @subsquid/squid-sdk/processor, @subsquid/squid-sdk/store/typeorm, @subsquid/squid-sdk/logger). There is no solana-objects subpath: install @subsquid/solana-objects separately for augmentBlock.

Typegen

The Solana typegen generates typed decoders from program IDLs.

Stores

Any store works with any data source: The store contract itself is documented in Store interface.

Serving and tooling