total descendants::2 total children::2 1 ❤️ |
Myslim ze je dobre byt si vedomy tohoto: https://medium.com/coinmonks/exploring-sandwich-attacks-on-solana-442034afc80e A common scenario: You find a promising coin on Solana. The market cap is still low ($50K) with high growth potential. You decide to pull the trigger and swap your SOL for the token. However, as you do this, something unexpected happens — the market cap suddenly jumps to $200K as your transaction is executed, then immediately drops back to around $50K, meaning you took an instant 75% loss on the token. What happened? Well, you’ve just been sandwiched. Sandwich attacks are a popular MEV strategy and a common problem in AMM crypto markets, collectively costing users millions of dollars. In a sandwich attack, a bot detects your transaction and strategically places its own orders to profit at your expense. Essentially, the bot spots your transaction before it’s included in the block, places a buy order just before yours to push the price up, and then places a sell order right after your transaction, pocketing the difference and leaving you with a higher cost per token. ... TLDR: When submitting a swap instruction manually, ALWAYS remember to set appropriate slippage (the minimumAmountOut parameter) so that even if you get sandwiched, there’s a limit to the damage done. |
| |||||||||||||||||||||||