#proof #verifier #parser #swiftness #cairo-vm #zk #stark

swiftness_proof_parser

Json Proof Parser for Swiftness - Rust CairoVM Verifier implementation

9 releases (1 stable)

new 1.0.0 Jan 12, 2025
0.1.3 Dec 28, 2024
0.1.2 Sep 26, 2024
0.0.8 Aug 19, 2024
0.0.6 Jul 30, 2024

#864 in Magic Beans

Download history 155/week @ 2024-09-21 69/week @ 2024-09-28 7/week @ 2024-10-05 1/week @ 2024-10-12 11/week @ 2024-10-19 20/week @ 2024-10-26 1/week @ 2024-11-02 9/week @ 2024-11-16 5/week @ 2024-11-23 34/week @ 2024-12-07 25/week @ 2024-12-14 1/week @ 2024-12-21 113/week @ 2024-12-28 11/week @ 2025-01-04

156 downloads per month
Used in swiftness

Custom license

45KB
1K SLoC

Swiftness Proof Parser CairoVM Verifier

Overview

The Swiftness Proof Parser is a JSON proof parser designed for the Stone Prover. It processes the JSON output from the Stone Prover and converts it into the StarkProof struct.

Requirements

To use this parser, ensure that the Stone Prover is executed with the --generate_annotations flag enabled. For additional details, refer to the reference code.

Configuration

Example Configuration

An example configuration for the Stone Prover is available here.

Important Notes

  1. Verifier-Friendly Channel Updates Ensure that the Stone Prover is configured with the latest channel updates enabled by adding the following to your configuration:

    "verifier_friendly_channel_updates": true
    

    See example configuration.

  2. First FRI Step Requirement The first element of the FRI step list must be set to zero. See the reference.

Usage

After generating the proof JSON output with proper annotations, use this parser to produce a StarkProof struct.

Dependencies

~10MB
~179K SLoC