Hooks

Programmable liquidity for Uniswap V4.

One protocol. Infinite pool strategies.

Get Early Access

A unified execution layer

One system for defining behavior across Uniswap v4 pools.

Interface
RexHook
RexHook logo
Uniswap v4
1

Discovery and execution

Discover tokens, inspect execution behavior, and trade assets configured through programmable infrastructure.

2

Configuration and deployment

Define how tokens behave using audit-grade modules that can be composed, parameterized, and deployed without custom contracts.

3

Value flow and ownership

Execution behavior determines how value is routed across participants, with protocol-level ownership aligned to system usage.

Built on the Uniswap v4 stack

Marketplace

The Hook Economy

A permissionless marketplace for Uniswap v4 hooks. Developers publish, users deploy to any pool. Creators earn on every integration.

Coming Soon
Select a Hook

Choose a module and configure parameters

Filter hooks by category

Select a hook to view its configuration

DynamicFeeHook
Selected
Audited

Adjusts trading fees based on pool market cap

RevenueSplit
Audited

Splits fees automatically between recipients

CreatorRoyalty
Audited

Routes a percentage of volume to creator wallet

TieredFees
In Audit

Fee tiers based on trade size

Hook SettingsAudited = verified | In Audit = pending

Configuration parameters for DynamicFeeHook

{
  "hook": "DynamicFeeHook",
  "feeTiers": [
    { "maxCap": "$100K", "fee": "2.5%" },
    { "maxCap": "$1M", "fee": "1.5%" },
    { "maxCap": "∞", "fee": "0.5%" }
  ]
}

Interface preview

Why V4 Matters

Pools Are Programmable Now

V4 finally gave pools pluggable logic through hooks that fire at key lifecycle stages. RexHook handles deployment and config so teams stop rewriting the same execution logic per pool.

V22020

Permissionless swaps. Constant product AMM. It just worked.

V32021

Concentrated liquidity. Way more capital efficient, but pools stayed rigid.

V42024Now

Pools got programmable. Lifecycle hooks, shared contract. This is where RexHook comes in.

Shared Infrastructure

Forget the old model of one contract per pool. The PoolManager handles everything now. Hooks are external contracts it calls. Pick a compatible one, attach it when you create the pool, and you're live.

V4 ditched separate pool contracts for one shared PoolManager.

Deploy Without Code

We handle hook deployment and reuse because that's the part nobody wants to redo. Browse, configure, and attach. The PoolManager calls your hook at its enabled stages automatically.

V4 introduced lifecycle hooks like beforeSwap, afterSwap, and more.

Instant Execution

Your hook logic fires inside the swap transaction. One step, full execution. Everything settles together and you're only paying execution gas from the computation of your hook.

V4's flash accounting settles all balances once per transaction.

AI Agent Economy

Where AI Agents Meet Onchain Execution.

RexHook turns every V4 hook into an autonomous agent with its own identity, reputation, and revenue stream — powered by ERC-8004.

ERC-8004
Identity
x402
Payments
4 Layers
Stack
Growth Flywheel
1Deploy
2Discover
3Route
4Earn
5Reputation
6Growth
RexAgent — Reference AI trading agent coming Q2 2026
ERC-8004 Supported by
MetaMask
Ethereum Foundation
Coinbase

The Vertical Alignment Stack

Each layer extends the one below.

L3x402 Payment Rails
Agent
$0.001
per query
Hook
L2ERC-8004 Registries
98%
Audited
L1ERC-8004 Identity
#0x7f
#
Token ID
0x7f...3a
Ethereum
L0V4 Hook Contracts
hook.sol
1beforeSwap()
2
3afterSwap()
before
swap
after
L0
MANDATORY

Execution Layer

Hook smart contracts on Uniswap V4. DynamicFeeHook, AntiSniperHook, third-party hooks.

L1
OPT-IN

Identity & Discovery

ERC-721 NFT per hook. Discoverable by DEX aggregators, AI trading agents.

L2
OPT-IN

Reputation & Trust

On-chain feedback from pool creators. Validation Registry records audit proofs.

L3
OPT-IN

Economic Layer

x402 micropayments. AI agents pay per-query, per-swap, or per-session.

1
Mandatory
3
Opt-in
4
Layers
Protocol Token

$REX: Own the Infrastructure

Programmatic revenue distribution. Stake once, earn from every transaction routed through RexHook. No claims. No emissions. Just yield.

ETH Fees Captured at Execution

During each swap, the Rex hook collects protocol fees directly in ETH and routes them automatically. No token selling, no conversions, no delayed claims.

TraderRex HookCreatorETH routed directly to configured recipients
  • Fees captured directly in ETH
  • No token sales or liquidity impact
  • Distribution executed automatically per swap

Protocol Revenue Flow

RexHook collects fees directly from on-chain activity. Revenue is automatically routed through smart contracts and distributed to creators stakers and the treasury without token selling manual claims or off platform processes.

Trading FeesMEV CaptureDeploy FeesRexHookCreators 50%Stakers 40%Treasury 10%Protocol revenue distributed automatically via smart contracts

Protocol Updates

Roadmap & Milestones

ExpansionQ2 2026

Multi-chain Rollout

EcosystemQ3 2026

Third-party Hook Program

SecurityOngoing

Audit Milestones

DevelopmentQ3 2026

SDK & Developer Tools

Forthcoming
RexHook

Build on hooks without writing hooks.

Programmable infrastructure for Uniswap v4.

Get Early Access