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

#539 in Magic Beans

Download history 5/week @ 2026-01-21 4/week @ 2026-02-04 54/week @ 2026-02-11 164/week @ 2026-02-18 118/week @ 2026-02-25 248/week @ 2026-03-04 52/week @ 2026-03-11 63/week @ 2026-03-25

392 downloads per month
Used in 3 crates

Apache-2.0

220KB
5.5K 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

~32MB
~548K SLoC