Skip to content

Glossary

viem

A modern TypeScript-first Ethereum client library — replaces ethers.js in many new projects with stricter typing, smaller bundle size, and a tree-shakable API.

viem (from the Wagmi team) is a TypeScript-first Ethereum client library released in 2022. The API is tree-shakable, strongly typed against ABIs, and noticeably smaller in bundle size than ethers.js v6.

viem has become the default client for many new EVM projects, particularly those built with Wagmi (React hooks) on the frontend. The library covers public RPC, wallet interaction, contract reads/writes, ABI encoding/decoding, EIP-712 signing, and account abstraction support.