Skip to main content
Voltaire is a general-purpose Ethereum library for TypeScript, Zig, C, Rust, Go, Python, and Swift. It gives you type-safe primitives, WASM and native-accelerated cryptography, and an API designed to mirror the Ethereum specification.
Need providers, signers, or contract registries out of the box? Use voltaire-effect — an Effect.ts integration with typed errors, composable layers, and event streams built on Voltaire primitives.

Simple, Spec-Aligned API

Every primitive validates at construction and carries a compile-time brand on top of a standard Uint8Array or bigint:

What’s Included

Primitives

Branded types for Address, Hash, Hex, ABI, RLP, Transaction, Bytecode, Blob, ENS, and SIWE.

Cryptography

Keccak-256, secp256k1, EIP-712, BLS12-381, BN254, KZG, P-256, Ed25519, HD wallets, and AEAD ciphers.

EVM & Precompiles

Frame execution, opcode handlers, bytecode analysis, and Ethereum precompiles.

JSON-RPC & Skills

Typed EIP-1193 request builders plus copyable Skills for providers, contracts, wallets, and protocols.

What’s Unique

  • Branded types — Runtime-validated TypeScript types with zero wrapper overhead. The compiler rejects swapping an Address for a Hash or mixing Wei with Gwei.
  • Swappable runtimes — Pure TypeScript, WebAssembly, and Bun Native FFI share one API. Switch backends by changing a single import path.
  • AI-native docs & MCP — Every primitive mirrors the Ethereum spec, paired with a hosted MCP server and /llms.txt.
  • Multiplatform core — One Zig implementation compiles to WASM and exports a stable C ABI consumed by TypeScript, Rust, Go, Python, and Swift.
  • Skills — Higher-level abstractions (providers, contract wrappers, React hooks) ship as copyable source you own and customize — shadcn/ui for Ethereum.

Next Steps

Quick Start

Install @tevm/voltaire and run your first script in 5 minutes.

Hands-On Tutorials

Build real Ethereum workflows step by step with visual diagrams.