XRPL AMM proposal highlights flash-loan resistance
Draft upgrade
The XRP Ledger community is weighing a draft amendment that would expand the network's native automated market maker beyond its current single-curve design. The proposal, posted as XRPL Standards discussion #547, is titled "AMM Swappable Curves" and lists Denis Angell and Roman Thpt as authors.
The draft would let new AMM pools choose from multiple invariant functions at creation time. Its table includes constant product, concentrated liquidity, and StableSwap-style curves, with a programmable Smart AMM left for a later specification. Existing pools would remain on the current behavior rather than being forced through a migration.
Security tradeoff
The security note getting attention is narrower but important: the proposal says XRPL transactions are atomic without composable intra-transaction calls, making flash-loan attacks structurally impossible. In practice, that means the borrow, manipulate, drain, and repay sequence common in Ethereum-style flash-loan exploits cannot be packed into one XRPL transaction.
That does not make XRPL DeFi risk-free. AMM math, pool configuration, oracle design, and future lending features still need review before any amendment reaches production. It does, however, show a clear architectural tradeoff. XRPL gives up some smart-contract composability, while avoiding one exploit class that has repeatedly hit more programmable DeFi systems.