Rust theorytheory 0/50 · 0%
Blockchain · hard

43. Solana Programs in Rust

Accounts, PDAs and compute budget.

Solana programs are stateless: all data arrives as accounts the runtime passes in. Program-derived addresses give deterministic, program-owned storage. Programs are compiled to SBF, run under a compute budget, and must validate every account they are handed.

Check your understanding

  1. 1. Where does Solana program state live?

  2. 2. A PDA is…