![](https://cdn.dorahacks.io/static/files/18a19465ddcfd3fb39e1ef34156a6009.png@256h.webp)
![](https://cdn.dorahacks.io/static/files/18a19465ddcfd3fb39e1ef34156a6009.png@256h.webp)
XRPL Money Market
-Demo: https://xrp.dorahacks.sixtant.io/mm/
-Custom made wallet to try the demo: https://xrp.dorahacks.sixtant.io/wallet/
-Github: https://github.com/SixtantIO/xrpl-hackathon
-Github for wallet: https://github.com/SixtantIO/xrpl-hackathon-wallet
This application serves as an MVP for an AAVE-style money market specifically designed for stablecoins or even CBDCs. While this initial product has been designed for retail users, the platform is flexible enoug that it could also be deployed by Central Banks. Central Banks can deploy and manage these permissioned platforms, interacting with existing tokens on the DEX or by opening trust lines between institutions.
Built on the XRP Ledger (XRPL), the application provides a comprehensive suite of tools and features, from wallet management to seamless transactions, all within a secure and user-friendly interface.
Trustlines are used to establish connections between users and the platform. When a user deposits an asset into the platform, a trustline is created between the user's XRPL wallet and the platform's wallet. This trustline allows the platform to hold the user's assets in its wallet and track the user's balance of that asset.
Users can swap one type of asset for another directly within the platforms, and an on-chain transaction will happen. The DEX is integrated seamlessly into the user interface, providing a smooth and intuitive user experience. While we can only currently swap in and out of testnet (TST) tokens, once deployed, we will be able to swap between any coins from withing the platform.
Destination tags are used in a unique way to handle user registration. When a user registers, they are given a unique 9-digit number as a destination tag. The user then sends a transaction to the platform with this destination tag. The platform monitors incoming transactions for this destination tag, and when it sees a transaction with the correct tag, it confirms the user's registration. This method of registration provides an additional layer of security, as it verifies that the user has control of the wallet they are registering with. The beauty of this approach is that it works on top of the existing infrastructure. All wallets on the XRP Ledger have the ability to use destination tags, so no updates are needed from wallet developers. This makes it easy to implement and ensures compatibility with all XRP wallets.
These features collectively provide a comprehensive and user-friendly interface for borrowing, lending, and interacting with the XRPL, making it accessible to both novice and experienced users alike.
The XRPL Money Market Application has the potential to become a centerpiece of the XRP DeFi ecosystem. By providing a platform for borrowing and lending digital assets, it can facilitate the growth of the XRPL.
The money market also complements the DEXby providing additional liquidity and enabling more complex financial transactions. Users can borrow assets to trade on the DEX, or they can lend their assets to earn interest. This creates a symbiotic relationship between the money market and the DEX, with each one enhancing the functionality of the other.
Furthermore, the money market can serve as a bridge between traditional financial institutions and the DeFi ecosystem. By supporting CBDCs and other stablecoins, it can enable central banks and other financial institutions to participate in the DeFi ecosystem, bringing additional liquidity and stability.
Down the road, the money market could even be integrated into the main XRPL code. This would make it a core feature of the XRPL, further enhancing its functionality and making it an even more attractive platform for DeFi applications.