Key facts
- David Schwartz, former CTO of Ripple, proposed a solution for the XRP Ledger.
- The proposal aims to fix front-running and sandwich attacks.
- These attacks target the XRP Ledger's decentralized exchange and AMMs.
- The proposal involves a new ledger object.
- The proposal involves a new transaction type.
- The new system ensures transactions execute before being disclosed on-chain.
David Schwartz, who previously served as the CTO of Ripple, has put forth a proposal to address front-running and sandwich attacks on the XRP Ledger. These types of attacks exploit the visibility of pending transactions on a public blockchain to manipulate trade execution, particularly on decentralized exchanges (DEXs) and automated market makers (AMMs). Schwartz's proposal introduces a new mechanism that would reserve transactions, ensuring they are executed before their details become publicly visible on the ledger. This would involve the creation of a new ledger object and a distinct transaction type specifically designed for this reservation process. The goal is to create a more secure and fair trading environment on the XRP Ledger by preventing malicious actors from exploiting transaction ordering for profit. The proposed system aims to protect users from having their trades adversely affected by front-running or sandwich attacks, which can lead to worse execution prices.