This repository contains all the codes for Cairo Bootcamp 5.0
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 | shTo build and test the contracts, run the following commands
Build contracts
scarb buildRun contract tests
scarb run test
scarb run testrunssnforge testunder the hood. So you can optionally usesnforge testto test the contracts