6 stable releases

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

#14 in #prove

Download history 4/week @ 2026-01-27 482/week @ 2026-02-17 1722/week @ 2026-02-24 1436/week @ 2026-03-03 1107/week @ 2026-03-10 104/week @ 2026-03-17 57/week @ 2026-03-24 229/week @ 2026-03-31

1,731 downloads per month
Used in 2 crates

Apache-2.0

2.5MB
49K 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

~27MB
~436K SLoC