Skip to main content
@tevm/voltaire/evm provides low-level, composable EVM execution primitives in TypeScript (with companion Zig implementations): a mutable execution Frame, a pluggable Host state interface, 146 opcode handlers across 12 functional categories, and 19 precompiled contracts (0x01-0x13).

Execution Architecture

@tevm/voltaire/evm provides individual execution primitives rather than a full transaction executor. Host.call and Host.create are optional; without them, system call/create handlers return { type: "NotImplemented" }. For full EVM engines built on these primitives, see guillotine and guillotine-mini.

Module Exports

Import from @tevm/voltaire/evm (or subpath @tevm/voltaire/evm/Frame, @tevm/voltaire/evm/Host, @tevm/voltaire/precompiles):

Quick Start

Memory, Stack, and Storage Limits

Hardfork Milestones

Sections

  • Frame — Execution frame state, stack, memory, and gas accounting
  • Host — State access interface and createMemoryHost()
  • Types — BrandedFrame, BrandedHost, EvmError, CallParams, CreateParams
  • Instructions — All 146 opcode handlers across 12 categories
  • Precompiles — All 19 precompiled contracts (0x01-0x13)