6 stable releases

new 1.2.2 Mar 31, 2026
1.2.1 Mar 30, 2026
1.1.0 Feb 22, 2026
1.0.0 Jan 27, 2026

#667 in Magic Beans

Download history 4/week @ 2026-01-21 52/week @ 2026-02-11 157/week @ 2026-02-18 110/week @ 2026-02-25 241/week @ 2026-03-04 44/week @ 2026-03-11 45/week @ 2026-03-25

359 downloads per month
Used in stwo-run-and-prove

Apache-2.0

7.5MB
132K SLoC

⚡ S-two Cairo ⚡

Prove Cairo programs with the blazing-fast S-Two prover, powered by the cryptographic breakthrough of Circle STARKs.

Prerequisites

  • Rust
  • Scarb
    • The recommended installation method is using asdf

    • Make sure to use version 2.10.0 and onwards, and preferably the latest nightly version.

      To use the latest nightly version, run:

      asdf set -u scarb latest:nightly
      

Installation

This repository now focuses on the prover and verifier crates under stwo_cairo_prover/ and stwo_cairo_verifier/. The former cairo-prove CLI has been removed. The equivalent utility is now provided in proving-utils: https://github.com/starkware-libs/proving-utils

scarb prove

As of Scarb version 2.10.0, scarb prove can be used instead of manually building and running stwo-cairo.

However, scarb prove is still a work in progress, and using stwo-cairo directly is preferable for now.

Dependencies

~33MB
~572K SLoC