viem

Official

Type-safe Ethereum APIs with Viem.

Authorsablier-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Viem provides a type-safe, ergonomic interface for interacting with Ethereum in TypeScript, eliminating brittle, loosely-typed code paths.

Core Features & Use Cases

  • PublicClient and WalletClient for read and write operations across chains.
  • Transport abstractions, type-safe contract interactions (read/write), and utilities (addresses, ABI).
  • Use cases include building dApps, scripts, or developer tooling that query blockchain state, send transactions, and parse/format ether.

Quick Start

Install Viem in your TypeScript project and initialize a client to perform common tasks, e.g., create a PublicClient with http transport and call readContract or getBlockNumber.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: viem
Download link: https://github.com/sablier-labs/plugin-marketplace/archive/main.zip#viem

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.