Transfer hooks had their run.
All they can say is no.
Mintvelocity hooks say how much.
Not Token-2022. Not SPL. Mintvelocity tokens live in their own program, written from scratch for hooks.
- 1 Upper ring
The token program
Calls the hook before and after every transfer, mint and burn, and signs every call.
- 2 The band
The hook
Sees the owners, the balances, the supply, who signed and whether as a delegate.
- 3 The ribs
Its answer, not a yes or no
Up to three cuts, a burn on a swap, 64 bytes of state per holding, and the swap’s fee.
- 4 Lower ring
The Mintvelocity DEX
Calls pool hooks on every swap and liquidity change, signed too. The launchpad is one.
On Mintvelocity now
Launch rules, all time
One transfer, two standards
100 arrive, untouched - or it all reverts
- Runs
- After the balances have changed. Transfers only.
- Sees
- The transfer, read-only. Not why: no buy or sell, no price, no pool.
- Answers
- Let it stand, or revert. It can’t change the amount.
100 arrive - a cut to an account it names - burned - 64 bytes kept in the holding
- Runs
- Before and after every transfer, mint and burn, and on every swap.
- Sees
- Owners, balances, supply and who signed; on a swap, the whole trade.
- Answers
- Cuts and state on any transfer, a burn and the fee on a swap.
Write the rules into the token.
Take a cut
Up to three of the amount, each to an account it names.
Burn
Part of a swap, destroyed.
Set the fee
That swap's fee, before it runs.
Keep state
64 bytes in every holding, written with the balances.
Refuse
The whole operation falls. Nothing moves.
The user’s signature. More than the amount moved.
The token program and the DEX check every answer.
Buybacks and rewards, without a keeper
the hook can’t touch the fees - a server holds the keys - harvest, swap, airdrop: off chain
- The fee
- The hook can’t take part of a trade, or tell a buy from a sell.
- Runs on
- A team’s server, holding the keys.
the token’s fee, and holders paid, in SOL - bought back and burned - the launcher’s creator fee; a first buy may vest - anyone runs each step
- The fee
- A pool hook takes it from each trade, in SOL, on chain.
- Runs on
- The companion program, on chain. Anyone sends each step, for a bounty.
Build anything
Write your own hook with the SDK: fees that fall with holding time, rewards weighted by time held, a referral cut, perks for holders of another token, a fee that moves with the market. Launch it on the standard, trade it on the DEX.