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 action」、「TypeScript Ethereum」、「createPublicClient」、「createWalletClient」、「parseEther」、「formatEther」、「readContract」、「writeContract」について質問する場合、またはブロックチェーン インタラクションに viem を使用することに言及する場合に使用する必要があります。 ソース: sablier-labs/agent-skills。