How the proposed Lending Protocol (XLS-66) would build fixed-term loans into the XRPL itself, using pooled funds from Single Asset Vaults (XLS-65).
Loans written into the ledger itself.
The Lending Protocol lets a pool of funds be lent out as fixed-term loans, with every loan recorded on the XRPL. The pool lives in a Single Asset Vault. The loans are uncollateralized: the ledger holds no collateral and liquidates no one.
Many depositors put one asset into a vault. Loans are paid out of that vault.
Each loan sets its principal, interest rate, payment schedule, fees and grace period up front.
Creating a loan, each payment and any default are transactions on the ledger.
Proposed, not live. The LendingProtocol and SingleAssetVault amendments are open for validator voting and are not enabled on Mainnet. Support changes as validators vote, so check the Known Amendments page for live numbers.
One asset goes in. Shares come out.
A Single Asset Vault holds one asset: $XRP, a trust line token or an MPT. Depositors put that asset in and receive shares, which record their part of the vault. The shares are MPTs issued by the vault.
Example numbers only. New shares are issued in proportion to what the vault already holds. Real vaults also adjust for unrealized losses.
Pick a role to see what it does.
Adds the vault’s asset and receives shares.
Creates the vault, sets up lending on it and manages its loans. For now, the vault owner and the loan broker must be the same account.
Receives a loan and repays it on the schedule in its terms.
Both sides sign before any funds move.
LoanSet creates a Loan entry on the ledger. It is a mutual agreement, so it must be signed by both the loan broker and the borrower. Either side can start it. The terms include the principal, the interest rate, the number of payments, the time between payments and the grace period.
LoanSet fails if the vault doesn’t hold enough to fund the loan, or if the broker’s first-loss capital would fall below the minimum required for its new total debt.
Each payment is split into principal, interest and fees.
Reduces what the borrower still owes.
The cost of borrowing for that period, at the rate set in the loan.
Charges the broker can set, such as a service fee on each payment or a late payment fee.
Borrowers pay with LoanPay. A loan can set three rates: the regular interest rate, a higher late interest rate for late payments, and a rate charged for repaying the whole loan early.
Broker fees can include an origination fee taken from the principal when the loan is made, a service fee on each payment, late and early payment fees, and a management fee, which is a percentage of the interest. A broker whose first-loss capital is below the minimum can’t receive fees. They’re added to its cover instead.
A late payment must cover one full payment period plus fees and late interest. Until every overdue period is paid, the borrower can’t make on-time payments or repay early.
Whether a borrower can repay is judged off-chain.
This version of the protocol doesn’t hold collateral and has no automatic liquidation. Deciding who gets a loan, and on what terms, is up to the loan broker, using its own checks outside the ledger. The ledger handles creating the loan, taking payments and recording defaults.
If a borrower doesn’t repay, the ledger can’t seize anything. The loss falls on the vault, after whatever first-loss capital covers.
The broker’s own funds take the first hit.
A loan broker can deposit first-loss capital in the same asset as the vault. It’s held in a separate pseudo-account, and if a loan defaults, part of it moves into the vault to offset the loss. It is optional, and it reduces losses rather than removing them.
How much first-loss capital the broker has deposited.
The share of the broker’s total debt that must be covered. Below it, the broker can’t make new loans or receive fees.
Caps how much of the minimum required cover moves into the vault when a loan defaults.
Uses the formula from xrpl.org: cover used = the smaller of (total debt × minimum cover rate × liquidation rate) and the amount in default. The starting numbers are the xrpl.org example.
Issuers of trust line tokens and MPTs can claw back first-loss capital, but only down to the minimum the broker must keep. They can also freeze accounts. A frozen borrower can’t make payments but still owes them.
A grace period first. Then the broker decides.
Follow one example loan from deposit to default.
Every number here is a made-up example in a generic token, taken from the worked example on xrpl.org. No fees are charged in this example.
A loan broker creates a vault for one asset and sets up lending on it. The vault starts empty.
Depositors put 100,000 tokens into the vault and receive 100,000 shares between them.
The broker deposits 1,000 tokens of its own as cover. It’s held apart from the vault.
Both sign a LoanSet for 1,000 tokens of principal, with 90 tokens of interest over the life of the loan. The 1,000 leaves the vault for the borrower. The broker’s cover of 1,000 is above the 10% minimum (109), so the loan is allowed.
In this example the vault counts the 90 of scheduled interest in its total value right away. A follow-up amendment, LendingProtocolV1_1, would count interest only once it’s paid.
The first due date passes without a LoanPay from the borrower. The loan enters its grace period. Nothing moves yet.
The grace period ends and the borrower still hasn’t paid, so the broker defaults the loan. First-loss capital covers 10.9 tokens (10% liquidation rate × 10% of 1,090) and moves them into the vault. The vault absorbs the other 1,079.1.
There are still 100,000 shares, but the vault now holds 99,010.9 tokens. Each share is backed by a little less than one token, and every depositor redeems at that lower value.
The defaulted loan can now be deleted. If the borrower had made every payment, the loan would have been repaid in full and deleted the same way, with no loss to the vault.
Two amendments. The same vote as every other change.
XLS-66 builds on XLS-65, Single Asset Vaults, and XLS-64, pseudo-accounts. Vault shares are Multi-Purpose Tokens from XLS-33, which is already enabled on Mainnet.
Lending needs both the SingleAssetVault and LendingProtocol amendments. Each is enabled only after it holds support from more than 80% of trusted validators for two weeks. A follow-up amendment, LendingProtocolV1_1, is also open for voting. It would change some details, such as limiting new loans to closed-ended vaults with fixed phases.
The Known Amendments page shows live support for each amendment. The Amendments & Governance lesson explains how the vote works.
What people often get wrong about XRPL lending.
Answer these without guessing.
Open the next application and keep building the full picture.
Facts on this page were checked against official xrpl.org documentation and the XRPL-Standards repository on 2026-11-23.