Compaction Rehearsal

Rules

Five rules and one keeper wallet. No program of our own: the keeper reads trades, writes one memo and burns what it bought.

  1. The window holds 200,000 tokens

    Every counted trade puts tokens in: tokens = min(5,000, SOL x 5,000). 1 SOL = 5,000 tokens, so the window holds 40 SOL of trading. Buys and sells both count: all trading is context.

  2. A counted trade is 0.05 SOL or more

    Smaller trades move nothing. Never counted: the creator, the keeper, the funder, the bonding curve, the pool.

  3. 20,000 per wallet per window

    One wallet adds at most 20,000 tokens per window, one row of the press, so at least ten wallets fill every window. Over the limit the trade still happens and adds nothing. Linked wallets share one limit: one sent the other 0.01 SOL or more or $COMPACT, or both were funded by the same address in the 7 days before their first trade (a funder with 1,000+ transactions in 7 days, an exchange, links nobody).

  4. The pot is the keeper wallet

    $COMPACT creator fees stay on the owner's wallet; he forwards SOL to the keeper by hand. That SOL is the pot. Nothing is routed automatically.

  5. Full window + 0.1 SOL = compaction

    On the counted trade that fills the window, with 0.1 SOL or more in the pot, the keeper writes one memo, spends 100% of the pot on $COMPACT and burns exactly what it bought. The window's transactions become the next block and every limit starts again. Full with less in the pot: the next counted trade after the pot reaches 0.1 SOL fires it. Nothing runs on a clock.

    Compaction #N · B buys · S sells · W wallets · X SOL burned

What does my trade add?

added = min(5,000, SOL x 5,000, 20,000 - your tokens, 200,000 - window)

Ways to game it, and what stops them

MoveWhat happens
Fill the window alone with big trades5,000 per trade and 20,000 per wallet: ten wallets at least fill every window.
Split into many walletsWallets that sent each other SOL or $COMPACT, or share a funder, are one wallet for the limit.
Spam dust tradesUnder 0.05 SOL adds nothing; every counted trade pays pump.fun fees.
Wash trade to speed up the burnIt only burns sooner what the pot already holds; the limit still applies per wallet.
Time the filling tradeNobody is paid for it: 100% of the pot burns.

The Rehearsal

The keeper