- The host architecture is
linux/amd64with Rust .0. - The guest target is
riscv32im-risc0-zkvm-elfwith Rust .
Reproducing a Build
To replicate a build done on the Axiom Proving API, follow the following steps. Before running them, make sure you havecargo-openvm
and Docker installed.
- Download the program source code (a
tar.gzfile) and the OpenVM config (aopenvm.tomlfile) from the Axiom Proving API console program page. - Prepare the following files locally:
compile.sh), that compiles a program and puts the output in the output directory:
compile.sh
Dockerfile.
Note that --platform=linux/amd64 on the first line is necessary to guarantee that the build is identical.
- And then run these commands:
- Finally, download the OpenVM exe from the Axiom Proving API console and confirm that it matches what you obtained locally.