protocol identification
two sourcesmarginfi (often styled marginfi or mrgnlend) is a Solana-native, overcollateralized lending/borrowing protocol (DeFi money market) built by Mrgn Labs. It lets users lend and borrow Solana assets via pool-based, peer‑to‑pool markets. Protocol identification
- Name: marginfi (mrgnlend / marginfi v2).
- Category: Decentralized overcollateralized lending/borrowing protocol / money market.
- Website / App: Commonly referenced simply as *marginfi*’s official web app; users “visit marginfi's official website and connect [a] wallet.” (exact URL not reproduced per instructions).
- Docs: marginfi documentation at docs.marginfi.com, including “Introduction” and “marginfi v2 Program Documentation.”
- Chains: Solana only; consistently described as “Solana-native” or “built on the Solana blockchain.”
- Launch date: Eco’s guide states marginfi has been live since mid‑2023 as a Solana lending protocol. A 2023 Solfate podcast describes its evolution from a prime brokerage model to borrow‑lend, consistent with that timeframe.
- Native / governance token: Public sources primarily describe marginfi as a protocol, not a token; some project reviews mention a token section but do not clearly define a widely‑used native governance token for the lending protocol itself. As specific token details are fragmented, major token parameters are Not verifiable as of 2026-09-03. Main contract / program addresses & verification status Because direct on‑chain tooling is unavailable for this run, exact Solana program IDs cannot be safely confirmed or cross‑checked across independent sources and explorers. Several reviews mention “mrgnLend v2” as the core borrow‑lending program and reference it as “battle‑tested” and open‑source. However, the canonical program address(es), their deployment history, and explorer verification status are Not verifiable as of 2026-09-03. Fork lineage & upstream relationship
- Multiple independent sources describe marginfi as a non‑custodial, Solana‑native lending protocol with a global account model, isolated pools, and a custom risk/liquidation engine. None clearly identify it as a fork of a specific Ethereum money market (e.g., Aave/Compound) or a direct port; instead it is portrayed as a purpose‑built Solana implementation.
- The mechanism is said to be “similar to other generic lending protocols” (peer‑to‑pool, overcollateralized), but with distinctive liquidation logic using oracle price adjustments and asset weights. This suggests conceptual lineage from standard DeFi money markets but not a straightforward contract fork.
- Audit status: Public discovery for “marginfi lending smart contracts audit” did not surface a clearly labeled, independent audit report from a major auditor (e.g., OtterSec, Neodyme, Trail of Bits) directly tied to the current mrgnLend v2 program. Given that absence, formal audit coverage of the latest version is Not verifiable as of 2026-09-03.
- Malicious‑modification history in similar forks: Because marginfi does not present itself as a direct fork of a named upstream protocol, and there is no consolidated database of marginfi‑related fork exploits, any history of malicious changes in closely related forks is Not verifiable as of 2026-09-03. Overall, independent sources consistently treat marginfi as a Solana‑native, overcollateralized lending protocol with its own program architecture and risk engine, rather than a simple fork of a pre‑existing money market on another chain.
Evidence (15)
- MarginFi: Solana Lending Protocol Guide | Support - Eco
- Introduction - marginfi Documentation
- marginfi v2 Program Documentation
- Marginfi on Solana: Project Review, Programs, Token, Metrics
- What is marginfi? 2025 Guide to Solana's Top Lending Protocol
- Margin Fi by MRGN INC
- What Is Marginfi? Solana's Decentralized Lending Explained
- Project 0 Documentation
- marginfi
- Marginfi Review: Real Fees, Risks & 2026 Verdict
- Marginfi: Decentralized Lending Protocol on Solana
- marginfi Overview | Baltex
- Marginfi protocol | SOL Skills
- What Is Marginfi? Solana Lending Protocol Explained | Gate Learn
- marginfi: Revolutionizing DeFi on Solana with Innovative Lending and Borrowing Solutions