Hooks, preview

Hooks inside the coin.

A hooked coin carries its hooks inside the token: Solana checks them on every buy, sell and send, wherever it trades. Every coin's hooks are public: open one, see exactly what it enforces, launch your own from it in one click, or write your own. Launching with hooks opens when the hook program is deployed.

Hooks, Solana preview: launches open with the hook program

Hooks inside the coin. Try one.

Solana checks a hooked coin's hooks on every buy, sell and send, wherever it trades. Pick a set, shape a trade, see what happens. Write your own when you launch.

  1. 1refuse if sell and trader.held < 1h and amount > 0.1%
  2. 2refuse if sell and trader.held < 1d and amount > 0.5%

Refused by hook 1. The whole transaction fails; nothing moves.

Launching with hooks opens when the hook program is deployedEvery hook build

From launched coins

No hooked coin has launched yet. The first one's hooks appear here for anyone to reuse.

Community hooks

Published by creators, signed by their wallet. Uses count only coins whose on-chain hooks are exactly these.

No community hook yet. Write one on the launch form and publish it from there.

Starter builds

  • Fee lock

    the coin can only move into wallets or its own pool, so no outside pool can route around the fee (Bread's rule)

  • Fair launch

    fee lock, 3% max per wallet rising to 10% over six hours, and no buy over 1% of supply in the first ten minutes

  • Anti-dump

    fair launch plus no single sell over 0.5% of supply

  • No snipers

    fee lock, 1% max per wallet, three trades per block, and no big priority fees or Jito tips for ten minutes

  • Whale-proof

    fee lock, no transfer over 0.5% of supply, and the bigger the bag the smaller the sell

  • No dumps

    fee lock, no sells for 10 minutes, big bags sell 10% of themselves an hour, all sells together at most 1% of supply a minute, and a circuit breaker on a 30% drop

  • Steady growth

    fee lock, a 5-minute hold after every buy, no sandwiches, sells open at 50 holders, the dev locked for a week; the wheels come off after a day

  • Stock hours

    fee lock, and it trades only Monday to Friday, 9:30 to 4 New York time

  • Thesis-style

    social trading (buys only through FOMO, which co-signs, or the Pump app's route; selling and sending always work) plus fees to the best callers: the people who called it here, whose calls gained the most and who still hold. The Pump app's route is a marker other apps on the same swap API can also carry. The callers game is coming soon on Solana

  • Diamond hands custom

    # sells unlock the longer you hold
    refuse if sell and trader.held < 1h and amount > 0.1%
    refuse if sell and trader.held < 1d and amount > 0.5%
  • Cooldown custom

    # one buy per wallet every 10 minutes, the launcher excepted
    refuse if buy and trader.since_buy < 10m and not creator
  • 500-holder club custom

    require holders < 500 or not buy
    refuse if buy and trader.balance > 1%
  • Trades like a stock custom

    refuse if weekday is sat or weekday is sun
    refuse if hour < 13 or hour >= 20   # 9:30–4 New York, roughly, in UTC
  • Cap grows with the coin custom

    refuse if buy and mcap < $100k and amount > 0.5%
    refuse if buy and mcap < $1M and amount > 1%
  • Holders vote the cap custom

    # holders can move this sell cap between 0.5% and 5% by vote
    refuse if sell and amount > {max_sell = 1% in 0.5%..5%}
  • Sell cooldown custom

    # a wallet that sold waits 30 min before it sells again
    refuse if sell and trader.since_sell < 30m
  • 7-day sell lockup custom

    # no sells for the first 7 days after launch (the exit guarantee still lets a holder out a tenth of their bag a day)
    refuse if sell and age < 7d
  • Trading sessions custom

    # buys open only mon/tue/wed/thu/fri 13:00–21:00, sat 16:00–20:00 UTC; sells and sends any time
    refuse if buy and not (((weekday is mon or weekday is tue or weekday is wed or weekday is thu or weekday is fri) and hour >= 13 and hour < 21) or (weekday is sat and hour >= 16 and hour < 20))