Liquid Stake with compassSOL for an 8.04% APY from staking, MEV + fees

Enjoy the freedom of liquid staking in Solana Defi while delegating your stake to the high performance Solana Compass validator. Stake or unstake at any time here, or with a Jupiter swap.

Benefit from our high staking returns and over 2 years experience operating a Solana validator, and receive additional yield from priority fees + MEV tips

Earn 6.7% APY staking with Solana Compass

Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.7% APY yield on your SOL, while supporting us to create new guides and tools. Learn more

Stake your SOL

  1. Click to connect your wallet
  2. Enter the amount you wish to stake
  3. Kick back and enjoy your returns
  4. Unstake from your wallet or our staking dashboard

Earn 6.7% APY staking with Solana Compass

Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.7% APY yield on your SOL, while supporting us to create new guides and tools.

Learn more

Solana DeFi: marginfi borrow and lending - Solfate Podcast #26

By Solfate

Published on 2023-07-05

Discover how marginfi is transforming Solana's DeFi landscape with advanced lending, borrowing, and risk management systems. Learn about their journey, vision, and upcoming features.

The notes below are AI generated and may not be 100% accurate. Watch the video to be sure!

marginfi: Pioneering DeFi Solutions on Solana

In the rapidly evolving world of decentralized finance (DeFi), Solana has emerged as a leading blockchain platform, offering high-speed transactions and low fees. At the forefront of Solana's DeFi ecosystem is marginfi, an innovative protocol that's reshaping the landscape of lending and borrowing. In a recent episode of the Solfate Podcast, marginfi's founders, Edgar and Mac, shared insights into their journey, the protocol's development, and their vision for the future of DeFi on Solana.

The Genesis of marginfi

Edgar and Mac, both with backgrounds in traditional finance and technology, found their way into the crypto space through different paths. Edgar's journey began in 2017 when he was reintroduced to Bitcoin from a technical perspective. The intellectual stimulation of the technology captivated him, leading to a deep dive into the conceptual opportunities it presented for improving the world.

Mac, on the other hand, had been tracking Bitcoin since its early days. His interest in crypto was piqued early on, but it wasn't until later that he fully immersed himself in the space. Both founders saw the potential for DeFi to revolutionize traditional financial systems and decided to focus their efforts on building solutions for this emerging sector.

Why Solana?

The decision to build on Solana was a calculated one. Edgar and Mac identified Solana as the right infrastructure and ecosystem for their vision. The high-speed transactions, low fees, and growing community made it an attractive platform for developing DeFi solutions. As Edgar put it:

"By the time we got to 2021, when marginfi really started coming together in concept, I was selling the last company that I worked on, which was a logistics software company. Mac was selling a company at around the same time. We both saw a similar opportunity in DeFi and identified Solana as the right infrastructure and the right ecosystem to build in."

The Evolution of marginfi

marginfi's journey has been one of adaptation and innovation. The protocol initially started with a prime brokerage model, which was a first in the crypto space. This model allowed traders to have unified liquidity, unified risk, and a unified trading interface across various decentralized exchanges (DEXs).

Mac explained the significance of this innovation:

"For the first time ever, traders had unified liquidity, unified risk, and unified trading in interface when they were moving across a variety of different DEXs. And that was enabled by having a variety of different DEXs that traders wanted to trade across with proper liquidity."

However, the crypto landscape is ever-changing, and marginfi had to adapt to new challenges. After the FTX implosion, many DEXs paused or went offline, and liquidity shrank rapidly. This event presented an opportunity for marginfi to pivot and focus on expanding their borrow-lend capabilities.

The Current Focus: Borrow-Lend

Today, marginfi has established itself as a leading borrow-lend platform on Solana. The protocol supports various assets, including Solana, USDT, and Liquid Staking Derivatives (LSDs) on Solana. This shift in focus has allowed marginfi to provide a critical service to the Solana DeFi ecosystem.

Mac highlighted their success in this area:

"This year we became in many ways a default borrow-lend on Solana. We're the most liquid place for a variety of assets. We've been consistently the fastest growing DeFi app on Solana from a TVL perspective, a really high number of daily active users, really great borrows, really great rates, really good experience altogether."

The Importance of Over-Collateralization

One of the key features of marginfi's borrow-lend platform is its emphasis on over-collateralization. Edgar provided a detailed explanation of why this concept is crucial in DeFi:

"Over-collateralization is not enough. We don't think it's enough. Here's the problem with over-collateralization, right? The idea of over-collateralization is you always have enough tied up in the protocol that any borrows can be paid back. But the big problem with it is that prices of these assets are generally constantly changing."

