The Bankr Hook
The Bankr Hook is Bankr's own Uniswap v4 hook, with the contracts around it: a factory, a settings contract, a launchpad registry, a fee ledger and a holder leg. Every coin launched with the Launch SDK trades in a Uniswap v4 pool behind it.
Every number is a setting
Nothing that shapes a coin is a constant in the contracts. Three parties choose, each inside the one before:
- The contracts hold the widest range of every setting, and Bankr's cut of each fee.
- A launchpad sets a range and a default for each setting, and switches features on or off.
- A launch names a value inside its launchpad's range, or takes the default.
The result is fixed in the coin at launch. A change by Bankr or a launchpad reaches later launches only. No change reaches a live coin. What is fixed at launch lists every lever.
What the hook does on every trade
- It takes the whole fee, in the coin's quote token, on buys and on sells. The pool has no fee of its own.
- It splits the fee. Bankr's cut comes first, half of it for the coin's holders. Then a referrer, the launchpad's payees and the creator side. See Fees and rewards.
- It asks the coin's extension, when the coin has one, for an extra fee. See Extensions.
- It runs what is due. A swap can add fees to the pool's locked liquidity, run a buyback and convert the holders' share to BNKR. No service has to run for any of it.
What every coin gets
| Property | Value |
|---|---|
| Supply | Minted once, 18 decimals. No owner and no mint. |
| Liquidity | Locked for good. No contract has a function to remove it. |
| Terms | Fixed at launch, published on-chain once, and checkable by anyone. |
| Holders' share | Part of Bankr's cut of every fee goes to the coin's holders, in BNKR where a route exists. |
| Sells | An extension can never refuse a sell. |
What a launch can choose
Each of these is a setting. A launchpad sets its range, its default, or switches it off.
| Feature | Read more |
|---|---|
| The trading fee and snipe protection | Fees and snipe protection |
| Supply and the curve | Supply and the curve |
| Vesting and allocations | Vesting and allocations |
| The wallet cap | Wallet cap |
| Auto-LP, a buyback and holder rewards | Fee shares and payees |
| An extension | Extensions |
| The quote token | Quote tokens |
| Every option | Configuration |
Launchpads
Every launch names a launchpad. A launchpad holds the terms its coins must follow and the payees who share every fee. Anyone can register one for a one-time bond. See Getting started.
Addresses
Chains and addresses lists the contracts on every chain.