{"library":"viem","type":"library","category":null,"description":"Viem is a comprehensive, TypeScript-first interface for interacting with the Ethereum blockchain, designed to simplify dApp development. Currently stable at version 2.48.1, it exhibits a rapid release cadence with frequent patch updates and minor feature additions, reflecting active development. It provides robust abstractions over the JSON-RPC API, first-class APIs for smart contract interaction, and native BigInt support for handling large numbers without external libraries like BigNumber.js. Key differentiators include its deep integration with TypeScript for type inference from ABIs and EIP-712 typed data, strong alignment with official Ethereum terminology, and out-of-the-box support for local development environments such as Anvil, Hardhat, and Ganache. Viem aims to be a lightweight and highly type-safe alternative to other Ethereum libraries, focusing on developer experience and correctness through its strong type system.","language":"javascript","status":"active","version":"2.48.1","tags":["javascript","eth","ethereum","dapps","wallet","web3","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install viem","imports":["import { createPublicClient, http } from 'viem';","import { mainnet } from 'viem/chains';","import { parseAbi } from 'viem';","import type { Address, Hash, Hex } from 'viem';"]},{"cmd":"yarn add viem","imports":[]},{"cmd":"pnpm add viem","imports":[]}],"homepage":"https://viem.sh","github":"https://github.com/wevm/viem","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/viem","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/viem/compatibility"}}