To address this issue, marginfi has implemented a powerful risk engine behind the scenes. This system goes beyond simple over-collateralization to ensure the safety of users' funds and the stability of the protocol.

The Liquidation Engine

An essential component of marginfi's risk management system is its liquidation engine. This mechanism incentivizes participants to monitor positions and execute liquidations when necessary. James, one of the podcast hosts, described the system:

"It's very akin to the incentives behind an Oracle network where you're basically trying to say, hey, we need to create an incentive system that will make it so that people will participate in this network. They will get rewards for participating in this network. And as such, we trust the system broadly enough that we can rely on this Oracle data."

This innovative approach to liquidations helps ensure that the protocol remains solvent and that lenders' funds are protected, even in volatile market conditions.

The Future of marginfi

Looking ahead, marginfi has ambitious plans for expanding its product offerings and engaging with its user base. One of the most exciting developments is the introduction of a points system, which Mac teased during the podcast:

"We will soon be coming out with and like soon, like super soon, like we, like being tested right now could potentially be rolled out tonight. If we wanted to, we just want to tweet the, you know, make any questions episode errors."

This points system will allow marginfi to quantify users' contributions to the protocol and potentially reward them for their participation. The team sees this as a crucial step in building a strong community around the protocol.

The Importance of Tokens in DeFi

Mac also emphasized the significance of governance tokens in the DeFi ecosystem:

"A token is a necessity, not some sort of benefit, especially like when you dip into the realm of like DeFi, which is like decentralized finance, permissionless finance, which is like this community governed financial primitive. There needs to be an instrument for the community to govern it with, right?"

He drew parallels between the current state of Solana's DeFi ecosystem and Ethereum's development in 2018, suggesting that Solana is on the cusp of a significant growth phase as more protocols introduce governance tokens.

Navigating the Risks of DeFi

While the potential rewards of DeFi are substantial, it's crucial for users to understand the risks involved. Mac addressed this concern:

"You got to be in the arena, like you got to know, at any time you interact with marginfi like, I want you to know what you're interacting with, I want you to know like what you're doing. And if you're, and if you don't, you know, hit our telegram or, you know, ask us some questions and we'll answer that."

This emphasis on user education and transparency is a key part of marginfi's approach to building trust in the DeFi ecosystem.

The Impact of Market Cycles

One of the interesting insights shared during the podcast was how marginfi adapts its product development to market conditions. Edgar explained:

"When you're building products that are dominated by finance, like we're building financial primitives essentially, you need to be very sensitive to the stage rat in the market cycle."

This flexibility allows marginfi to cater to the needs of different user archetypes depending on market conditions, ensuring that the protocol remains relevant and useful throughout various stages of the crypto market cycle.

Solana's Maturing DeFi Ecosystem

The conversation also touched on the broader state of Solana's DeFi ecosystem. Mac drew comparisons to Ethereum's development:

"I think we're finally hitting the 2018 era of Ethereum here in 2023 on Solana, where again, the Geto Camino Drift Cypher's eta squads, et cetera, marginfi are hitting that inflection point with their product."

This observation suggests that Solana's DeFi ecosystem is maturing and poised for significant growth in the near future.

The Role of Governance Tokens

The podcast discussion highlighted the potential impact of governance tokens on Solana's DeFi landscape. Mac explained:

"These governance tokens are essentially rewarding your strongest users. They're rewarding users that want to take initiative direction within your protocol. They are a form of governance. So like users have a direct say into your product creation, ideation, roadmap, etc."

This perspective underscores the importance of community involvement in the development and governance of DeFi protocols.

Challenges and Opportunities

While the future looks bright for marginfi and Solana's DeFi ecosystem, there are still challenges to overcome. The team acknowledges the need to balance innovation with risk management and user protection. Edgar emphasized:

"The goal of any platform like marginfi is to safely understand the risks that, you know, borrowers should be taking on the platform to maintain what's called solvency, right? So that lenders keep getting paid back and to understand where there should be constraints."

This focus on risk management and user safety is crucial for the long-term success and adoption of DeFi protocols.

The Vision for Democratizing Finance

Throughout the podcast, both Edgar and Mac expressed their passion for democratizing access to financial services. They see DeFi as a powerful tool for achieving this goal. Edgar touched on this vision:

"We always want to give, we always want to build systems that provide users with more opportunity to borrow, right? I want you to have as much money in your pocket as possible. But there's a limit. And that limit is dependent on safety."

This balance between opportunity and safety is at the core of marginfi's approach to building DeFi solutions.

The Importance of Community Engagement

One of the key themes that emerged from the discussion was the importance of community engagement in DeFi. The upcoming points system is just one example of how marginfi is working to incentivize and reward user participation. Mac explained:

