Skip to content

ingonyama-zk/icicle-sui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Groth16 Installation and Usage Guide

CUDA Backend Installation

  1. Download the Release Binaries

  2. Install the Binaries

    • Extract the downloaded binaries to a directory
  3. Set the Installation Path

    • Set the ICICLE_BACKEND_INSTALL_DIR environment variable to the installation path:

Running Groth16

  1. Run on CUDA Device

    LD_LIBRARY_PATH=./lib ./groth16 --device CUDA
  2. Run on CPU

    LD_LIBRARY_PATH=./lib ./groth16 --device CPU

Executing Proofs

To execute a proof, specify the paths for the witness file, zkey file, and the output paths for the proof and public JSONs.

Example:

prove --witness ./witness.wtns --zkey ./circuit.zkey --proof ./proof.json --public ./public.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published