Philosophy
Voltaire is intentionally low-level. We provide:- Primitives (Address, Hash, Uint, etc.)
- Cryptography (Keccak256, secp256k1, etc.)
- Encoding (RLP, ABI, etc.)
- Provider abstractions (like ethers
JsonRpcProvider) - Contract wrappers (like viem
getContract) - React bindings (like wagmi)
Tevm 1.0.0
Coming soon: Tevm 1.0.0 wraps Voltaire in an opinionated, batteries-included API. Inspired by James Prestwich’s Client Monogamy philosophy—build clients tailored to your specific contracts rather than generic one-size-fits-all abstractions.Why Skills Instead of Libraries?
Traditional libraries must balance abstraction level vs customizability. For any individual use case, a library will:- Lack customizability — Rigid APIs that don’t fit your exact needs
- Bloat your codebase — Unused features increase bundle size
- Expand security surface — More code means more potential vulnerabilities
Provider or viem PublicClient as off-the-rack clothing. They work for most people, but they’re never a perfect fit.
Skills are custom-fitted clothing. Copy the pattern, tailor it to your contracts.
The shadcn Approach
Skills follow the shadcn/ui philosophy:| Traditional Library | Skills |
|---|---|
| Install as dependency | Copy into your codebase |
| Update via npm | Modify directly |
| One-size-fits-all | Tailored to your needs |
| Hidden implementation | Visible, debuggable code |
Stock vs Custom
Every Skill is:- Tested — Full test coverage, ready to use
- Documented — Clear API and usage examples
- Copyable — One click to add to your project
- Add caching to a provider
- Change error handling in a contract wrapper
- Add custom retry logic
How to Use Skills
Option 1: Copy Button
Each Skill page has a copy button. Paste into your project and customize as needed.Option 2: Voltaire MCP Server
Use the Voltaire MCP Server with your AI coding assistant to:- Generate custom Skills tailored to your contracts
- Modify existing Skills for your use case
- Build new patterns from Voltaire primitives
API vs Skill
| Type | What It Is | Examples |
|---|---|---|
| API | Core library exports | Address, Hex.toBytes(), Abi.encode() |
| Skill | Copyable implementation | ethers-provider, viem-contract, react-query |
@tevm/voltaire. Skills are copied into your codebase.
Available Skill Guides
Our skill guides walk you through building common Ethereum patterns using Voltaire’s low-level primitives. Each guide provides a full, copyable reference implementation that you can use as-is or customize.Provider & Signer Skills
Learn how to build abstractions compatible with popular libraries like ethers and viem. These guides cover creatingJsonRpcProvider, PublicClient, WalletClient, and Signer wrappers around Voltaire’s JSON-RPC interface. You can also learn patterns for request batching and fallback providers.
Contract Skills
Discover how to build powerful, type-safe contract interaction wrappers. Guides cover creating ethers- and viem-compatibleContract objects, enabling familiar APIs for your project without adding external dependencies.
Wallet & Account Skills
Build your own wallet and account management logic, from HD wallet derivation to transaction nonce management, compatible with both ethers and viem patterns.Utility & Pattern Skills
Explore guides for implementing common patterns likemulticall for batching contract reads, or how to integrate Voltaire with libraries like TanStack Query for building custom React hooks.
Learn More
MCP Server
AI-assisted Skill generation
Browse Skills
All available Skills

