Home/区块链与 Web3/grimoire-uniswap
G

grimoire-uniswap

by @franalgabav
4.1(3)

Retrieves Uniswap router metadata using the Grimoire platform. This skill focuses on providing key configuration and operational information for the Uniswap decentralized exchange, supporting Web3 trading and liquidity management.

Uniswap ProtocolDecentralized Exchanges (DEX)Liquidity PoolsWeb3 DevelopmentSmart ContractsGitHub
Installation
npx skills add franalgaba/grimoire --skill grimoire-uniswap
compare_arrows

Before / After Comparison

1
Before

Manually retrieving Uniswap route metadata is complex and time-consuming. Data acquisition efficiency is low, making it difficult to grasp transaction paths in real-time, which impacts trading strategies.

After

Easily retrieve Uniswap route metadata using the Grimoire venue CLI. Significantly improves data acquisition speed, ensuring real-time information and aiding rapid decision-making.

description SKILL.md


name: grimoire-uniswap description: Retrieves Uniswap router metadata using the Grimoire venue CLI. Use when you need router addresses, adapter information, or Uniswap V3/V4 details.

Grimoire Uniswap Skill

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> --json

Commands

  • grimoire 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.

Examples

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.

Supported Adapters

AdapterRouterApproval Flow
@uniswap_v3SwapRouter02Standard ERC20 approve
@uniswap_v4Universal RouterPermit2

Notes

  • CLI currently exposes V3 metadata. V4 adapter is available programmatically via createUniswapV4Adapter().
  • Outputs JSON/table; tokens and pools also support --format spell.
  • Prefer --format json for automation and reproducible snapshots.
  • Only metadata is exposed (no on-chain quote endpoints).

forumUser Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs200
Rating4.1 / 5.0
Version
Updated2026年3月16日
Comparisons1

User Rating

4.1(3)
5
0%
4
0%
3
0%
2
0%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

Timeline

Created2026年3月16日
Last Updated2026年3月16日