The upcoming XRP Ledger Lending Protocol is designed to bring loan issuance and repayment directly onto the ledger.
Lenders deposit into a Single Asset Vault, and the Lending Protocol lets loan brokers use that capital to issue loans and track repayments onchain.