Generating calldata from a proof and using your deployed contract
Usage: garaga verify-onchain [OPTIONS]
Invoke a SNARK verifier on Starknet given a contract address, a proof and a verification key.
╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * --system [groth16] Proof system [default: None] [required] │
│ * --contract-address TEXT Starknet contract address [default: None] [required] │
│ * --vk FILE Path to the verification key JSON file [default: None] [required] │
│ * --proof FILE Path to the proof JSON file [default: None] [required] │
│ --public-inputs FILE Path to the public inputs JSON file [default: None] │
│ --endpoint TEXT Smart contract function name. If not provided, the default │
│ 'verify_[proof_system]_proof_[curve_name]' will be used. │
│ --env-file FILE Path to the environment file containing rpc, address, private_key │
│ [default: /home/felt/PycharmProjects/garaga-flow/my_project/target/.secrets] │
│ --network [sepolia|mainnet] Starknet network [default: sepolia] │
│ --help -h Show this message and exit. │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯Last updated
Was this helpful?