Marginfi Protocol
Marginfi Protocol
Verify you are human by completing the action below.
Marginfi to review the security of your connection before proceeding.
Ray ID: AjYtKbVsSRfvG
Performance & security by Cloudflare
Marginfi Official: Lending, YBX & mrgn Points
Marginfi Official: Solana Lending & YBX Hub
Marginfi Official is the leading decentralized lending and stablecoin protocol on Solana. This technical documentation serves as the primary resource for utilizing mrgnlend for overcollateralized loans, minting the YBX Stablecoin against staked collateral, and maximizing your mrgn Points Airdrop allocation. Marginfi prioritizes a "Risk-First" approach to scaling DeFi liquidity.
Marginfi Ecosystem: The Liquidity Layer
Marginfi creates a vertically integrated suite of financial products.
mrgnlend: The core money market. It supports "Global" pools (cross-margin) and "Isolated" pools (segregated risk). It is famous for supporting a wide tail of assets, including many LSTs and ecosystem tokens, with conservative Loan-to-Value (LTV) limits.
LST: Marginfi's native Liquid Staking Token. By minting $LST, users stake SOL to validators that share MEV rewards. This token is designed to be the "perfect collateral" for the lending protocol.
YBX: A decentralized stablecoin. Unlike USDC (fiat-backed), YBX is backed by LSTs. This means the collateral backing YBX is constantly earning staking yield, allowing the stablecoin itself to potentially pass yield to holders or subsidize borrowing costs.
The Arena & Risk Engine
The infrastructure of Marginfi Official is built for traders and risk-averse allocators.
The Arena: A user interface layer built on top of mrgnlend. It simplifies "Looping" (Deposit SOL -> Borrow USDC -> Buy SOL) into a single "Long" or "Short" action. This attracts active traders who generate yield for passive lenders.
Risk Engine: Marginfi uses a sophisticated risk model. It assesses asset volatility and liquidity depth to assign "Asset Weights." Instead of a simple LTV, assets have an "Initial" weight (for borrowing) and "Maintenance" weight (for liquidation), creating a buffer against flash crashes.
Oracles: The protocol integrates Pyth and Switchboard for price feeds, utilizing confidence intervals to prevent liquidations during oracle malfunctions or temporary wicks.
mrgn Points, Referral & Yield
The reward system gamifies liquidity provision.
mrgn Points: Users earn points for lending (1 point per $1/day) and borrowing (4 points per $1/day). The system incentivizes Borrowing because borrowers pay the interest that attracts lenders.
Referral System: Marginfi has a viral referral mechanism where users earn a percentage of the points generated by the users they refer.
LST Yield: Holders of Marginfi LST earn natural staking yield (~7-8% APY) from the Solana network. If deposited into mrgnlend, they earn lending interest on top (though they forego points on the deposit in some campaigns, check current rules).
Security, Audits, and Backing
Marginfi Official is backed by Multicoin Capital and Pantera, ensuring institutional-grade development.
Audits: The protocol smart contracts have been audited by OtterSec, a leading Solana security firm. The move to V2 involved extensive testing of the risk engine.
Flash Loan Protection: Following a minor incident in the past, Marginfi strengthened its flash loan callbacks and reentrancy guards to prevent market manipulation attacks.
Risk Management: The team actively manages parameters (Borrow Caps, LTVs) to prevent "Bad Debt." If an asset hits its cap, new deposits/borrows are paused to protect existing users.
Official Documentation & Reference
Access the verified Marginfi Official technical resources below:
App: app.marginfi.com
Docs: docs.marginfi.com
Twitter: x.com/marginfi
DefiLlama: defillama.com/protocol/marginfi
Frequently Asked Questions
What are mrgn Points? mrgn Points are a loyalty metric. They measure your contribution to the protocol's liquidity. Historically, points programs in Solana often lead to governance token airdrops.
What is YBX? YBX Stablecoin is a crypto-backed stablecoin minted by Marginfi. It is overcollateralized by LSTs (like JitoSOL or mSOL), making it a decentralized alternative to USDC.
Is Marginfi safe? Marginfi is one of the top lending protocols on Solana with multiple audits. However, leverage trading and lending always carry smart contract and liquidation risks.
How does The Arena work? The Arena Leverage Trading uses the underlying lending pools to execute trades. When you "Long SOL," the protocol borrows USDC from the pool and buys SOL for you in the background.