Prerequisites
- Runtime: Node.js 18+, Bun 1.1+, Deno, or any modern browser
- TypeScript: 5.0+ recommended (
strict: true)
Installation
- npm
- bun
- pnpm
- yarn
Your First Script
Createhello.ts and run it with bun hello.ts or npx tsx hello.ts:
Choosing an Import Path
Voltaire exposes four entry styles. Start with the root or per-module subpath, and switch to WASM or Native FFI when profiling shows crypto or encoding is hot.
Verified module subpaths include
@tevm/voltaire/Address, /Abi, /Hex, /Hash, /Bytes, /Rlp, /Transaction, /Uint, /Denomination, /Bytecode, /Opcode, /Siwe, /Ens, /Keccak256, /Secp256k1, /SHA256, /EIP712, /Bls12381, /BN254, /KZG, /evm, /precompiles, /jsonrpc, /provider, /contract, and /utils.
Where to Go Next
Tutorials
Five hands-on walkthroughs: addresses, ABI calldata, EIP-712 permits, EIP-1559 transactions, and custom Skills.
Core Concepts
Understand branded types, data-first design, WASM/FFI runtimes, and error handling.
API Reference
Concise specifications and method tables for every primitive, curve, hash, and EVM instruction.
Playground
Run Voltaire code directly in your browser with zero setup.

