Skip to content

zksecurity/integrity-calldata-generator

 
 

Repository files navigation

  1. Generate split calldata
cd cli
cargo run --release --bin swiftness --features recursive,keccak --no-default-features -- --proof ../examples/proofs/recursive/cairo0_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> <security_bits> <version>

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.

All possible configurations of layout, hasher, security_bits and version can be found in VerifierRegistered events

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.9%
  • Other 0.1%