Last updated
Last updated
Learn about the core concepts of decentralized borrowing and lending on marginfi. On this page, we will cover key topics that you should be aware of as a marginfi user. Let's dive in!
The marginfi protocol allows you to do two things with your Solana crypto tokens: lend them and borrow them. You lend your tokens to earn yield on them, and borrow tokens using the tokens you've lent as collateral. This feature suite is packaged into a user-friendly application called mrgnlend.
Remember: In order to borrow tokens through marginfi, you must first supply tokens to any of marginfi's supported asset pools. This is because marginfi is an overcollateralized borrowing-lending protocol, meaning that you need to provide collateral worth more than the amount you intend to borrow.
This ensures the security and stability of the protocol by mitigating the risk of default. When you supply tokens, you are effectively contributing to the liquidity pool, making it possible for others to borrow and for you to earn yield on your supplied assets.
marginfi allows users to deposit supported tokens into the protocol and earn yield on them. This is made possible by lenders on the platform who borrow these tokens and pay interest on them.
The deposit yield on marginfi is typically expressed in terms of APY (Annual Percentage Yield). Yield farming has become increasingly popular in DeFi, and marginfi is one of the lending protocols that allows users to earn yield on their deposited assets.
The APYs for lending each asset are typically exposed in marginfi web interfaces, and can be found in protocol configuration.