Overview of viem features
mainviem is a lightweight, high-performance TypeScript interface for Ethereum. Key features include:
- JSON-RPC Abstractions: Simplifies interacting with the Ethereum JSON-RPC API.
- Smart Contract Support: First-class APIs for contract interactions.
- Type Safety: Full TypeScript support with the ability to infer types directly from ABIs and EIP-712 Typed Data.
- Native BigInt: Uses browser-native
BigIntinstead of heavyBigNumberlibraries. - Wallet Integration: Supports Browser Extensions, WalletConnect, and Private Key Wallets.
- ABI Utilities: Tools for encoding, decoding, and inspecting ABIs.
- Developer Tooling Support: Native support for Anvil, Hardhat, and Ganache.
- Testing: Test suites designed to run against forked Ethereum networks.