Skip to content

BlockheaderWeb3-Community/cairo-bootcamp-6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cairo Bootcamp 6.0

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.

About 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

Bootcamp resources

Below is a list of the recorded live sessions for the bootcamp:

  1. Session 1: Introduction to Starknet Fundamentals
  2. Session 2: Setting up development environment
  3. Session 3: Introduction to Starknet Agentic
  4. Session 4: ERC-8004 and Agentic Identity on Starknet
  5. Session 5: Advanced Agent Design
  6. Session 6: Building a Functional AI Agent on Starknet

Set up instructions

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

Repository Structure

.
├── cairo_programs/ # Pure Cairo programs (stateless logic)
├── starknet_contracts/ # Smart contracts (stateful logic)
└── README.md

Build and Test Contracts in /cairo_program

To build and test the programs in /cairo_program, run the following commands

Move into the directory

cd cairo_program

Build programs

scarb build

Run tests

scarb run test

Build and Test Contracts in /starknet_contracts

To build and test the contracts in /starknet_contracts, run the following commands

Move into the directory

cd starknet_contracts

Build contracts

scarb build

Run contract tests

scarb run test

scarb run test runs snforge test under the hood. So you can optionally use snforge test to test the contracts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages