Mandatory Ressources :

Resource Link
Goerli Starknet Explorer https://goerli.voyager.online/

1. Creating an account contract & Organizing

⇒ Setup Argent Account

Untitled

Untitled

2. Dependencies installation

Req : Python 3.7

sudo apt install python-dev python3-dev virtualenv python3-virtualenv python3-venv

python3 -m venv ~/cairo_venv
source ~/cairo_venv/bin/activate
pip install --upgrade pip
sudo apt install -y libgmp3-dev gcc 
pip3 install cairo-lang
pip3 install cairo-nile
#pip3 install contextvars if using Python 3.6

3. Test your Environment

create test.cairo :

func main():
    [ap] = 1000; ap++
    [ap] = 2000; ap++
    [ap] = [ap - 2] + [ap - 1]; ap++
    ret
end

Compile contract and output :

cairo-compile test.cairo --output test_compiled.json
cairo-run \\
  --program=test_compiled.json --print_output \\
  --print_info --relocate_prints --tracer