-
Setup as the main README
-
Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh rustup install nightly
-
Install the Risc0 toolchain:
curl -L https://risczero.com/install | bash source ~/.bashrc rzup install cargo risczero --version
-
Install Docker.
Note: Run one round of a small program (e.g., Fibonacci) to download the R0 docker image before benchmarking to avoid affecting benchmark times.
Note: On Ubuntu 22.04, you might need to install libssl1.0 for the Risc0 toolchain. Follow these instructions.
To start the benchmark, make sure you are in the zkvm-bench/risc0
directory and then run:
./run.sh