Skip to main content
Voltaire ships three JavaScript/TypeScript execution backends behind one identical API. Switch backends by changing a single import path — no application code changes required.

Entrypoint Matrix

Per-Module Backend Selection

Mix backends per module so cheap operations stay in pure JS while heavy cryptography runs in WASM or Native FFI:

Runtime Caveats

Native FFI (@tevm/voltaire/native) uses bun:ffi and requires the compiled native shared library (zig build build-ts-native when building from source). On Node.js and browsers, use @tevm/voltaire or @tevm/voltaire/wasm.

WASM Build Modes

Published packages ship ReleaseSmall WASM binaries to balance bundle size and speed. If you run CPU-bound server workloads from source and want maximum raw throughput (loop unrolling + SIMD), build with ReleaseFast. See WASM Build System and Performance.