Skip to content
← All courses
Course · Uniswap v4

Build a market on Uniswap v4 — the PoolManager and hooks, read from two open projects

You'll see how a market on Uniswap v4 works, across nine lessons. The PoolManager's unlock and flash accounting. Why a hook's permissions live in its address. Who may create a pool and add liquidity. A pool that stops trading when its stock does. Fees a hook sets on each swap. A hook that prices swaps itself and fills them from its own inventory. Hook safety, keepers and shipping. The same hook on Monad. You read v4-core v4.0.0 and two open, unaudited projects (Summon, Shadowbook), with forge exercises.

Build a new market · Uniswap v4

Start the course →INTERMEDIATEabout 6 h9 lessons

Part 1 — Pools, unlock and hook addresses

  1. Lesson 1 — What a market on Uniswap v4 is30 min
  2. Lesson 2 — PoolManager, unlock and flash accounting35 min
  3. Lesson 3 — Hook permissions live in the address35 min

Part 2 — A pool's own rules: who, when, at what fee

  1. Lesson 4 — Who may create the pool and add liquidity35 min
  2. Lesson 5 — A pool that knows its stock's market40 min
  3. Lesson 6 — Fees that change40 min

Part 3 — Your own price, and shipping it

  1. Lesson 7 — Pricing it yourself: beforeSwapReturnDelta45 min
  2. Lesson 8 — Hook safety and taking it to production45 min

Part 4 — Another chain: Monad

  1. Lesson 9 — The same hook on Monad40 min