Welcome to the Cairo Docs Hub!

This page serves as a starting point for exploring the ecosystem of guides, references, and learning materials around the Cairo programming language. All resources are open-source, so don't hesitate to fix a typo, improve an example, or even write an entirely new content while your're reading!

Learning Cairo

If you’d like to learn Cairo, this is the place to start.

The Cairo Book

The Cairo Book is the ultimate learning resource for the Cairo programming language. It's aimed for learners of all levels, providing a comprehensive guide to understanding and using Cairo effectively.

Starklings

Starklings is an interactive turotial for testing your understanding of Cairo fundamentals through practical exercises. It’s designed to cover key con cepts step by step, allowing you to gradually build confidence in your Cairo skills.

Using Cairo

Once you're comfortable with Cairo, these resources will help you put it to use.

The Cairo Core Library Docs

The Cairo Core Library Docs is the documentation for Cairo's Core library, the standard set of types, traits, and utilities built into the language. It provides essential building blocks basic used throughout the Cairo ecosystem, and is automatically available in every Cairo project.

The Scarb documentation

The Scarb documentation is the official documentation for Scarb, Cairo’s package manager and build tool. It covers how to create and manage packages, use dependencies, run builds, and configure projects. It’s the main reference for working with Scarb in Cairo development.

The Starknet Developers Hub

The Starknet Developers Hub is the official resource hub for learning about Starknet development. It provides comprehensive guides, tutorials, and references for building decentralized applications on Starknet, including how to write and deploy Cairo smart contracts, and best practices for working with the Starknet network.

Mastering Cairo

Once you’re confident with Cairo, you can try diving into its more complex sides.

The Cairo whitepaper

The Cairo whitepaper is the original paper introducing Cairo by StarkWare. It explains Cairo as a language for writing provable programs, details its architecture, and shows how it enables scalable, verifiable computation without relying on trusted setups. The paper is technical and foundational for understanding Cairo's design.