Rand Terminal
How the zkVM works

Rand Terminal · RV32IM · Rand zkVM

Follow a contract down to zkVM cycles.

Paste Solidity or a Solana program in Rust, watch it become an RV32IM image through evm2rv or sbpf2rv, and step through its run on the Rand zkVM.

How the zkVM works
Source
Contract.sol
Solidity
Target
RV32IM
Rand zkVM
Chain id
22
EVM
Pipeline
5 stages
idle

Specification

  1. 01 — Write

    Source

    Solidity for any EVM fork through Osaka, or a Solana program in Rust. Start from a sample or the editor.

  2. 02 — Compile

    Bytecode to RV32IM

    solc or cargo build-sbf in a sandbox, then evm2rv or sbpf2rv translate the bytecode to C and the committed RV32IM image.

  3. 03 — Prove

    Trace and proof tier

    Run the image on the Rand zkVM, step through every cycle, and read the STARK table heights against each proof tier.

Samples

Load one into the editor, then press Compile & Run.

    The pipeline

    Source to bytecode, bytecode to C, C to the committed image, the image to a trace.

    Compile & Run with ⌘ or Ctrl + Enter