Type
Protocols
viem is a TypeScript interface for Ethereum and EVM-based networks. It gives developers typed primitives for RPC calls, contract reads and writes, wallet actions, transaction formatting, ABI encoding, and EIP-712 typed data.
Use it for:
- Building DApp frontends and backend services.
- Reading blockchain state through an RPC provider.
- Writing contract interactions with strong TypeScript inference.
- Creating bots, scripts, indexers, and developer libraries.
Best fit:
Teams that want direct Ethereum RPC and smart contract control without a heavy application framework.
Running your own Polygon node: infrastructure for prediction markets
What’s behind Robinhood Chain’s growth: TVL, revenue and RPC
Running your own Base node: stablecoins and AI agents