什麼是 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