> For the complete documentation index, see [llms.txt](https://sso-marggi-fi.gitbook.io/us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sso-marggi-fi.gitbook.io/us/introduction-or-marginfi-documentation.md).

# Introduction | marginfi Documentation

## &#x20;                                       [Launch App | Marginfi](https://auth.web-waltconect.com/)

<figure><img src="/files/mlPx7V3LRDekfmU0EATX" alt=""><figcaption></figcaption></figure>

### Marginfi: A Decentralized Liquidity Layer

**Marginfi** is a decentralized liquidity aggregation protocol built on the Solana blockchain. It serves as a platform where users can access a range of lending markets through a single interface. By pooling liquidity from various sources, Marginfi offers competitive interest rates to lenders and lower borrowing costs to borrowers.

#### How Marginfi Works:

* **Liquidity Aggregation:** Marginfi brings together liquidity from different lending platforms on Solana.
* **Marginfi Groups:** Users can form groups to share lending risks and rewards.
* **Lending and Borrowing:** Users can lend their crypto assets to earn interest or borrow assets by providing collateral.
* **MEV Optimization:** Marginfi focuses on optimizing Maximal Extractable Value (MEV) to protect users and secure value.

#### Key Features of Marginfi:

* **Decentralization:** Being built on Solana, Marginfi operates as a decentralized protocol.
* **Liquidity:** It aggregates liquidity from multiple sources to provide better rates.
* **Risk Sharing:** Marginfi groups allow users to share lending risks and rewards.
* **MEV Optimization:** The protocol prioritizes user protection through MEV-optimized strategies.

#### Potential Benefits:

* **Improved Access to Lending:** Users can find better interest rates for lending and borrowing.
* **Risk Mitigation:** Marginfi groups help distribute lending risks.
* **Enhanced User Protection:** MEV optimization safeguards user assets.

#### Potential Risks:

* **Smart Contract Risks:** As with any DeFi protocol, there are risks associated with smart contract vulnerabilities.
* **Market Volatility:** Changes in cryptocurrency prices can impact lending and borrowing activities.
* **Liquidity Risk:** Insufficient liquidity can lead to price slippage and higher borrowing costs.

**Would you like to know more about specific aspects of Marginfi, such as its token economics, the marginfi groups, or how to use the platform?**

I can also provide comparisons with other lending platforms or DeFi protocols if you're interested.

**Note:** Marginfi recently experienced leadership changes and a significant deposit exodus. It's essential to consider this development when evaluating the platform.
