A tool to work with zkSNARK circuits generated by circom compiler. Based on circom import code by @kobigurk
The generated keys are currently incompatible with upstream Websnark and require using a custom fork
Install Rust
shell script
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Install zkutil globally
```shell script cargo install zkutil
~/.cargo/bin
is in $PATH (should be added automatically during Rust installation)```
Or alternatively you can compile and run it instead:
shell script
git clone https://github.com/poma/zkutil
cd zkutil
cargo run --release -- prove --help
```shell script
zkutil --help zkutil prove --help
zkutil prove
zkutil verify
zkutil generate-verifier ```
Also see test.sh
for example