zkVM guest builds for zesu — the Ethereum stateless block executor. Each subdirectory is a self-contained build for one zkVM target.
| Directory | zkVM | Status |
|---|---|---|
zisk/ |
Zisk 1.4.0-alpha | Working |
sp1/ |
SP1 6.9.0 | Working (execution; see its README) |
openvm/ |
openvm | Working (emulation only, no proofs) |
linea/ |
Linea zkVM | Working |
pico/ |
Pico 3.1.5 (v3.1.5) |
Execution works; see its README |
The zkVM-independent crypto (pure-Zig primitives, curve code generic over a field backend, and
their unit tests) lives in shared/ and is used by the targets above.
zisk/, sp1/ and pico/ build zesu themselves, for their own ISA target, from the commit
pinned in their build.zig.zon (zesu's addGuestObject); ZESU_SOURCE=../../zesu make
builds a local checkout instead. See their READMEs.
openvm/ and linea/ link a zesu core object, supplied one of two ways, depending on
whether you want to build against a published release or a local development checkout.
Download zesu.rv64im.o from the zesu releases page
and pass it via -Dzesu_obj. This avoids cloning the zesu repository entirely.
# Download the latest release
curl -fsSL https://github.com/Consensys/zesu/releases/latest/download/zesu.rv64im.o \
-o /tmp/zesu.rv64im.o
# Or pin a specific tag
curl -fsSL https://github.com/Consensys/zesu/releases/download/bal-devnet-3/zesu.rv64im.o \
-o /tmp/zesu.rv64im.o
# Build any target
zig build -Doptimize=ReleaseFast -Dzesu_obj=/tmp/zesu.rv64im.o # from openvm/ or linea/When working on zesu and zesu-zkvm together, omit -Dzesu_obj and the build
will automatically invoke zig build rv64im-object in the sibling zesu checkout
and link against the resulting zig-out/lib/zesu.o. This requires zesu to be
checked out as a sibling:
<parent>/
zesu-zkvm/ <- this repo
zesu/ <- EVM + stateless executor (built in-place as rv64im object)
zisk/ <- Zisk source checkout (needed to build libziskos.a for zisk target)
# From openvm/ or linea/ — no -Dzesu_obj needed
zig build -Doptimize=ReleaseFastZig's build caching means subsequent builds only recompile zesu when its sources change.
zesu-zkvm/
zisk/ — Zisk zkVM guest (Zig + libziskos.a)
sp1/ — SP1 zkVM guest (Zig + SP1's libzkevm.a)
pico/ — Pico zkVM guest
openvm/ — OpenVM guest (Zig ELF)
linea/ — Linea zkVM guest (Zig ELF, stripped)
Each target directory contains its own build.zig, linker script, and README.md.
The Release workflow builds one guest ELF per target and publishes them, minisign-signed,
as a draft GitHub Release, named stateless-validator-zesu-<zkvm>-<version>.elf.
ZisK, SP1 and OpenVM releases also carry a .vk next to the ELF: the program verifying key,
generated by ere-server-<zkvm> keygen from eth-act/ere so
that ere can verify proofs of that exact ELF. Linea has no verification-key concept and gets
no .vk. Pico is not part of the release yet.
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.