Sol.College

Learn by example

Learn Solana from real code.

Every lesson here is built from excerpts of real, permissively licensed projects in the Solana SuperStack catalog, with permalinks to the exact lines at a pinned commit and a plain-English walkthrough.

Start the learning path All lessons Explore the SuperStack

Lessons

Program Derived Addresses (PDAs)

A PDA is an address derived from a program ID plus a list of seeds, deliberately chosen so that it has no private key. Only the deriving program can s…

6 real excerpts

Cross-Program Invocations (CPIs)

A CPI is one program calling an instruction on another program, such as the Token Program or System Program. The caller passes the accounts the callee…

6 real excerpts

SPL Tokens: mints, accounts and transfers

Fungible tokens on Solana are accounts owned by the Token Program. A mint account defines supply and decimals, and a token account holds a balance of …

6 real excerpts

Token-2022 (Token Extensions)

Token-2022 is a separate token program with the same core layout as the original Token Program, plus optional extensions configured when the mint is c…

6 real excerpts

Escrow patterns

An escrow holds assets in a program-controlled account, usually a token account whose authority is a PDA, until agreed conditions are met. The usual l…

6 real excerpts

Staking and reward accrual

Program-level staking usually means locking tokens or NFTs in a PDA-owned vault and tracking per-user state (amount, timestamps, reward debt) in a PDA…

6 real excerpts

NFTs with Metaplex

Most Solana NFTs follow Metaplex standards. Token Metadata attaches a metadata account to a supply-1 mint, and Metaplex Core is a newer single-account…

6 real excerpts

Compressed NFTs and state compression

Compressed NFTs store a hash of each asset in a concurrent Merkle tree account instead of in separate accounts, which makes minting millions of assets…

6 real excerpts

Oracles: Pyth and Switchboard

Programs can't fetch off-chain data, so oracles publish it into accounts the program reads. A Pyth consumer passes a price update account into the ins…

6 real excerpts

Solana Pay

Solana Pay is a URL standard for requesting payments. A transfer request encodes recipient, amount, SPL token and a unique reference public key, and a…

4 real excerpts

Blinks and Solana Actions

A Solana Action is an HTTP API. GET returns metadata (title, icon, buttons), and POST receives the user's account and returns a serialized transaction…

6 real excerpts

AI agents on Solana

Agent projects give an LLM a set of tools (functions) that read chain state or build and sign transactions, usually with a dedicated, limited-balance …

6 real excerpts

Anchor account constraints

In Anchor, the #[derive(Accounts)] struct is where most security lives. Constraints such as init, mut, has_one, seeds/bump, constraint = ... and close…

6 real excerpts

Learn by topic

Anchor DeFi Payments NFTs Tokens ZK and privacy Wallets Client SDKs Native Rust AI agents Gaming DAOs and governance · Glossary · FAQ

Most-starred projects in the stack

anchor

⚓ Solana Program Framework

📘 lesson · ★ 5,165 · Rust · Apache-2.0

Infrastructure & ToolingAnchorNext.jsweb3.js

solana-web3.js

Solana JavaScript SDK

📘 lesson · ★ 2,782 · TypeScript · MIT

Infrastructure & Tooling@solana/kitNext.jsweb3.js

wallet-adapter

Modular TypeScript wallet adapters and components for Solana applications.

📘 lesson · ★ 2,032 · TypeScript · Apache-2.0

Wallets & IdentityNext.jsweb3.js

agave

Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.

📘 lesson · ★ 1,984 · Rust · Apache-2.0

OtherNative Rust

pay

CLI for Agentic payments (x402, MPP, AP2).

📘 lesson · ★ 1,800 · Rust · MIT

AI & AgentsPayments@solana/kitNext.jsSolana Pay

solana-go

Go SDK library and RPC client for the Solana Blockchain

📘 lesson · ★ 1,589 · Go · Apache-2.0

Infrastructure & Toolingsolana-go

What to build

Idea pages built from the shape of the catalog: where strong projects are scarce, which stacks dominate each category, and a starter path through real modules.

See the gaps

How to build

Practical guides to setup, the Anchor workflow, testing, deploying from devnet to mainnet, and a security checklist, each linked to the official docs.

Read the guides

Also on Sol.College

Our original programme on solar-powered AI edge nodes is still here: overview, the energy-to-compute calculator, operator courses, resources, the pilot for teams and contact.