Use this file to discover all available pages before exploring further.
Voltaire is a modern general-purpose Ethereum library for TypeScript, Zig, C, and Swift. Type-safe primitives, WASM-accelerated performance, and designed for AI-assisted development.
Need providers, signers, or contract interactions? Check out voltaire-effect — an Effect.ts integration with typed errors, composable operations, and production-ready contract interactions built on top of Voltaire primitives.
Branded Types - Runtime-validated TypeScript types. Prevents passing hex strings where addresses are expected, address casing errors, and type confusion.
High-Performance - Optimized implementations balancing performance and bundle size. For example, Keccak256 is both faster and smaller than pure JavaScript alternatives.
LLM-Optimized - API mirrors the Ethereum specification. Lots of time has been put into polishing the MCP server and llms.txt along with the docs themselves.
Multiplatform - Works everywhere: TypeScript in Node.js, browsers, serverless, and any language with C-FFI support. Consistent API across TypeScript, Zig, and C-FFI environments.
Native FFI is currently supported on Bun. In Node.js, use the regular TypeScript API or WASM.
Skills - Higher-level abstractions as copyable implementations, not rigid library exports. Like shadcn/ui for Ethereum—copy a provider, contract wrapper, or React integration into your codebase and customize it for your needs.