U

Uniswap V4

📅 2026-04-15 04:40 👁️ 1 阅读 来源: SkillHub
0
⬇️ 下载量
99,652
⭐ 收藏
0
📦 安装量

Swap tokens and read pool state on Uniswap V4 (Base, Ethereum). Use when the agent needs to: (1) swap ERC20 tokens or ETH via Uniswap V4, (2) get pool info (price, tick, liquidity, fees), (3) find the best pool for a token pair, (4) quote expected swap output via the on-chain V4Quoter, (5) set up Permit2 approvals for the Universal Router, or (6) execute exact-input swaps with proper slippage protection. Supports Base and Ethereum mainnet, plus Base Sepolia testnet. TypeScript with strict types. Write operations need a private key via env var.

🔧 安装方式

复制提示词,发送给任意 AI 助手即可安装 Skill,包括但不限于 Lighthouse OpenClaw、WorkBuddy、QClaw、Kimi、Claude 等

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub.cn/install/skillhub.md 安装 Skillhub 商店,然后安装 Uniswap V4 技能。 若已安装,则直接安装 Uniswap V4 技能。
Swap tokens and read pool state on Uniswap V4 (Base, Ethereum). Use when the agent needs to: (1) swap ERC20 tokens or ETH via Uniswap V4, (2) get pool info (price, tick, liquidity, fees), (3) find the best pool for a token pair, (4) quote expected swap output via the on-chain V4Quoter, (5) set up Permit2 approvals for the Universal Router, or (6) execute exact-input swaps with proper slippage protection. Supports Base and Ethereum mainnet, plus Base Sepolia testnet. TypeScript with strict types. Write operations need a private key via env var.

原文链接:https://clawhub.ai/openclaw-consensus-bot/uniswap-v4