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 posit…