Viem
Viem is the low-level TypeScript library we use to talk to Ethereum — fast, fully typed, and predictable where it matters.

Viem is a TypeScript library for interacting with Ethereum: building transactions, reading contract state, decoding logs, and managing accounts. It is the engine beneath Wagmi and our backend chain services.
On-chain code is unforgiving, so we want a library with precise types and clear errors. Viem’s typing catches contract mismatches at compile time and keeps both our frontend and backend chain work consistent.
In the product,
not the slide.
Typed contract calls
ABI-typed reads and writes that fail at compile time, not on-chain.
Backend chain services
Indexers and signers that watch events and submit transactions reliably.
Transaction building
Gas estimation and simulation so transactions behave as expected before sending.