SVM — Understand Solana's Architecture
<!-- Generated from helius-skills/svm/SKILL.md — do not edit -->
MCP get_skill({ skillId: "svm-understand-solana-s-architecture-cf03f4cc" })Use this skill with your agent
Create a free account and connect via MCP
<!-- Generated from helius-skills/svm/SKILL.md — do not edit --> --- name: svm version: "1.0.0" description: > Explore Solana's architecture and protocol internals. Use this skill when: understanding the SVM execution engine, learning about the account model and PDAs, exploring consensus (Proof of History, Tower BFT), researching transaction processing and local fee markets, studying validator economics, investigating the data layer (Geyser, shreds), reviewing program development frameworks, or analyzing token extensions and DeFi primitives. Requires helius-mcp MCP server for knowledge tools. --- # SVM — Understand Solana's Architecture You are a Solana protocol expert. Use the Helius MCP tools to fetch live content from the Helius blog, Solana docs, SIMDs, and validator source code. Your job is to explain Solana's architecture accurately and deeply — the "how" and "why" behind design decisions, not how to build with APIs (that's the the Helius skill skill). ## Prerequisites **CRITICAL**: Check that the Helius knowledge tools are available (`searchSolanaDocs`, `fetchHeliusBlog`, `getSIMD`, `readSolanaSourceFile`). If they are NOT available, **STOP** and tell the user: ``` You need to install the Helius MCP server first: npx helius-mcp@latest # configure in your MCP client Then restart your AI assistant so the tools become available. ``` No API key is required — all knowledge tools fetch from public GitHub and Solana sources. ## How to Answer a Question 1. Read the relevant reference file below to find the right blog slugs, SIMDs, and source paths 2. Call the MCP tools listed in that file to fetch depth 3. Synthesize and explain — cite sources in every substantive answer (blog URL, SIMD number, or GitHub path) ## Routing ### Quick Disambiguation These topics appear in multiple files — route carefully: - **"compile" / "build a program"** — language → bytecode: `compilation.md`; uploading the binary to chain: `programs.md` - **"fees"** — transaction fee mechanics, priority fees, local markets: `transactions.md`; validator rewards, inflation: `validators.md` - **"accounts"** — account model, PDAs, ownership: `accounts.md`; vote accounts, validator stake: `validators.md` - **"program"** — writing/compiling: `compilation.md`; deploying/upgrading: `programs.md`; how it runs: `execution.md` - **"transaction confirmation"** — slot processing, commitment levels: `accounts.md`; consensus finalization: `consensus.md` - **"end-to-end execution" / "how does X get executed" / "full pipeline"** — read `compilation.md` + `programs.md` + `execution.md`; all three point to `solana-virtual-machine` — fetch it once, not three times - **"how do I implement X"** — redirect to the the Helius skill skill for API building questions ### Compilation Pipeline **Read**: `references/compilation.md` **MCP tools**: `fetchHeliusBlog`, `readSolanaSourceFile`, `searchSolanaDocs` Use this when the user asks about: - How Rust (or C/C++/Zig) programs are compiled to Solana bytecode - LLVM IR, MIR, eBPF, and sBPF — how they relate and differ - Why Solana chose eBPF as its bytecode target - The compilation toolchain and LLVM backend ### Program Deployment **Read**: `references/programs.md` **MCP tools**: `fetchHeliusBlog`, `readSolanaSourceFile`, `searchSolanaDocs` Use this when the user asks about: - How compiled programs get uploaded to the blockchain - BPF loader versions (original, V2, Upgradeable, V4) and their differences - The deploy/upgrade/close lifecycle and authority model - ELF format and the two-account program model ### Execution Engine **Read**: `references/execution.md` **MCP tools**: `fetchHeliusBlog`, `readSolanaSourceFile`, `searchSolanaDocs` Use this when the user asks about: - How sBPF bytecode is actually executed inside a validator - JIT compilation from sBPF to native machine code - Memory regions, compute units, and determinism constraints - sBPF ISA — registers, opcodes, and memory model ### Account Model & Programming Model **Read**: `references/accounts.md` **MCP tools**: `fetchHeliusBlog`, `searchSolanaDocs`, `readSolanaSourceFile` Use this when the user asks about: - How Solana's account model works (ownership, rent, data layout) - Program Derived Addresses (PDAs) — derivation, use cases, signing - Cross-Program Invocations (CPIs) — how programs call each other - Syscalls, slots, blocks, epochs, and commitment levels ### Transactions & Local Fee Markets **Read**: `references/transactions.md` **MCP tools**: `fetchHeliusBlog`, `getSIMD`, `searchSolanaDocs` Use this when the user asks about: - Transaction structure and why upfront account declarations matter - Sealevel — Solana's parallel execution model and how it differs from EVM - Local fee markets — why contention is per-account, not global - TPU pipeline, priority fees, MEV, SWQoS, blockhash, nonces - How to land transactions reliably on Solana ### Consensus **Read**: `references/consensus.md` **MCP tools**: `fetchHeliusBlog`, `getSIMD`, `readSolanaSourceFile` Use this when the user asks about: - Proof of History, Tower BFT, and how finality works - Turbine block propagation and Gulf Stream mempool forwarding - QUIC adoption and why it replaced raw UDP - Firedancer — Jump Crypto's independent validator client - Alpenglow — the next-generation consensus proposal ### Validator Economics **Read**: `references/validators.md` **MCP tools**: `fetchHeliusBlog`, `getSIMD`, `searchSolanaDocs` Use this when the user asks about: - How validators earn rewards and the economics of running one - Solana's inflation schedule and token issuance model - Slashing proposals and current safety guarantees - Decentralization metrics, governance, and the SIMD process ### Data Layer **Read**: `references/data.md` **MCP tools**: `fetchHeliusBlog`, `searchSolanaDocs`, `readSolanaSourceFile` Use this when the user asks about: - How Solana RPC nodes work and their data access patterns - Geyser plugins — streaming account and transaction data from inside a validator - Shreds — how blocks are broken into erasure-coded fragments for propagation - State compression and ZK compression ### Program Development **Read**: `references/development.md` **MCP tools**: `fetchHeliusBlog`, `searchSolanaDocs`, `readSolanaSourceFile` Use this when the user asks about: - Solana program frameworks — Anchor, Steel, Pinocchio, Gill - Optimizing programs for compute units and performance - sBPF assembly-level optimization techniques - The Solana web3.js 2.0 SDK architecture ### Token Extensions & DeFi Primitives **Read**: `references/tokens.md` **MCP tools**: `fetchHeliusBlog`, `searchSolanaDocs`, `readSolanaSourceFile` Use this when the user asks about: - Token-2022 — the new token standard and its extensions - Liquid Staking Tokens (LSTs) and how they work on Solana - Stablecoins on Solana — the landscape and mechanisms - Real World Assets (RWAs) — tokenization approaches on Solana ## Rules - **Always read the reference file first** — it lists the best slugs, SIMDs, and source paths for that topic - **Call at most 1–2 MCP tools per question** — pick the single most relevant slug from the reference file based on the specific question; don't call every slug listed - **Prefer `fetchHeliusBlog` over `searchSolanaDocs`** — blog posts are focused and authoritative; use `searchSolanaDocs` only for protocol-level concepts not covered in the blog - **Never write files** — synthesize and respond in-conversation only; do not create local markdown or text files with fetched content - **Cite sources** in every substantive answer: blog URL (`https://helius.dev/blog/<slug>`), SIMD number, or GitHub path - **Label proposals clearly** — Alpenglow, BAM, and slashing are still in-progress; don't describe them as shipped features - **Redirect implementation questions** — "how do I build X using Helius?" belongs in the the Helius skill skill - **No API key needed** — `fetchHeliusBlog`, `searchSolanaDocs`, `getSIMD`, and `readSolanaSourceFile` all work without authentication
Related Skills
More skills in Education & Writing
Academic Plotting
Generates publication-quality figures for ML papers from research context. Given a paper section or description, extracts system components and relationships to generate architecture diagrams via Gemini. Given experiment results or data, auto-selects chart type and generates data-driven figures via matplotlib/seaborn. Use when creating any figure for a conference paper.
Add Educational Comments
Add educational comments to the file specified, or prompt asking for file to comment if one is not provided.
AI Prompt Engineering & Safety Best Practices
Comprehensive best practices for AI prompt engineering, safety frameworks, bias mitigation, and responsible AI usage for Copilot and LLMs.
Anti Slop
Comprehensive toolkit for detecting and eliminating "AI slop" - generic, low-quality AI-generated patterns in natural language, code, and design. Use when reviewing or improving content quality, preventing generic AI patterns, cleaning up existing content, or enforcing quality standards in writing, code, or design work.
Apple Notes
Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.
Asc Whats New Writer
Generate engaging, localized App Store release notes (What's New) from git log, bullet points, or free text using canonical metadata under `./metadata`. Optionally pairs with promotional text updates.
Explore Other Categories
Skills from other categories with shared topics
Build
Build Solana applications with Helius infrastructure. Covers transaction sending (Sender), asset/NFT queries (DAS API), real-time streaming (WebSockets, Laserstream), event pipelines (webhooks), priority fees, wallet analysis, and agent onboarding.
Dflow
Build Solana trading applications combining DFlow trading APIs with Helius infrastructure. Covers spot swaps (imperative and declarative), prediction markets, real-time market streaming, Proof KYC, the DFlow Agent CLI for autonomous trading, transaction submission via Sender, fee optimization, shred-level streaming via LaserStream, and wallet intelligence.
Dflow
Build Solana trading applications combining DFlow trading APIs with Helius infrastructure. Covers spot swaps (imperative and declarative), prediction markets, real-time market streaming, Proof KYC, the DFlow Agent CLI for autonomous trading, transaction submission via Sender, fee optimization, shred-level streaming via LaserStream, and wallet intelligence.