Install dependencies

  • Install Rust

  • Setup Rust:

rustup override set stable && rustup update

Ensure Rust was installed correctly by running the following from the root project directory:

cargo test

Clone the Cairo repo:

git clone

Development environment setup

To set up a development environment, please follow these steps:

1 . Download and install VSCode.

2 . Follow instructions in vscode-cairo.

The rustfmt configuration used by cairo requires a nightly version of Rust. You can install the nightly version by running.

rustup install nightly-2022-11-03