"We will be able to quantify your contribution to marginfi. We're going to make that visible. And there will definitely be some like fun things tied up to the points you're accumulating."

This approach not only helps to build a strong community around the protocol but also aligns with the broader ethos of decentralization and community governance in the DeFi space.

The Future of DeFi on Solana

Looking ahead, both Edgar and Mac expressed optimism about the future of DeFi on Solana. They see the current market conditions as an opportunity for strong projects to emerge and gain traction. Mac noted:

"I think there's a lot of asymmetry there. And I think that's something a lot of teams should really think about and push on, because like now is the time to make that switch."

This perspective suggests that we may see significant developments and growth in Solana's DeFi ecosystem in the coming months and years.

Conclusion: marginfi's Role in Shaping Solana's DeFi Future

As the conversation drew to a close, it became clear that marginfi is not just building a protocol, but actively shaping the future of DeFi on Solana. Their focus on innovation, risk management, and community engagement positions them as a key player in the ecosystem.

Edgar summed up their approach:

"We want to solve problems that exist right now. We're not just like only working toward the thing that five years from now, right? It's like, we want to solve a problem today."

This commitment to addressing current needs while planning for the future exemplifies the dynamic and responsive nature of DeFi development on Solana.

As marginfi continues to evolve and introduce new features like the points system and potentially a governance token, they are likely to play an increasingly important role in Solana's DeFi landscape. Their journey from a prime brokerage model to a leading borrow-lend platform demonstrates their ability to adapt and innovate in response to market conditions and user needs.

For users and developers in the Solana ecosystem, marginfi's progress and future plans offer exciting possibilities. As the DeFi space continues to mature, protocols like marginfi that prioritize user safety, innovation, and community engagement are likely to lead the way in creating a more accessible and efficient financial system for all.

Facts + Figures

  • marginfi started as a prime brokerage model, offering the first universal margin across perpetuals on different DEXs in crypto.
  • The protocol pivoted to focus on borrow-lend capabilities after the FTX implosion caused many DEXs to pause or go offline.
  • marginfi has become one of the default borrow-lend platforms on Solana in 2023.
  • The protocol supports various assets including Solana, USDT, and Liquid Staking Derivatives (LSDs) on Solana.
  • marginfi has been consistently the fastest-growing DeFi app on Solana from a TVL perspective.
  • The protocol emphasizes over-collateralization and has implemented a powerful risk engine to ensure user safety.
  • marginfi is introducing a points system to quantify and reward user contributions to the protocol.
  • The team draws parallels between the current state of Solana's DeFi ecosystem and Ethereum's development in 2018.
  • Over 70% of Solana's network is staked to validators, equivalent to about $6 billion USD.
  • marginfi adapts its product development based on market cycles and user archetypes.
  • The team sees governance tokens as a necessity for community-governed financial primitives in DeFi.
  • marginfi is planning to unveil a larger product expansion beyond just borrow-lend services.
  • The protocol aims to enable users to do things that were not possible before in an ecosystem with a borrow-lend model.
  • The team emphasizes the importance of user education and transparency in DeFi.
  • marginfi sees the current market conditions as an opportunity for strong projects to emerge and gain traction on Solana.

Questions Answered

What is marginfi?

marginfi is a decentralized finance (DeFi) protocol built on the Solana blockchain. It started as a prime brokerage model offering universal margin across perpetuals on different decentralized exchanges (DEXs). Currently, marginfi focuses on providing borrow-lend capabilities, supporting various assets including Solana, USDT, and Liquid Staking Derivatives (LSDs) on Solana. The protocol aims to offer innovative financial solutions while prioritizing user safety and community engagement.

Why did marginfi choose to build on Solana?

marginfi chose to build on Solana due to its infrastructure and ecosystem advantages. Solana offers high-speed transactions and low fees, making it an attractive platform for developing DeFi solutions. The founders, Edgar and Mac, identified Solana as the right environment to build their vision, citing its growing community and potential for scalability as key factors in their decision.

How does marginfi ensure user safety in lending and borrowing?

marginfi ensures user safety through a combination of over-collateralization and a sophisticated risk management system. The protocol implements a powerful risk engine that goes beyond simple over-collateralization to protect users' funds. Additionally, marginfi has developed an innovative liquidation engine that incentivizes participants to monitor positions and execute liquidations when necessary, helping to maintain the protocol's solvency even in volatile market conditions.

What new features is marginfi planning to introduce?

marginfi is planning to introduce several new features to enhance user engagement and expand its offerings. One of the most immediate developments is a points system that will quantify and reward users' contributions to the protocol. The team has also hinted at a larger product expansion beyond their current borrow-lend services, which they claim will enable users to perform actions that were not previously possible in a borrow-lend ecosystem. While details are limited, these upcoming features are expected to further solidify marginfi's position in Solana's DeFi landscape.

