wrenchDeveloper setup & guides

Installation

To work with Garaga, you need the following dependencies :

Python 3.10-3.14 is used for development but does not need to be installed manually — make setup will auto-install it via uvarrow-up-right if it's not already available.

Simply clone the repositoryarrow-up-right :

Using git:

git clone https://github.com/keep-starknet-strange/garaga.git

Using github cli arrow-up-right:

gh repo clone keep-starknet-strange/garaga

After that, go into the root of the directory and run the command :

make setup

This will automatically install uvarrow-up-right and Python 3.14 if needed, create a virtual environment, install all dependencies, and build the Rust extension. The setup is idempotent — running it again updates dependencies without recreating the venv.

Pay attention to any message indicating failure. Contact us on Garaga telegram if you have any trouble at this point.

If everything succeeded, you're good to go!

circle-info

Make sure to activate the virtual environment created with this setup, using source venv/bin/activate


Project Architecture

Understanding the Garaga codebase structure:

Key Components

Component
Location
Purpose

Python SDK

hydra/garaga/

CLI, circuit generation, proof processing

Rust Crate

tools/garaga_rs/

Performance-critical operations

Cairo Library

src/src/

On-chain verification

TypeScript SDK

tools/npm/garaga_ts/

Browser/Node.js integration


Common Commands

Development

Building

Profiling


Next Steps

Last updated

Was this helpful?