Track Curriculum
Rust Foundations
Learn the Rust syntax and ownership model you need before writing Solana programs.
12 lessons·Build enough Rust fluency to reason clearly about ownership, data modeling, control flow, and common program structure.
Lessons
All modulesLesson 01Rust FoundationsBuild enough Rust fluency to reason clearly about ownership, data modeling, control flow, and common program structure.Lesson 02Rust Setup and Core SyntaxInstall Rust, learn the Cargo workflow, and understand the basic syntax every later lesson depends on.Lesson 03Rust Syntax PracticePractice variables, functions, loops, and input handling with small focused exercises.Lesson 04Ownership and BorrowingUnderstand moves, immutable borrows, mutable borrows, and how Rust prevents invalid memory access.Lesson 05Ownership and Borrowing PracticePractice the rules around references, mutation, and move semantics without falling back to unnecessary cloning.Lesson 06Structs and MethodsModel related data with structs and attach behavior with methods and associated functions.Lesson 07Structs and Methods PracticePractice defining structs, choosing method receivers, and building small stateful models.Lesson 08Wallet Ledger BuildCombine syntax, ownership, and structs into one guided CLI build before moving into richer Rust control flow.Lesson 09Enums and Pattern Matching in RustRepresent mutually exclusive states safely and use match to write explicit branching logic.Lesson 10Enums and Pattern Matching PracticePractice enums and pattern matching through a small wallet manager exercise.Lesson 11Collections and String Handling in RustLearn when to use vectors, maps, and strings, and how to work with them without fighting ownership.Lesson 12Collections and String Handling PracticeUse vectors, hash maps, and strings in realistic exercises that prepare you for program account data.