Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Mar 19, 2024
1 parent 4ed459f commit c60ec1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For local proof verification, follow these steps:
1. Run the verifier locally on example proof using the following command:

```bash
cargo run --release --bin runner -- target/dev/cairo_verifier.sierra.json < examples/proofs/example_proof.json
cargo run --release --bin runner -- target/dev/cairo_verifier.sierra.json < examples/proofs/recursive/example_proof.json
```

### Starknet Proof Verification
Expand All @@ -37,7 +37,7 @@ To verify proofs on Starknet, proceed with the following steps:
1. Prepare calldata of example proof for sncast:

```bash
cargo run --release --bin snfoundry_proof_serializer < examples/proofs/example_proof.json > examples/starknet/calldata
cargo run --release --bin snfoundry_proof_serializer < examples/proofs/recursive/example_proof.json > examples/starknet/calldata
```

2. Call the function with calldata on the Starknet contract:
Expand Down Expand Up @@ -94,15 +94,15 @@ cairo-run \

```bash
./cpu_air_prover \
--out_file=../proofs/fibonacci_proof.json \
--out_file=../proofs/recursive/fibonacci_proof.json \
--private_input_file=fibonacci_private_input.json \
--public_input_file=fibonacci_public_input.json \
--prover_config_file=cpu_air_prover_config.json \
--parameter_file=cpu_air_params.json \
--generate_annotations
```

You can `verify` this the proof `locally` or on the `Starknet Cairo verifier` contract by specifying the path `examples/proofs/fibonacci_proof.json` to the newly generated proof.
You can `verify` this the proof `locally` or on the `Starknet Cairo verifier` contract by specifying the path `examples/proofs/recursive/fibonacci_proof.json` to the newly generated proof.

## Benchmarking

Expand Down

0 comments on commit c60ec1c

Please sign in to comment.