viem

TypeScript interface for Ethereum — clients, contracts, accounts, chains, ENS, and utilities.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "viem" with this command: npx skills add hairyf/blockchain-master/hairyf-blockchain-master-viem

Skill based on viem, generated 2026-02-09. Docs: https://viem.sh

viem is a TypeScript client for Ethereum: Public/Wallet/Test clients, transports (HTTP, WebSocket, custom), type-safe contract reads/writes, local and JSON-RPC accounts, chains, ENS, and encoding/unit helpers.

Core References

TopicDescriptionReference
Clients & TransportsPublic/Wallet/Test clients, HTTP/WS/custom transports, multicall batchingcore-clients-transports
ContractgetContract, readContract, writeContract, simulateContractcore-contract
AccountsLocal (privateKey, mnemonic) and JSON-RPC accounts, extend with publicActionscore-accounts

Features

Chains & ENS

TopicDescriptionReference
ChainsBuilt-in chains (viem/chains), defineChain for customfeatures-chains
ENSgetEnsAddress, getEnsName, getEnsAvatar, normalizefeatures-ens

Utilities

TopicDescriptionReference
UtilitiesgetAddress, parseEther/formatEther, encoding, keccak256, ABI helpersfeatures-utilities
ABIparseAbi, encodeAbiParameters, decodeAbiParameters, getAbiItemfeatures-abi

Auth

TopicDescriptionReference
SIWEcreateSiweMessage, verifySiweMessage, parseSiweMessage, validateSiweMessagefeatures-siwe

Public data

TopicDescriptionReference
Public ActionsgetBalance, getLogs, getBlock, estimateGas, waitForTransactionReceipt, watchEventfeatures-public-actions

Best Practices

TopicDescriptionReference
Contract & ErrorsSimulate before write, typed error handling, RPC/securitybest-practices-contract-and-errors

External Links

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

openzeppelin-contracts

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

ton

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

envio

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

wagmi

No summary provided by upstream source.

Repository SourceNeeds Review
viem | V50.AI