List XRP as an Exchange
This page lists what a custodial exchange, one that holds funds for its users, needs to do to offer XRP. It covers the accounts to create on the XRP Ledger, the bookkeeping to keep, and how deposits, trades and withdrawals move.
- Section
- Use Cases
What it covers
The page follows an example exchange that wants to add XRP trading pairs. Its users should be able to deposit XRP from the XRP Ledger, withdraw it back to the ledger, and trade it against other currencies. To get there the exchange needs new accounts on the ledger and a new balance sheet.
The accounts to create
Each account on the XRP Ledger must hold a reserve of XRP that cannot be sent to others, so Ripple recommends not creating needless accounts. The page advises a cold wallet, whose secret key stays offline, to hold most of the XRP. One or more hot wallets stay online for the daily deposits and withdrawals. A warm wallet between the two is optional.
The balance sheet
The exchange tracks each customer's XRP in its own accounting system. XRP held this way is called off-ledger: it is a credit with the exchange. On-ledger XRP is what anyone can look up on the public ledger by address. The exchange must hold on-ledger XRP equal to all the off-ledger XRP it offers for trade. The ledger counts XRP in drops, the smallest unit, and one XRP is 1,000,000 drops.
How funds flow
A user deposits by paying XRP to the exchange's cold wallet with a destination tag, a number that tells the exchange whose deposit it is. The exchange's software sees the payment and credits that user on its balance sheet. Trades between users happen on the exchange's own books and are not recorded on the XRP Ledger. For a withdrawal the exchange lowers the user's balance and sends a payment from its hot wallet. The exchange can move XRP between its hot and cold wallets at any time, and each move pays a transaction cost.
Good to know
A payment with the tfPartialPayment flag can deliver less than its Amount field says. Use the delivered_amount field in the payment's metadata to see how much really arrived. The exchange should set the asfRequireDest flag on its accounts, so every incoming payment must carry a destination tag.
Source: xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made