1: Motoko fundamentals
Beginner
Motoko
Overview
Motoko is extensively documented in the references section of ICP developer documentation. For this reason, this fundamentals page will redirect you to many of those documentation pages for in-depth explanations and examples of Motoko's concepts, design, and components.
Motoko developer guide
- Motoko version.
- Basic concepts and terms.
- Using Motoko base modules.
- Language quick reference.
- Concise overview of Motoko.
- Motoko style guidelines.
- Motoko grammar.
- Mutable state.
- Actors and async data.
- Actor classes.
- Compiler reference.
- Errors and options.
- Heartbeats.
- Imperative control flow.
- Local objects and classes.
- Managing cycles.
- Message inspection.
- Modules and imports.
- Pattern matching.
- Principals and caller identification.
- Sharing data and behavior.
- Stable memory.
- Stable variables and upgrade methods.
- Structural equality.
- Timers.
- Verifying upgrade compatibility.
Motoko base library reference
Next steps
Next, let's review the code organization of a Motoko project.