Cairo Tutorial

Mastering Cairo

A concise, developer-friendly tutorial series that helps Solidity and other experienced programmers quickly learn Cairo and build smart contracts on Starknet, no prior ZK knowledge required.

Skip to Contents

This tutorial series helps developers familiar with Solidity to get up to speed quickly on Cairo programming and creating smart contracts in Cairo. Mature programmers without prior blockchain experience should also be able to follow along.

For best results, we recommend completing the suggested exercises in the chapters, though this is optional.

This work was financially supported by the Starknet Foundation, whom we are proud to collaborate with.

Starknet innovated the now ubiquitous ZK-STARK which is used by virtually every ZKVM and ZK rollup. However, no prior ZK experience is needed to use Cairo as it abstracts away the underlying cryptography very effectively.

Prerequisites

You need to have the following background knowledge to understand Cairo.

TBA

TBA
Read More