STARK-EVM adapter
stark-evm-adapter is a library that provides a set of utilities to parse and manipulate the output of the STARK stone proof. Specifically, the library can be used to generate a "split proof", which is necessary for proofs to be verified on Ethereum.
[]
= "0.1.0"
Example
use AnnotatedProof;
// read an annotated proof
let file = open.unwrap;
let reader = new;
let annotated_proof: AnnotatedProof = from_reader.unwrap;
// split the proof
let split_proofs = split_fri_merkle_statements.unwrap;
println!;
CLI demo
Installation
Usage
To generate an annotated proof based on the outputs of the stone-prover:
The annotated proof originates from 3 file outputs of the stone-prover.
stone_proof.json comes from the cpu_air_prover command, while the annotation files come from the cpu_air_verifier command with arguments annotation_file and extra_output_file.
Once the annotated_proof.json is generated, this command will transform it to split proofs which then can be used to submit to L1 EVM verifiers: