grimoire-uniswap by franalgaba/grimoire
npx skills add https://github.com/franalgaba/grimoire --skill grimoire-uniswap使用此技能来检查 Uniswap 元数据,并为法术生成代币/资金池快照。
推荐调用方式:
grimoire venue uniswap ...npx -y @grimoirelabs/cli venue uniswap ... (免安装)bun run packages/cli/src/index.ts venue uniswap ... (仓库本地)grimoire-uniswap ... (来自 @grimoirelabs/venues 的直接二进制文件)推荐预检命令:
grimoire venue doctor --adapter uniswap --chain 1 --rpc-url <rpc> --jsongrimoire venue uniswap info [--format <json|table>]广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
grimoire venue uniswap routers [--chain <id>] [--format <json|table>]grimoire venue uniswap tokens [--chain <id>] [--symbol <sym>] [--address <addr>] [--source <url>] [--format <json|table|spell>]grimoire venue uniswap pools --chain <id> --token0 <address|symbol> --token1 <address|symbol> [--fee <bps>] [--limit <n>] [--source <url>] [--format <json|table|spell>] [--endpoint <url>] [--graph-key <key>] [--subgraph-id <id>] [--rpc-url <url>] [--factory <address>]如果你提供了 --rpc-url (或 RPC_URL) 但省略了 --endpoint/--graph-key,pools 命令将使用链上工厂查询,而不是 The Graph。
grimoire venue uniswap info --format table
grimoire venue uniswap routers
grimoire venue uniswap routers --chain 1
grimoire venue uniswap tokens --chain 1 --symbol USDC --format spell
grimoire venue uniswap pools --chain 1 --token0 USDC --token1 WETH --fee 3000 --format spell
grimoire venue uniswap pools --chain 8453 --token0 USDC --token1 WETH --fee 500 --rpc-url $RPC_URL --format table
grimoire venue uniswap pools --chain 8453 --token0 USDC --token1 WETH --fee 500 --graph-key $GRAPH_API_KEY --subgraph-id <id> --format table
在 tokens 或 pools 命令上使用 --format spell 来输出一个 params: 快照块。
| 适配器 | 路由器 | 授权流程 |
|---|---|---|
@uniswap_v3 | SwapRouter02 | 标准 ERC20 授权 |
@uniswap_v4 | Universal Router | Permit2 |
createUniswapV4Adapter() 以编程方式使用。tokens 和 pools 命令也支持 --format spell。--format json。每周安装量
936
代码仓库
GitHub 星标数
1
首次出现
2026年2月5日
安全审计
安装于
cursor934
gemini-cli934
github-copilot934
amp934
codex934
kimi-cli934
Use this skill to inspect Uniswap metadata and produce token/pool snapshots for spells.
Preferred invocations:
grimoire venue uniswap ...npx -y @grimoirelabs/cli venue uniswap ... (no-install)bun run packages/cli/src/index.ts venue uniswap ... (repo-local)grimoire-uniswap ... (direct binary from @grimoirelabs/venues)Recommended preflight:
grimoire venue doctor --adapter uniswap --chain 1 --rpc-url <rpc> --jsongrimoire venue uniswap info [--format <json|table>]grimoire venue uniswap routers [--chain <id>] [--format <json|table>]grimoire venue uniswap tokens [--chain <id>] [--symbol <sym>] [--address <addr>] [--source <url>] [--format <json|table|spell>]grimoire venue uniswap pools --chain <id> --token0 <address|symbol> --token1 <address|symbol> [--fee <bps>] [--limit <n>] [--source <url>] [--format <json|table|spell>] [--endpoint <url>] [--graph-key <key>] [--subgraph-id <id>] [--rpc-url <url>] [--factory <address>]If you provide --rpc-url (or RPC_URL) and omit --endpoint/--graph-key, pools uses onchain factory lookups instead of The Graph.
grimoire venue uniswap info --format table
grimoire venue uniswap routers
grimoire venue uniswap routers --chain 1
grimoire venue uniswap tokens --chain 1 --symbol USDC --format spell
grimoire venue uniswap pools --chain 1 --token0 USDC --token1 WETH --fee 3000 --format spell
grimoire venue uniswap pools --chain 8453 --token0 USDC --token1 WETH --fee 500 --rpc-url $RPC_URL --format table
grimoire venue uniswap pools --chain 8453 --token0 USDC --token1 WETH --fee 500 --graph-key $GRAPH_API_KEY --subgraph-id <id> --format table
Use --format spell on tokens or pools to emit a params: snapshot block.
| Adapter | Router | Approval Flow |
|---|---|---|
@uniswap_v3 | SwapRouter02 | Standard ERC20 approve |
@uniswap_v4 | Universal Router | Permit2 |
createUniswapV4Adapter().tokens and pools also support --format spell.--format json for automation and reproducible snapshots.Weekly Installs
936
Repository
GitHub Stars
1
First Seen
Feb 5, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykWarn
Installed on
cursor934
gemini-cli934
github-copilot934
amp934
codex934
kimi-cli934
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装