The XRP Ledger Foundation and VS1 Finance have open-sourced a lending reference app that brings five XRP Ledger amendments together in one test market.
Summary
- The demo combines Credentials, Permissioned Domains, Single Asset Vault, Lending Protocol, and Batch on Devnet.
- Private vaults can restrict deposits to eligible accounts, while loan brokers assess borrowers off-chain.
- The latest vote figures cited below are from Nov. 10, when lending and vaults were both short of the mainnet threshold.
- Clearpool, Cicada and Ripple are working on a separate credit product that would lend Ripple USD to fintech and payments companies.
The XRP Ledger Foundation said on Nov. 19 that users can try any role on Devnet and that every step settles on the ledger. The app gives developers a working example of how to combine rules for who can participate with the vaults and loan transactions that move funds through a market.
The XRPL lending app ties access to vault deposits
The demo brings together five pieces of the ledger’s design. Credentials let an issuer attest to something about an account, while Permissioned Domains let a market operator specify which issuers and types of credentials it accepts. An account qualifies for the domain when it holds at least one matching credential that it has accepted, and that remains valid.
The domain can then control who deposits into a private vault. XRPL’s vault documentation says each vault holds one asset, such as XRP or a supported token issued on the ledger. Depositors receive shares in the pool. If a depositor’s credential expires, they lose the ability to make new deposits into the private vault and can still redeem the shares they already hold under the vault’s withdrawal rules.
The Lending Protocol uses the pooled assets to fund fixed-term loans without on-chain collateral. A broker assesses the borrower’s creditworthiness off-chain, and the ledger records the loan and its payments. The vault’s cash available for withdrawals can be lower than its recorded assets when some of the money is still out on loan.
The protocol’s loan records track the amount due each period, the next due date and the principal still outstanding. If a borrower misses a payment, the broker can declare a default after the grace period. The lending specification provides for first-loss capital to absorb some losses before they reach the vault. How much protection depositors receive depends on the cover the broker has set aside.
The fifth feature, Batch, lets an application group several actions in a single submission. One of the modes lets developers require every action in the group to succeed before any of them take effect.
Mainnet lending depends on validator votes
The app runs on Devnet, where developers can use test balances to try features ahead of mainnet activation. A Nov. 9 network notice says Devnet and Testnet are scheduled for a Nov. 25 reset that will erase accounts, transactions, and balances on those networks.
Developers who want to continue using accounts they created before the reset will need to recreate them and obtain fresh test XRP from the faucet, according to the notice. Mainnet accounts and balances are outside the reset.
As crypto.news previously reported, the Nov. 10 lending and vault votes stood at 22 and 23 out of 35, respectively. With 35 validators in that snapshot, 29 votes would have been needed to clear the threshold.
The ledger’s amendment rules require more than 80% support for two weeks before a change activates. The foundation’s app announcement gave no mainnet date or list of institutions committed to lending through the app.
Clearpool plans an RLUSD market as Ethereum pools use allowlists
A separate project offers a look at who is preparing to use the native lending tools. Clearpool lists its XRP Ledger market as coming soon and says it plans to use RLUSD held in custody by Hex Trust. The planned RLUSD credit fund would provide working-capital loans to fintech and payments firms, with Cicada Partners sourcing borrowers and monitoring their finances. Ripple plans to participate as a limited partner alongside other investors.
On Ethereum, Maple’s documentation describes permissioned pools that check a shared wallet allowlist. Maple adds wallets to the list once lenders finish identity checks, and each pool’s smart contract consults it when processing a deposit.
In the XRPL design, a private vault can point to a permissioned domain, and the ledger checks whether the account holds a credential the domain accepts.
Maple applies the allowlist to pool-share transfers as well. A transfer to a wallet outside the list fails, according to the lender documentation. The pool contracts use the ERC-4626 tokenized vault standard, and lenders receive pool tokens when they deposit assets such as USDC. On XRPL, the vault setup lets its creator configure share transfers, including whether depositors can transfer shares to other accounts.
Powered by WPeMatico