Introducing S-two 2.0.0 for Developers
Published on: January 27, 2026

Introducing S-two 2.0.0 for Developers

StarkWare’s Next-Generation Prover Suite is Now Fully Open Source and Available for Developers

Learning Cairo? Building production applications? Creating custom proving infrastructure? Thinking of building an appchain? S-two 2.0.0 is ready to be integrated and operated by you. We are excited to announce the release of S-two 2.0.0, a new version of S-two that is fully open source and ready to integrate into all developers’ projects, all through crates.io.

We recently announced that StarkWare’s fully open-source next-generation prover, S-two, is live on Starknet mainnet, securing every Starknet block with Circle STARKs technology. Today, between Starknet and StarEx, S-two is powering 20% of the entire Perp market: Extended (on public Starknet), Paradex (Starknet appchain), and edgeX (on StarkEx), all with unprecedented speed and performance.

Why S-two 2.0.0?

With S-two 2.0.0, we’ve turned the prover that secures Starknet into a developer-friendly, open-source toolkit. S-two is now semantically versioned, published on crates.io, and usable at multiple levels of abstraction, from one-command proving with Scarb, through programmatic Cairo proving APIs, to a flexible core library for custom AIRs. The result is faster onboarding, clearer integration paths, and the ability to use the same high-performance Circle STARK prover, whether you’re building something in AI, gaming, privacy, DeFi, or custom proving infrastructure.

We will describe these solutions in more detail below.

Three Ways to Use S-two

1. Experiment with proving Cairo execution with Scarb

If you’re just getting started with Cairo or want to write a small program, scarb prove is the easiest way to generate a Cairo proof for your program’s execution. Install the latest Scarb, write your Cairo program, and generate proofs with a single command:

scarb prove –execute –arguments-file <path-to-cairo-serde-json-file>

Use this when you:

  • Are new to Cairo or zero-knowledge proofs
  • Want to test small programs quickly
  • Are learning how proving works without infrastructure overhead
  • Are looking for a benchmark of the exact timing for your Cairo programs

2. Build interfaces for proving Cairo programs with S-two Cairo Library

For production applications, future zkThreads, or custom proving pipelines, use the stwo-cairo repository or add a dependency on the crate to your Rust project. This gives you programmatic control over the proving workflow while leveraging Cairo’s optimized constraint system, which proves VM execution correctness, rather than individual arithmetic statements.

For bootloaders, multi-program proving, or advanced Cairo VM integration, check out the proving-utils repository. Currently, it provides a high-level proving interface with built-in Cairo runner as well as custom hints for bootloaders used in SHARP and Atlantic. This is ideal for parallel proving, proof aggregation, or integrating proofs into larger systems.

Use this when you:

  • Are building zkThreads or parallel proving architectures
  • Need fine-grained control over the proving pipeline
  • Are building a recursive proving pipeline
  • Are building an L3
  • Are proving a very large program
  • Are integrating Cairo proofs into production applications

3. Build a custom prover with S-two Core Library

If you’re building custom AIRs, experimenting with new proof systems, or working with non-Cairo computations, use the core S-two library. Get the same blazing-fast Circle STARK performance, but with complete flexibility to define your own constraints. Explore the documentation here.

Use this when you:

  • Are creating your own constraints and then proving them using S-two
  • Want the fastest general-purpose prover available
  • Are creating tools, research projects, or new proving applications

Start Building Today

S-two 2.0.0 makes high-performance proving of Cairo programs accessible to developers: it is open source, versioned, and easy to integrate, whether you’re developing in Cairo or building custom proving systems.

The code is open. The libraries are published. The documentation is ready. Pick your path and start proving with S-two 2.0.0.

Explore the community-curated Awesome S-two list for more resources and projects building on S-two.

Resources:

We Want Your Feedback

S-two is built in collaboration with the community. Found a bug? Have a feature request? Want to suggest improvements?

Share your thoughts through our feedback form. Your input directly shapes the roadmap and helps us prioritize what matters most to developers.

ON THIS PAGE

Contact us