# Marginfi > A new liquidity layer for performant DeFi Marginfi is a decentralized lending protocol on Solana offering borrowing, lending, and leverage trading. It features risk management, multiple asset support, and yield optimization. Marginfi V2 is an open-source, overcollateralized lending protocol on Solana that offers borrowing, lending, and leverage trading across multiple assets. It features a risk management engine and global borrowing context and supports integration with various DeFi projects on Solana. The protocol uses a health factor system to manage risk and serves traders, yield seekers, and DeFi users in the Solana ecosystem. - Type: Company - Sector: Finance - Status: Active - Founded: 2021-09-01 - Profile: https://thegrid.id/profiles/Marginfi ## Products - [marginfi V2](https://thegrid.id/profiles/Marginfi): Marginfi V2 is a decentralized lending protocol on Solana that offers borrowing, lending, and leverage trading with risk management, multi-asset support, and yield optimization. (Decentralised Borrowing & Lending, Live, Main Product) ## Assets - [YBX token (YBX)](https://thegrid.id/profiles/Marginfi): YBX is a USD-pegged stablecoin issued by Marginfi on Solana. It is minted by depositing liquid staking tokens as collateral and used in DeFi applications across the Solana ecosystem. Unlike rebasing stablecoins, YBX gradually increases in value relative to USD as yield accrues from staking, MEV capture, and lending returns, allowing holders to capture blockchain monetary policy while maintaining price stability. (Stablecoin) - [Liquid Staking Token (LST)](https://thegrid.id/profiles/Marginfi): LST is a liquid staking token representing staked SOL on Marginfi. It is used to earn staking rewards while maintaining liquidity for use across Solana DeFi applications. Unlike traditional staking methods, LST does not charge users any commission fees or protocol fees from income validators, meaning users receive the full amount of staking rewards. (Liquid Staking Tokens (LSTs)) ## Links - [Blog](https://medium.com/marginfi) - [Documentation](https://docs.marginfi.com) - [Main](https://marginfi.com) - [Discord](https://discord.com/invite/mrgn) - [Twitter / X](https://x.com/marginfi) ## Relationships - [Project 0](https://thegrid.id/profiles/project_0): Parent organization ## Legal This data is provided under two licensing models. Model 1 - open data. The open data core is licensed under the Open Database License (ODbL) — a copyleft/share-alike license allowing free use, modification, and sharing for any purpose. Attribution is required: include "Powered by The Grid" linking to https://thegrid.id wherever the data is used. Derivative databases must be shared under ODbL terms. Trademarks, logos, and brand names (marked "Special TPIP") are not covered by the ODbL. For ML/AI use: training datasets that substantially extract ODbL data are Derivative Databases and must be shared under ODbL if publicly used; models must be attributed in documentation. Model 2 - commercial licenses. The Grid Data Service (TGDS) is also available as a commercial license. See [Web Services Terms](https://about.thegrid.id/legal/web-services-terms) for commercial use that is not covered by the open data service. The following applies to both licensing models. - All data is provided AS IS with no guarantees of accuracy. - The Grid does not provide investment, legal, or tax advice, and - a project's presence in The Grid's data does not imply endorsement. - [Data Licensing & Disclaimers](https://about.thegrid.id/legal/data-licensing-and-disclaimers): Licensing models and disclaimers - [Open Data (ODbL)](https://about.thegrid.id/legal/open-data): Open Database License terms and scope for The Grid's open data service. - [Attribution Guidelines](https://about.thegrid.id/legal/open-data-attribution-guidelines): How to attribute The Grid's data when using the open data service. - [Web Services Terms](https://about.thegrid.id/legal/web-services-terms): commercial Terms for using data services. - [All Legal Documents](https://about.thegrid.id/legal): Full index of terms, policies, and disclosures ## Optional - [TGS Field Descriptions](https://github.com/The-Grid-Data/workspace-public/blob/main/references/tgs-field-descriptions.md): Schema field definitions for The Grid's data model - [TGS JSON Structure](https://github.com/The-Grid-Data/workspace-public/blob/main/references/tgs-json-structure.md): Data model structure and relationships - [Product Type Definitions](https://github.com/The-Grid-Data/workspace-public/blob/main/references/product-type-definitions.md): Definitions for each product type - [Product Type Classification](https://github.com/The-Grid-Data/workspace-public/blob/main/references/product-type-classification.md): Guide for classifying products into types - [Grid MCP Guide](https://github.com/The-Grid-Data/workspace-public/blob/main/grid-search/skills/grid-query/references/grid-mcp-guide.md): How to query The Grid programmatically via MCP