XRP and RLUSD
How an XRP wallet works, the 1 XRP that stays in it, and Ripple's digital dollar.
Simple
XRP is the coin of the XRP Ledger. An XRP wallet is like a bank account that has to be opened before use: it opens when it first receives at least 1 XRP, and that 1 XRP stays in it as a deposit you can't spend.
RLUSD is a digital US dollar from Ripple, kept at the same address as your XRP. On the XRP page, flip the balance card to see it; Send, Receive and Convert follow the side that's showing. Switching RLUSD on sets aside another 0.2 XRP, and your first change into RLUSD switches it on for you.
Convert changes XRP into RLUSD, or back. Before you confirm, you see what you should get and the least you'll accept. If the price moves too far, the change simply doesn't happen, and only a tiny network fee is spent.
Paying an exchange? It may give you a destination tag: a number, like the reference on a bank transfer, that tells it the money is yours. Always include it when it's asked for.
Want the 1 XRP deposit back? At the Expert level, XRP tools → Delete my XRP wallet sends everything to another XRP account. The network keeps 0.2 XRP as its fee.
Detailed
Accounts and reserves
An XRP Ledger account comes into existence when it receives at least the base reserve, 1 XRP today. Each object the account owns on the ledger (a trust line, an escrow, a signer list, an open offer) holds a further owner reserve, 0.2 XRP today. Reserves keep the shared ledger small and discourage spam. The network's validators can vote to change them, and what you can spend is your balance minus what's reserved.
Tokens and trust lines
Besides XRP, the ledger carries tokens issued by companies. To hold one, an account opens a trust line to its issuer: a ledger entry saying it accepts that issuer's token. RLUSD is a US-dollar stablecoin issued by Ripple this way. Anyone you pay RLUSD to needs their own RLUSD trust line, and an empty trust line can be removed to free its reserve. The ledger gives regulated issuers freeze and clawback powers, so, like any regulated stablecoin, RLUSD can be frozen or taken back by its issuer.
The built-in exchange
The XRP Ledger has its own decentralised exchange: an order book where anyone can place offers, alongside automated market maker (AMM) pools. One trade can draw on both at once, and it settles inside a single ledger with no middleman holding your funds. A trade can carry a limit and be marked “fill now or cancel”, so it either happens at that rate or better, or not at all. Pool trading fees are built into the price.
- Destination tags: a number attached to a payment so that a shared address, such as an exchange's, knows which customer it's for.
- Closing an account: an account can be deleted, sending its whole balance to another active account. The network destroys one owner reserve (0.2 XRP) as the fee, so most of the base reserve comes back. Token balances and open escrows must be settled first, and the address can be opened again later by a new payment of 1 XRP or more.
In depth
Keys and addresses
Every XRP Ledger account is controlled by a key pair on an elliptic curve (secp256k1, the curve Bitcoin uses, or Ed25519). Signing a transaction with the private key produces a signature anyone can check with the public key, but nobody can forge without the private key. The address is a hash of the public key, written with a checksum so that typing mistakes are caught.
Consensus and finality
There is no mining. Validators each propose the set of transactions they have seen and, over a few rounds of voting, converge on one set. When at least 80% of a validator's trusted list agree, the ledger closes, typically every 3 to 5 seconds. A validated ledger is final: unlike proof-of-work chains, where a block only grows safer as more blocks pile on top of it, there is nothing to reorganise.
The account model
The ledger keeps balances per account rather than as unspent coins (the UTXO model used by Bitcoin). Each account has a sequence number that rises with every transaction it sends, so a signed transaction can never be replayed. Fees are tiny and are destroyed rather than paid to anyone, which slowly reduces the supply of XRP. When the network is busy, the minimum fee rises for a while: a simple fee market that makes flooding expensive.
Automated market makers
An AMM pool holds two assets in amounts x and y and prices every trade so that their product stays constant. Paying in an amount a, with a trading fee f, returns:
x · y = k out = y − k / (x + a · (1 − f))
The larger a trade is relative to the pool, the further the price moves against it (slippage). An order book instead matches separate offers at stated prices. A limit order sets the worst acceptable rate, so slippage beyond it simply means no trade.