Stage 2 — Real programs (4–6 weeks)
Goal: Token-2022, CPI, security, full program patterns · parallel with Stage 3
| # | Resource | Why this one |
|---|---|---|
| 7 | anchor-lang.com/docs— anchor-lang.com | The parts of Anchor you use daily — accounts, constraints, errors. |
| 8 | solana-program.com/docs— solana-program.com | SPL Token + Token-2022 extensions (transfer hook, confidential transfer, permanent delegate). |
| 9 | LiteSVM + Mollusk— github.com | Rust unit tests in milliseconds, no validator. LiteSVM for program-level, Mollusk for instruction-level + CU. |
| 10 | Anchor security exploits + Neodyme pitfalls— anchor-lang.com | Missing owner/signer/discriminator/bump checks drain programs. Read both before mainnet. |
Goal: Token-2022, CPI, security. Runs parallel with Stage 3 Rust backend. Stage 3 is parallelWith Stage 2 — you work on indexing/backend while solidifying program patterns.
What you build
SPL Token and Token-2022 extensions (transfer hook, confidential transfer, permanent delegate), advanced PDA + CPI, security audits. Test in Rust with LiteSVM and Mollusk — faster and gives CU measurement, unlike TS tests.
cargo add litesvm
# in tests:
use litesvm::LiteSVM;
let mut svm = LiteSVM::new();