ercan.btc
@ercandotbtc
7 Following
2 Followers
Casts
Casts + replies
ercan.btc
@ercandotbtc
GM!
0 reply
0 recast
0 reaction
ercan.btc
@ercandotbtc
š Understanding Sandwich Attacks in DeFi Ever wondered how attackers exploit transactions in decentralized exchanges? Letās break down the Sandwich Attack: šØ How It Works: 1ļøā£ A victim submits a BUY transaction to the mempool. 2ļøā£ An attacker detects this and submits two transactions: BUY with a higher gas fee (to front-run the victim). SELL with a lower gas fee (to back-run the victim). 3ļøā£ The block producer orders these transactions based on gas fees. 4ļøā£ The attackerās BUY increases the token price. The victimās BUY executes at a higher price near the slippage limit. 5ļøā£ The attackerās SELL finalizes, profiting from the price increase caused by the victim's transaction. š” Result: The victim pays more, while the attacker profits. What are your thoughts on combating sandwich attacks?
0 reply
0 recast
1 reaction
ercan.btc
@ercandotbtc
Show up every day.
0 reply
0 recast
0 reaction
ercan.btc
@ercandotbtc
Youāve engineered so hard thereās only one person who can answer your questions and thatās you
0 reply
0 recast
1 reaction
ercan.btc
@ercandotbtc
Huge Congrats! Thatās one of my goals too. First being able to understand what the code does and second providing a solution for it
0 reply
0 recast
0 reaction