Setup & Build the ZKWASM binary

To build and run these projects requires the Rust compiler. Install rustup with:

curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh

Verify the installation with:

rustc --version

Clone the zkWasm repo and move into the directory:

git clone --recurse-submodules https://github.com/DelphinusLab/zkWasm.git

Build using cargo (CPU version):

cargo build --release

Build GPU version (The recommended way of running zkWASM prover):

cargo build --release --features perf

Also if you do not have a powerful gpu (eg. nvidia-4090), you can compromize the performance by

cargo build --release --features cuda

Last updated