什么是 web3-viem?
当用户询问“viem”、“viem client”、“viem actions”、“TypeScript Ethereum”、“createPublicClient”、“createWalletClient”、“parseEther”、“formatEther”、“readContract”、“writeContract”或提到使用 viem 进行区块链交互时,应使用此技能。 来源:sablier-labs/agent-skills。
当用户询问“viem”、“viem client”、“viem actions”、“TypeScript Ethereum”、“createPublicClient”、“createWalletClient”、“parseEther”、“formatEther”、“readContract”、“writeContract”或提到使用 viem 进行区块链交互时,应使用此技能。
通过命令行快速安装 web3-viem AI 技能到你的开发环境
来源:sablier-labs/agent-skills。
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。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/sablier-labs/agent-skills --skill web3-viem当用户询问“viem”、“viem client”、“viem actions”、“TypeScript Ethereum”、“createPublicClient”、“createWalletClient”、“parseEther”、“formatEther”、“readContract”、“writeContract”或提到使用 viem 进行区块链交互时,应使用此技能。 来源:sablier-labs/agent-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/sablier-labs/agent-skills --skill web3-viem 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/sablier-labs/agent-skills