XRP Ledger news · Trading and DeFi

XLS-30 - XRP Ledger Automated Market Maker

In plain words

In 2024 the XRP Ledger blog explained XLS-30, the automated market maker (AMM), which is now live on Mainnet. It adds pools of two assets to the ledger's built-in exchange, where prices follow the ratio of the assets in the pool.

Written by zerps in plain words, from the source linked below.
Published
2024
Section
Blog (2023+)

How it works

An AMM trades automatically without an order book. People who provide liquidity add assets to a pool and receive LP tokens, and the price is set by the ratio of the two assets in the pool. Only one asset is needed to add liquidity. Because the AMM is built into the protocol, developers need no smart contracts of their own.

Timeline

The proposal came in Jul. 2022 and performance testing in Oct. 2023. Validators voted from Jan. to Mar. 2024, and the amendment was enabled in Mar. 2024. An amendment needs at least 80% approval from validators over two weeks.

Main transactions

AMMCreate makes a new AMM and sets its asset pair. AMMDeposit adds liquidity and returns LP tokens. AMMWithdraw gives assets back in exchange for LP tokens. AMMBid is how users bid in the pool's auction.

In the source's words
The XLS-30 AMM amendment unlocks new liquidity and trading options on the XRP Ledger network. Explore how developers can integrate with AMM.xrpl.org

Source: xrpl.org. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.