Command Options

The toolkit itself is called ozki-toolkit.sh which is located at the top of the repository. Running ozki-toolkit.sh without any parameters will show its usage like below:

hikari@beautiful-dreamer:~/ozki/ozki-toolkit$ ./ozki-toolkit.sh 

OZKi toolkit
Usage: ozki-toolkit.sh <commands> [option]

Commands:
  build <circom_file> # to build a circom file into zkp components
  list                # to list already built zkp components
  clear               # to clear all zkp components

To list the zkp components the have been built into the toolkit, you can use the list command as shown below:

hikari@beautiful-dreamer:~/ozki/ozki-toolkit$ ./ozki-toolkit.sh list
## Proving key and wasm files:
./proof-generator/static/
├── ProveGoogleAuthMain.wasm
├── ProveGoogleAuthMain.zkey
├── ProvePayPalSubscriptionMain.wasm
└── ProvePayPalSubscriptionMain.zkey

## Verification files:
./proof-verifier/static/
├── ProveGoogleAuthMain.json
└── ProvePayPalSubscriptionMain.json

The example shows there are two sets of zkp components, each one is associated with the ProveGoogleAuthMain and the ProvePayPalPaySubscriptionMain proof function respectively.

Note that a proof function has three zkp component files: the wasm file, the proving key (.zkey), and the verification key (.json).

Last updated