Live WASM Playground & Debugger
Run real consensus EVM execution directly in your browser using guillotine_mini.wasm (a WASI Preview 1 WebAssembly reactor with Voltaire's linked crypto precompiles: SHA-256, BN254, BLS12-381, KZG, and Osaka's EIP-7951 P256VERIFY).
Pick a preset or paste custom hex bytecode and calldata, choose any hardfork from Frontier through Osaka, or switch to RPC Tx Replay to lazily fetch live contract state over JSON-RPC using the async evm_call_ffi / evm_continue_ffi protocol.
Loading WASI reactor…
Loops 10 iterations with JUMPI/SWAP/DUP/ADD to compute fib(10) = 0x37 (55) and returns it from memory. Scrub through the trace to watch the stack evolve each iteration.
What runs under the hood
- Zero-dependency browser WASI Preview 1 shim — instantiates
guillotine_mini.wasmclient-side, initializes the reactor via_initialize(), and manages 16-byte alignedevm_alloc/evm_freetransfer buffers. - Full consensus & observability — enables EIP-3155 opcode tracing (
evm_enable_tracing), GethcallTracer(evm_enable_call_tracer), EIP-2930 access list tracking (evm_enable_access_list_tracker), SVG/folded gas flamegraphs (evm_enable_flamegraph), and ABI revert decoding (evm_decode_revert_json). - Time-travel step scrubber — step forward, step back, play/pause, or scrub directly across captured EIP-3155 frames to inspect the 256-bit stack, 32-byte memory hex dump, gas deltas, call depth, storage, and return data.
- Lazy RPC state injection — in RPC Tx Replay mode,
evm_call_ffisuspends on cold code, storage, balance, or nonce reads and resumes viaevm_continue_ffiafter fetching only the touched slots over JSON-RPC.
Related pages
- Opcode & Gas Explorer — lightweight visual stepper for learning individual opcodes without loading WebAssembly.
- Tutorial 4: Running in WebAssembly — embed
guillotine_mini.wasmin Node 22+, browsers, or Cloudflare Workers. - C & WASM ABI Reference — complete reference for the exported
evm_*functions. - C FFI & Async State Injection — how
evm_call_ffi/evm_continue_ffidrive lazy RPC state fetching.