← Catalog
Anti-bot & MEVon-chain

Sandwich guard

A wallet can't sell within seconds of buying, which breaks sandwich bots

Try the numbers

What the hook runs

refuse if is_sell and not sender_exempt and sender_seconds_since_buy < 2s
  1. 1Refuses sells when time since the sender's last buy is under 2 seconds

On its own, does it still trade?

Thousands of test trades with these numbers, through the same code the chain runs

  • People can buyFor example Mon 00:30 UTC, 5 seconds after launch
  • Holders can sellFor example Mon 00:30 UTC, after holding a minute
  • Wallet to wallet sends work