01 · Getting started
Why a hub
A pool has one hook slot. A launch usually wants more than one rule.
The hub exists because a launchpad should not have to merge five ideas into one giant contract every time the rules change.
The problem
A fair launch might want a buy cap, a fee that falls after volume, and a clock that still lets people sell. Those are three different jobs. Uniswap will only call one contract. Without a hub, you either pick one rule or you rewrite a custom hook that hard-codes all three.
What the hub changes
Each rule stays in its own contract. You deploy it once. You can use it alone on a pool, or you can attach it to the hub and list it with others. A new rule you write later uses the same door. The pool address does not have to change hooks.
It will not let a hook invent its own curve. If a module tries to return a custom before-swap delta, the hub reverts that trade. It also will not silently skip a failing module. One revert rolls the whole swap back.
Deploy, attach, register, then initialize. Do the last three in one transaction.