🛠️ 技能库

发现和使用优秀的技能扩展

Uniswap V4

openclaw-consensus-bot 作者:@openclaw-consensus-bot
⬇️ 下载量:1.2K ⭐ 收藏量:1 版本:v5 v

OpenClaw的Uniswap V4-技能(skill)的描述

在Uniswap V4(Base、以太坊)上交换代币和读取池状态。当代理需要执行以下操作时使用:(1)通过Uniswap V4交换ERC20代币或ETH,(2)获取池信息(价格、刻度、流动性、费用),(3)为代币对找到最佳池,(4)通过链上V4Quoter获取预期交换输出报价,(5)为通用路由器设置Permit2授权,或(6)执行具有适当滑点保护的精确输入交换。支持Base和以太坊主网,以及Base Sepolia测试网。采用具有严格类型的TypeScript。写入操作需要通过环境变量提供私钥。

OpenClaw's Uniswap V4 skill

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.


安装 Uniswap V4 技能


将下面的AI引导词,复制到您的openClaw对话中,发送给大龙虾,即可安装该技能
请先检查是否已安装 SkillHub 商店,若未安装,请根据 http://openclawweb.cn/skillhub.md 安装Skillhub商店,但是只安装CLI,然后安装 Uniswap V4 技能。

Uniswap V4 - skill原始代码包

访问Uniswap V4技能原始代码



该作者的其他技能

⬇️ 863 ⭐ 0
⬇️ 835 ⭐ 0