What you can do as you go
| Where you are | What you can do |
|---|---|
| Start Here: Level 4 | You write real Cairo: felts, ownership, traits and exhaustive matching under the proving mental model. |
| Levels 5–9 | You build Starknet contracts: storage, events, dispatchers and component architecture done deliberately. |
| Levels 10–12 | You command accounts, transactions, testing with cheatcodes, and Starknet’s security discipline. |
| Levels 13–14 | You reason about Sierra, traces and step budgets: performance as proving economics. |
| Project ladder | Five desktop app projects from a provable library to off-chain-proved settlement: validity-rollup engineering, earned. |
The Cairo course, level by level
| Level | Lessons in it |
|---|---|
| Start Here: Programs That Can Prove Their Execution | Cairo and STARK Proofs; Cairo and Starknet |
| Level 1: Cairo Foundations | Values and Types; Functions; Control Flow |
| Level 2: Data Structures | Structs and Enums; Pattern Matching; Collections |
| Level 3: Ownership & Memory | Cairo Memory Model; References and Snapshots; Designing Safe Data Flow |
| Level 4: Traits & Generics | Traits; Generic Types; Reusable Cairo Abstractions |
| Level 5: Modules & Packages | Modules; Scarb; Package Organisation |
| Level 6: Starknet Contracts | Contract Structure; Storage; External Functions |
| Level 7: Events & Contract Interaction | Events; Dispatchers and Interfaces; Contract-to-Contract Communication |
| Level 8: Components | Reusable Contract Components; Composition; Contract Architecture |
| Level 9: Accounts & Transactions | Starknet Accounts; Transactions; Fees and Execution |
| Level 10: Testing | Cairo Tests; Starknet Contract Tests; Failure and Edge Cases |
| Level 11: Security | Access Control; Contract Threats; Secure Starknet Design |
| Level 12: Proof-Oriented Execution | Sierra and CASM Concepts; Provable Computation; Understanding Cairo's Unique Runtime |
| Level 13: Performance | Execution and Storage Cost; Efficient Contract Patterns; Production Optimisation |
| Level 14: Cairo Mastery | Advanced Starknet Architecture; Security and Proof Trade-Offs; Reading and Improving Complex Cairo |
Each level has its own page with every lesson and what it teaches.
Start Here: Programs That Can Prove Their Execution: what the free first level teaches
Cairo and STARK Proofs
- Provable programs. Cairo programs produce a trace a STARK proof can attest: one runner computes, everyone verifies cheaply.
- Why proofs. A proof replaces re-execution: thousands of transactions verified by checking one small artifact.
- Verifier asymmetry. Proving is heavy, verifying is cheap: the asymmetry that makes validity rollups scale.
Cairo and Starknet
- Starknet. Starknet is the validity rollup where Cairo contracts live: Ethereum security, Cairo execution.
- Cairo the language. Modern Cairo reads like Rust: traits, enums, pattern matching: compiled toward provable execution.
- Two skill layers. Cairo mastery is two layers: the language, and the proving model underneath its costs.
Projects you build
The course has 5 projects, built in the LoWisa desktop app, each in the role of someone who does this work.
| Role | Project | The situation |
|---|---|---|
| Cairo Developer | Provable Scoreboard Library | A pure Cairo library before any contract: a tournament scoreboard: rankings, tie-breaks, provable history: ownership, traits and exhaustive matching doing the work. |
| Starknet Developer | Guestbook Contract With Events | Your first Starknet contract done properly: signed guestbook entries, paginated reads, complete events: storage, entry points and dispatch learned on honest ground. |
| Cairo Engineer | Audit and Rescue a Token Sale Contract | You inherit a Starknet token-sale contract with seeded flaws: a missing caller assert, refund reentrancy through a callback, felt arithmetic where bounded math was owed, and silent event gaps. Audit, demonstrate, repair. |
| Senior Starknet Engineer | Staking Protocol With Components | A staking protocol assembled the Starknet way: audited components for ownership and upgrades, your logic for accrual: class-hash upgrade governance and a step budget measured per flow. |
| Cairo Specialist | Provable Off-Chain Game With On-Chain Settlement | The mastery build: a turn-based game whose moves compute off-chain in provable Cairo, settled on-chain by verifying results: the full validity-rollup mental model in one project. |
How you learn it
- One idea at a time. Each lesson teaches a few ideas and asks you about each before it moves on.
- A checkpoint and flashcards at the end of every level. See Checkpoints and flashcards.
- Games on what you have learned. See Revision games.
- On your phone. The app is on Google Play and the App Store. See Getting started.
Frequently asked questions
How many levels does the LoWisa Cairo course have?
15 levels with 44 lessons, from Start Here: Programs That Can Prove Their Execution to Level 14: Cairo Mastery.
Is the Cairo course free?
The first level, Start Here: Programs That Can Prove Their Execution, is free, with its checkpoint and flashcards. A plan opens the rest; see Plans and credits in the Help centre.
Where does the Cairo course start?
With Start Here: Programs That Can Prove Their Execution. Its first lesson is "Cairo and STARK Proofs".