marginfi
Installation
SKILL.md
Marginfi Development Guide
Build lending and borrowing applications on Solana with Marginfi - a decentralized, overcollateralized lending protocol offering deposits, borrows, flash loans, and leveraged positions.
Overview
Marginfi provides:
- Lending & Borrowing: Deposit collateral to earn yield, borrow against your deposits
- Multiple Accounts: Create multiple accounts per wallet with independent positions
- Risk Management: Advanced health calculations using asset and liability weights
- Flash Loans: Atomic, uncollateralized lending within a single transaction
- Looping: Leverage positions by depositing and borrowing in a single transaction
- Multi-Asset Support: SOL, USDC, LSTs (JitoSOL, mSOL), and more