Starknet By Example overview

Starknet By Example provides practical examples for building smart contracts on Starknet using the Cairo programming language.

Who is this guide for?

Starknet By Example is designed for developers with basic programming and blockchain knowledge who want to learn Starknet smart contract development using Cairo.

The content is structured progressively, with early chapters cover Cairo and Starknet fundamentals, while later chapters explore advanced topics and complex smart contract patterns.

How to use this guide?

Each one of Starknet By Example’s chapters is self-contained and focuses on a specific Starknet feature or smart contract use case. While you can jump to any topic, we recommend following the chapters in order if you’re new to Starknet.

The examples in this guide are for educational purposes and have not been audited.