Workflow
Slippage
icon
Search documents
X @mert | helius.dev
mert | helius.dev· 2025-07-17 21:37
RT u8 (@atarashi)This might be controversial, but your transactions should be able to fight back against malicious sandwiching validators.I built a simple program to do exactly that.You can't know at runtime if slippage is natural market movement or a sandwich attack. But if your swap lands on a known malicious validator, you're practically guaranteed to get sandwiched up to your max slippage.This lets you fight back.✅ On a trusted validator? Your transaction proceeds with your desired slippage (x%).❌ On a ...