How does marginfi adapt to changing market conditions?

marginfi adapts to changing market conditions by adjusting its product development and focus based on the current market cycle and user needs. The team recognizes the importance of being sensitive to different stages of the market cycle when building financial products. This flexibility allows marginfi to cater to different user archetypes depending on market conditions, ensuring that the protocol remains relevant and useful throughout various stages of the crypto market cycle.

What role do governance tokens play in DeFi, and how does marginfi view them?

Governance tokens play a crucial role in DeFi by enabling community participation in protocol decision-making. marginfi views governance tokens as a necessity for truly decentralized financial primitives. These tokens reward active users and allow them to have a direct say in product creation, ideation, and roadmap development. While marginfi hasn't yet introduced its own governance token, the team recognizes their importance and sees them as a potential catalyst for growth in Solana's DeFi ecosystem, similar to the impact they had on Ethereum's DeFi landscape.

How does marginfi contribute to the democratization of finance?

marginfi contributes to the democratization of finance by building systems that provide users with more opportunities to borrow and lend in a decentralized manner. The protocol aims to make financial services more accessible while maintaining a strong focus on user safety. By offering innovative DeFi solutions on Solana, marginfi is working towards creating a more inclusive financial system that isn't constrained by traditional banking limitations. Their approach balances the desire to provide users with financial opportunities against the need for robust risk management and user protection.

Related Content

Web3 Domains on Solana with AllDomains - Solfate Podcast #52

Discover how AllDomains is transforming the domain landscape on Solana, offering innovative solutions like tokenized web2 domains and emoji domains.

Meet DeFi 2.0 ft. Timeswap

Discover how Timeswap is transforming DeFi with its innovative oracle-less lending and borrowing protocol, offering a new paradigm for decentralized finance.

Unlocking DeFi With Infinex | Kain Warwick

Discover how Infinex is transforming DeFi with improved UX, cross-chain integration, and innovative token distribution models on Solana and beyond.

Unveiling Armada: The Powerhouse Behind Solana's Token Ecosystems

Discover how Armada is transforming token launches, liquidity provision, and governance on Solana. Learn about the latest innovations in DeFi from Solana OG Tommy.

Audius: Building Spotify On Chain | Ray Jacobson (Audius)

Discover how Audius is transforming the music industry with decentralized streaming, empowering artists, and creating new monetization opportunities.

Kamino 2.0: Brand New Borrow/Lend Market on Solana

Explore Kamino 2.0's groundbreaking Borrow/Lend market on Solana, featuring automated yield strategies and the future of decentralized finance.

Bonkbot & Memecoin Trading On Telegram with Karol

Discover how Bonkbot is transforming Solana's memecoin landscape with its innovative Telegram trading interface, offering unparalleled speed and accessibility for traders.

Jupiter: The Aggregator Fueling Solana's GDP | Meow

Discover how Jupiter Exchange is transforming Solana's ecosystem, onboarding millions of users, and driving the future of decentralized finance.

The Future of Liquid Staking on Solana | FP Lee

Discover how Sanctum is transforming liquid staking on Solana, creating an infinite LST future with enhanced liquidity and user-friendly solutions.

Colosseum: The Y-Combinator for Solana with Matty Taylor

Discover how Colosseum is transforming Solana's developer landscape with innovative hackathons, accelerators, and pre-seed funding for crypto startups.

Bonding with DeFi: Exploring Solana's Challenges and Resources w/ Wayne from Penguin Finance

Discover how Penguin Finance is reshaping DeFi on Solana through protocol-owned liquidity and bonding mechanisms, while navigating the challenges of the crypto market.

Kamino 2.0: Building Solana's Economic Hub | Marius Ciubotariu, Mark Hull

Discover how Kamino Finance is transforming Solana's DeFi landscape with advanced risk management, innovative lending protocols, and a new points program. Learn about the future of decentralized finance from industry experts.

Sports Betting Built On Solana | Nigel Eccles & Varun Sudhakar

Discover how BetDEX is transforming sports betting with blockchain technology, offering competitive odds and solving key industry issues on Solana.

The Future of NFTs with Underdog Protocol: Redefining Digital Assets

Explore how Underdog Protocol is transforming NFTs on Solana, offering gas-free minting, all-in-one APIs, and innovative tools like Passport for seamless user experiences.

Elusiv: Enabling Private Token Swaps on Solana (w/ Nico, co-founder) - Solfate Podcast #46

Discover how Elusiv is transforming blockchain privacy with zero-knowledge technology, enabling compliant private transactions on Solana.