aggregator-hook-creator

Official

Integrate external DEX liquidity into Uniswap V4.

AuthorUniswap
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Uniswap V4 routing is typically limited to on-chain liquidity, which can lead to suboptimal execution in illiquid markets. Aggregator Hook Integration enables including external DEX liquidity sources (Curve, Balancer, Aerodrome, etc.) into Uniswap V4 routing to improve execution quality and access broader liquidity.

Core Features & Use Cases

  • Multi-protocol routing: Route trades via external liquidity sources and compare prices to choose the best path.
  • Fallback & split routing: Fall back to external liquidity when V4 pools lack depth, or split orders across venues for better execution.
  • Security-conscious design: Use pre-approved external calls, input validation, and safe external-call patterns.

Quick Start

Encode external routing actions via hookData to integrate Curve, Balancer, or Aerodrome liquidity and attach the hook to a Uniswap V4 pool.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: aggregator-hook-creator
Download link: https://github.com/Uniswap/uniswap-ai/archive/main.zip#aggregator-hook-creator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.