Welcome to Cairo Bootcamp 6 — a hands-on, developer-focused program designed to help you learn Cairo from first principles and build real-world applications. This repository contains learning materials, examples, and exercises used throughout the bootcamp.
This Cairo Bootcamp is designed to:
- Introduce developers to Cairo
- Teach provable computation fundamentals**
- Explore Starknet and smart contract development
- Encourage hands-on building and experimentation
Below is a list of the recorded live sessions for the bootcamp:
- Session 1: Introduction to Starknet Fundamentals
- Session 2: Setting up development environment
- Session 3: Introduction to Starknet Agentic
- Session 4: ERC-8004 and Agentic Identity on Starknet
- Session 5: Advanced Agent Design
- Session 6: Building a Functional AI Agent on Starknet
To set up this repository, you will need to install Starkup.
StarkUp installs and setup the following packages in your machine:
- Scarb - the Cairo package manager
- Starknet Foundry - the Cairo and Starknet testing framework
- Universal Sierra Compiler - compiler for any ever-existing Sierra version
- Cairo Profiler - profiler for Cairo programming language & Starknet
- Cairo Coverage - utility for coverage reports generation for code written in Cairo programming language
- CairoLS - vscode extension
Run the following command to install StarkUp:
curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.sh | sh.
├── cairo_programs/ # Pure Cairo programs (stateless logic)
├── starknet_contracts/ # Smart contracts (stateful logic)
└── README.mdTo build and test the programs in /cairo_program, run the following commands
Move into the directory
cd cairo_programBuild programs
scarb buildRun tests
scarb run testTo build and test the contracts in /starknet_contracts, run the following commands
Move into the directory
cd starknet_contractsBuild contracts
scarb buildRun contract tests
scarb run test
scarb run testrunssnforge testunder the hood. So you can optionally usesnforge testto test the contracts