web3-viem

Official

Type-safe Ethereum in TypeScript with Viem.

Authorsablier-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a type-safe, low-boilerplate interface for interacting with Ethereum networks using Viem. It reduces boilerplate around transacting, reading state, and encoding/decoding contracts by exposing PublicClient, WalletClient, and related primitives in a cohesive, TS-first API.

Core Features & Use Cases

  • Type-safe clients: PublicClient, WalletClient, and Account types for read and write operations.
  • Contract interactions: read and write contracts with ABI-aware helpers.
  • Utility access: parseEther/formatEther and common ABI utilities.
  • Multi-chain support: mainnet, testnets, and custom chains.

Quick Start

Install Viem in your project: npm i viem Create a PublicClient with an HTTP transport and call a read operation like 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: web3-viem
Download link: https://github.com/sablier-labs/agent-skills/archive/main.zip#web3-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 223,000+ vetted skills library on demand.