File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Cairo Bootcamp 5.0
22This repository contains all the codes for Cairo Bootcamp 5.0
3+
4+ ## Set up instructions
5+ To set up this repository, you will need to install [ Starkup] ( https://github.com/software-mansion/starkup ) .
6+
7+ StarkUp installs and setup the following packages in your machine:
8+ - Scarb - the Cairo package manager
9+ - Starknet Foundry - the Cairo and Starknet testing framework
10+ - Universal Sierra Compiler - compiler for any ever-existing Sierra version
11+ - Cairo Profiler - profiler for Cairo programming language & Starknet
12+ - Cairo Coverage - utility for coverage reports generation for code written in Cairo programming language
13+ - CairoLS - vscode extension
14+
15+
16+ Run the following command to install StarkUp:
17+ ``` bash
18+ curl --proto ' =https' --tlsv1.2 -sSf https://sh.starkup.sh | sh
19+ ```
20+
21+ ## Build and Test Contracts
22+ To build and test the contracts, run the following commands
23+
24+ ** Build contracts**
25+ ``` bash
26+ scarb build
27+ ```
28+
29+ ** Run contract tests**
30+ ``` bash
31+ scarb run test
32+ ```
33+
34+ > ` scarb run test ` runs ` snforge test ` under the hood. So you can optionally use ` snforge test ` to test the contracts
You can’t perform that action at this time.
0 commit comments