Viem is a TypeScript interface for Ethereum that provides low-level stateless primitives for interacting with the blockchain. It focuses on developer experience, stability, bundle size, and performance.
| Clients | PublicClient, WalletClient, TestClient - entry points | | Transports | Connection layer (http, webSocket, custom) | | Actions | Operations like getBlockNumber, sendTransaction | | Chains | Chain configurations (mainnet, sepolia, arbitrum, etc.) |
This skill provides a reference for common operations. For comprehensive documentation, fetch the full viem docs using context7 MCP:
이 기술은 사용자가 "viem", "viem client", "viem actions", "TypeScript Ethereum", "createPublicClient", "createWalletClient", "parseEther", "formatEther", "readContract", "writeContract"에 대해 질문하거나 블록체인 상호 작용에 viem을 사용한다고 언급할 때 사용해야 합니다. 출처: sablier-labs/agent-skills.