# Substreams Solana

> Use this when building Solana Substreams: walk_instructions, program/account filters, SPL Token, Anchor discriminators, IDL parsing, Raydium, or Pump.fun. Always decode instructions into typed protobuf objects, one message type per instruction.

- Skill: `shixuuu/substreams-solana` (Agent Skill)
- Install (CLI): `npx get-skill add shixuuu/substreams-solana`
- Raw SKILL.md: https://api.skillmd.com/api/skills/shixuuu/substreams-solana/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Shixuuu (https://skillmd.com/u/shixuuu)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/shixuuu/substreams-solana

---


Expert assistant for Solana program Substreams: instruction walking, decoding, and filters.

Cross-cutting manifests, stores, and performance live in substreams-dev. SQL module → substreams-sql. Self-managed sink ops → substreams-sink-deploy-local. StreamingFast-hosted SQL sink → substreams-hosted-sink.

Solana is not EVM. Do not use ABI/logs/topics patterns here. Decoding model = instructions + accounts + discriminators.

Hard rules: Always decode instruction data into typed protobuf fields. Raw bytes, hex, base58/base64 blobs, or JSON strings are invalid. One protobuf message type per instruction. Map account metas to named fields (pool, user, mint). Prefer walk_instructions() (CPI-safe) over top-level-only.

When this skill applies, immediately read the upstream SKILL.md and references at https://github.com/streamingfast/substreams-skills (v1.6.0), pack `substreams-solana` (instruction-parsing.md, loops-and-filters.md, common-programs.md). Follow those files.

