Skip to content
Solana
BEFOREIn the programBit 9

Wallet Cap

While the guard lasts, no wallet buys more than a set share of the supply.

Where it runs

Before

Checks a swap before it fills: guards, caps, windows.

Status on reel

In the program

In the reel program: bit 9 of PoolParams.blocks, frozen at PoolInit (PROGRAM.md §5).

Set by

You, at launch

Frozen in PoolParams at PoolInit; nobody can change it after.

What it does

During the launch guard each paying wallet may buy at most a share of the token's supply, counted across every pool of the launch. Tokens received by transfer don't count, selling frees no room, and the creator's dev buy doesn't count.

How it works on reel

WalletCounter ["wcount", launch, wallet].bought, the tokens delivered after burn across every pool of the launch, must stay within Launch.wallet_cap = supply·bps/10⁴ (WalletCapExceeded). On a hooked new token reel-hook also caps any receiving wallet's balance during the guard on every venue; the creator and reel's vaults are exempt. The cap needs a guard of at least 96 s; with guard_secs at 0 on a new token, PoolInit switches on 180 s (hookr's 15 blocks).

Settings · 2

SettingMinDefaultMaxWhat it does
Guard length
guard_secs
0 s0 s1,200,000 s (13d 21h)0, or 12 s to 1,200,000 s. At 0 on a new token PoolInit switches a guard on: 180 s. Without Anti-Snipe the guard charges no tax and has no buy cap, but still refuses exact-out buys and locks launch principal.Shared with Anti-Snipe, which sets 600 s.
Cap per wallet
wallet_cap_bps
0.1%2%10%Share of supply one wallet may buy while the guard lasts, across every pool of the launch.Grid 0.1%

Fees and who's paid

Paid to

Nobody: it charges nothing.

Protocol share

reel takes no share of it.

Requires and can't be combined with

Requires

No other block.

  • A guard of at least 96 s: 180 s set by PoolInit on a new token, by you otherwise

Can't be combined with

Nothing: it sits beside any block.

Worked example

Supply 1,000,000,000 with a 2% cap is 20,000,000 per wallet across the SOL and USDC pools: buy 15M on the SOL pool and 5M more fit on the USDC pool; selling 10M frees nothing.

Solana notes

On reel's own tokens the transfer hook caps balances everywhere, not only buys through reel.

On hookr: Core block · Live

Other blocks in Protection and access