No description
  • Rust 99.6%
  • Python 0.3%
Find a file
2025-03-08 09:44:39 +01:00
.cargo starknet_with_keccak 2024-07-15 20:14:30 +02:00
.github/workflows ci and version bump 2024-09-26 21:57:25 +02:00
cli Add monolith proof calldata generation 2025-03-08 09:44:39 +01:00
crates Remove public memory verification 2024-11-08 19:46:09 +01:00
examples Remove features 2024-10-03 13:56:58 +02:00
proof_parser ci and version bump 2024-09-26 21:57:25 +02:00
.dockerignore docker publish 2024-07-26 13:34:02 +02:00
.gitattributes git lfs add && proof generation script 2024-09-17 12:29:45 +02:00
.gitignore clippy 2024-09-17 18:53:47 +02:00
Cargo.lock Remove cairo-proof-parser 2024-10-09 14:47:11 +02:00
Cargo.toml Fix missing dependency 2024-10-09 13:54:37 +02:00
clippy.toml init 2024-07-06 17:20:50 +02:00
LICENSE Initial commit 2024-07-06 16:53:55 +02:00
README.md Add monolith proof calldata generation 2025-03-08 09:44:39 +01:00
runtime.dockerfile ci and version bump 2024-09-26 21:57:25 +02:00
rust-toolchain.toml features deps fixes and refactor 2024-07-22 13:12:34 +02:00
rustfmt.toml init 2024-07-06 17:20:50 +02:00

  1. Generate split calldata
cd cli

Make sure that there is no outputted files in calldata directory

rm -f calldata/final calldata/initial calldata/step* calldata/full
cargo run --release --bin swiftness -- --layout recursive --hasher keccak_160_lsb --stone-version stone5 --proof ../examples/proofs/recursive/cairo0_stone5_example_proof.json
  1. (optional) Configure verifier address

You can modify verifier address in cli/calldata/contract_address file.

  1. Modify starknet account in snfoundry.toml

  2. Send verification transactions

./verify.sh <job_id> <layout> <hasher> <stone_version> <memory_verification>

For example

./verify.sh 0 recursive keccak_160_lsb stone5 cairo0

job_id is a unique identified of the verification. You can randomize it or pass any arbitrary value as long as it's not used by any other user.