Liquid Stake with compassSOL for an 7.50% 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.8% APY staking with Solana Compass

Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.8% 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.8% APY staking with Solana Compass

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

Learn more

Validated | So How Does DeFi Work, Anyway?

By Validated

Published on 2023-05-16

Explore the world of DeFi with Cindy Leow, co-founder of Drift. Learn about DeFi primitives, innovations, and the future of decentralized finance on Solana.

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

Understanding DeFi: From Primitives to Cross-Chain Innovation on Solana

Decentralized Finance, or DeFi, has been a buzzword in the cryptocurrency space for several years now. But what exactly is DeFi, and how does it work? In this in-depth exploration, we dive into the world of DeFi with Cindy Leow, co-founder of Drift, a decentralized derivative exchange on Solana. From the basic primitives that kickstarted the DeFi revolution to the latest innovations in cross-chain technology, we'll unpack the complexities of this rapidly evolving sector.

What is DeFi?

DeFi, at its core, is a system of financial applications built on blockchain technology that operates without traditional intermediaries. Cindy Leow offers a more nuanced definition, suggesting that "Open Finance" might be a more accurate term. She explains, "DeFi is finance without forms, without applications. Where a typical bank has APIs that you can call on to make transactions and build applications on top, all of those are typically permissioned or require somebody to approve your entry into the financial system. Whereas with DeFi, anybody with internet access is able to access DeFi."

This open and permissionless nature is what sets DeFi apart from traditional finance. It allows for a level of accessibility and innovation that was previously impossible in the financial world. However, this openness also comes with its own set of challenges and risks.

The Power of Permissionless Systems

One of the most striking aspects of DeFi is its ability to generate value in a permissionless system. Unlike other open-source protocols like email or BitTorrent, DeFi protocols can be profitable. This unique characteristic has driven rapid innovation and attracted significant investment to the space.

Leow points out that the fees generated by DeFi protocols often flow back to the users themselves, creating a self-sustaining ecosystem. She explains, "The most robust protocols for DeFi actually rely on this ecosystem of fees generated being paid back to users. And I think this is also part of the financial freedom thesis that DeFi has, which is if you use a DeFi application, the reason to use it over a centralized exchange is that you can actually be part of an ecosystem that is fee-generating to the point that it constitutes almost an economy of itself."

DeFi vs. CeFi: A User Experience Perspective

From a user's perspective, the experience of using DeFi can be quite different from traditional centralized finance (CeFi) applications. Leow describes the typical CeFi experience: "You would make an account with an email and a password, you would probably secure it with 2FA somehow, and off you go, you load some funds from your bank account, which sits in Bank of America's ledgers internally, and it's sort of a black box as to how the funds actually move."

In contrast, DeFi users often interact with protocols through browser extensions like MetaMask or Phantom. Leow explains, "These people are installing a Chrome extension where their funds live on this little tab on their screen, they're going to a DeFi app that they're familiar with, this might be Uniswap on Ethereum, they're swapping funds on the screen, and all this time they are fully aware of where their funds sit."

This transparency is a double-edged sword. While it allows users to have full visibility into their transactions and balances, it also requires a higher level of technical understanding and personal responsibility.

The Transparency Paradox

One of the core tenets of DeFi is transparency. All transactions are recorded on the blockchain and can be viewed by anyone. However, as Leow points out, "Information availability is not the same thing as information digestion." This discrepancy has led to some high-profile incidents in the DeFi space, where vulnerabilities or suspicious activities were visible on-chain but went unnoticed or ignored by the community.

Leow attributes this to a combination of factors, including a lack of understanding and a general trust in protocols during bull markets. She notes, "In a bull market type situation and in a situation where people are sort of moving funds from one another, it's all fun and games, security isn't really in the narrative. The auditability is there, but no one really thinks to do that in the mania of things."

However, she sees a shift occurring in the current market conditions. "As we get into this type of market where things are stagnant and funds are getting lost more often, I think you're starting to see the level of sophistication increase and the desire to check these contracts and the willingness also to be able to audit what you're putting your money into increase."

Wrapped Assets and Bridges: Expanding DeFi's Reach

One of the most significant innovations in DeFi has been the development of wrapped assets and bridges, which allow assets from one blockchain to be used on another. This is particularly important for Bitcoin, which doesn't natively support smart contracts but is a popular form of collateral in DeFi.

Leow explains the concept of wrapped Bitcoin (WBTC): "You would put your Bitcoin, native Bitcoin, in a contract that is custody by these institutions. And they would issue a wrapped Bitcoin to represent your holding of Bitcoin on Ethereum itself. And this wrapped Bitcoin would essentially be able to be unlocked on the Ethereum network."

This innovation has greatly expanded the possibilities within DeFi, allowing users to leverage their Bitcoin holdings in Ethereum-based DeFi protocols. However, it also introduces new risks, as the wrapped assets are only as secure as the custodians and bridges that manage them.

Security Trade-offs: DeFi vs. CeFi

When discussing the security aspects of DeFi versus CeFi, it's important to note that both systems have their own sets of risks and trade-offs. While DeFi protocols can be vulnerable to smart contract exploits and oracle manipulations, CeFi institutions have their own history of fraud and mismanagement.

Leow argues that DeFi actually offers some advantages in terms of risk management: "One of the most attractive things about DeFi is that you can choose your counterparty and once one counterparty fails, you can see very quickly." This transparency and ability to quickly react to issues can potentially make DeFi more resilient in the long run.

However, she also acknowledges that this increased responsibility can be challenging for users: "The average user of DeFi tends to be a lot more sophisticated because you do have to be willing and able to understand these differences and choose your counterparty."

The Evolution of DeFi Primitives

The DeFi ecosystem has evolved rapidly since its inception, building on a set of core primitives. Leow identifies two key primitives that kickstarted the DeFi revolution: borrow/lending contracts and automated market makers (AMMs).

Borrow/lending protocols were revolutionary because they allowed users to leverage their existing crypto assets without selling them. Leow explains, "What borrow lending enabled was a market where I didn't have to sell my collateral to borrow something else. So I could leverage 100 of Austin tokens to borrow $50 in USDC."

AMMs, on the other hand, revolutionized token swapping by replacing traditional order books with liquidity pools. Leow describes the innovation: "Instead of relying on these ledgers that would hold the price of all the bids and the asks of a single asset and match them together, you could have a very simple market making system that priced your asset based on the amount of inventory that was provided by the buyer and the seller."

These primitives laid the foundation for more complex DeFi applications and continue to evolve as the ecosystem matures.

Innovations in DeFi: The Case of Drift

As DeFi continues to evolve, new protocols are pushing the boundaries of what's possible. Drift, co-founded by Cindy Leow, is an example of this innovation. Leow describes Drift's approach: "We built what we call liquidity trifecta where you have three sources of liquidity within the same system. You have an AMM, the virtual AMM that I was talking about that settles the synthetic orders. You have an order book that's held on chain powered by Solana, of course, that helps traders essentially get the most precise fill and helps them connect one and one with market makers."

This multi-faceted approach to liquidity demonstrates how DeFi protocols are becoming increasingly sophisticated, aiming to provide experiences that rival or surpass those of centralized exchanges.

The Challenge of Complexity

However, with increased sophistication comes increased complexity. This presents a challenge for user education and adoption. Leow acknowledges this issue: "Ultimately, it's how complex should your product look to users as opposed to how simple it is, how simple it is to land a transaction, right?"

The balance between providing powerful, flexible financial tools and maintaining user-friendly interfaces is a key challenge for the DeFi industry. Leow suggests that transparency is crucial: "At this experimental stage of DeFi, we do think that it's important to give users the option to be able to audit something like this themselves, because otherwise it's like, where are they going to find this, right?"

Cross-Chain DeFi: The Next Frontier

As the DeFi ecosystem continues to grow, there's increasing interest in cross-chain solutions that can bridge different blockchain networks. Leow sees this as an area of significant potential but also acknowledges the challenges involved.

She explains, "I think a lot of the cross-chain tech is still very experimental. After doing some initial discussions on it internally, I think the issue that we have with these app chain roll-up type structures is that a lot of the security that you get from being on a layer one with multiple very robust validator ecosystem is kind of gone when you become your own roll-up."

Despite these challenges, Leow is optimistic about the future of cross-chain DeFi: "I think by the end of the year, we should be able to have the foundation for something truly cross-chain that goes beyond just wrapping and unwrapping of assets that allows for bilateral messaging across the board."

The Future of DeFi

Looking ahead, Leow identifies several areas of potential growth and innovation in the DeFi space. She's particularly excited about improvements in onboarding and user experience: "I think onboarding and onboarding tools is what I'm most excited by, because I still think that wallet infrastructure is not necessarily there for DeFi users yet."

She also sees potential in account abstraction, which could provide more user-friendly ways to manage crypto wallets and recover funds. "I'm interested in looking at things like account abstractions where you could, let's say, give authority to your email or to another trusted partner as a recovery mechanism for your funds if you were to interact with a DeFi protocol," Leow explains.

Another area of focus is liquidity solutions. Leow notes, "DeFi only really works if there's enough money to facilitate the kind of trades that the users are looking for. So, I think across the board, we are really looking to see more unique solutions for different types of market makers, more sophisticated and diverse group of makers coming in."

Solana's Role in the DeFi Ecosystem

Throughout the discussion, it's clear that Solana plays a significant role in the evolving DeFi landscape. As a high-performance blockchain capable of processing thousands of transactions per second, Solana provides the infrastructure needed for complex DeFi applications like Drift.

Leow mentions that Solana's capabilities allow for innovations that weren't possible on other chains: "Today, Solana order books are able to process, you know, millions of trades. And I think liquidity has actually gone up tremendously." This high throughput and low cost make Solana an attractive platform for DeFi developers looking to build sophisticated financial applications.

Moreover, Solana's growing ecosystem of wallets, such as Phantom, and its integration with various DeFi protocols, position it as a key player in the future of decentralized finance. As cross-chain solutions develop, Solana's speed and efficiency could make it a crucial hub in the interconnected DeFi landscape.

Conclusion: The Ongoing Evolution of DeFi

Decentralized Finance has come a long way since its inception, evolving from simple lending protocols to complex, multi-faceted financial ecosystems. As Cindy Leow's insights demonstrate, the future of DeFi is likely to be characterized by increased sophistication, improved user experiences, and greater interoperability between different blockchain networks.

While challenges remain, particularly in terms of security and user education, the potential of DeFi to revolutionize the financial industry is clear. As protocols like Drift continue to innovate and platforms like Solana provide the necessary infrastructure, we can expect to see DeFi playing an increasingly important role in the global financial system.

The journey of DeFi is far from over. As the technology matures and adoption grows, we may well be witnessing the early stages of a fundamental shift in how financial services are provided and accessed worldwide. For those willing to navigate its complexities, DeFi offers a glimpse into a more open, transparent, and accessible financial future.

Facts + Figures

  • DeFi is defined as "smart contracts that can execute trustless financial transactions"
  • There are approximately 10 million people using MetaMask and 2 million using Phantom wallet
  • Wrapped Bitcoin (WBTC) was launched around 2019, pre-DeFi summer
  • The original custodians of wrapped Bitcoin included Kyber and BitGo
  • Drift, a decentralized derivative exchange, is built on Solana
  • Drift's "liquidity trifecta" includes an AMM, an on-chain order book, and a just-in-time auction system
  • The basic formula for an Automated Market Maker (AMM) is x * y = k
  • The FDIC in traditional finance insures deposits up to $250,000 per account
  • Cross-chain DeFi technology has seen significant acceleration in the past two months
  • Account abstraction could allow users to use their email as a recovery mechanism for crypto funds
  • Solana order books are capable of processing millions of trades

Questions Answered

What is DeFi?

DeFi, or Decentralized Finance, refers to financial applications built on blockchain technology that operate without traditional intermediaries. It's a system of smart contracts that can execute trustless financial transactions, allowing anyone with internet access to participate in various financial activities such as lending, borrowing, and trading. DeFi aims to create an open and permissionless financial ecosystem, contrasting with the traditional banking system's closed and permission-based structure.

How does DeFi differ from traditional finance (CeFi)?

DeFi differs from traditional finance, or Centralized Finance (CeFi), in several key ways. Firstly, DeFi operates on blockchain networks, making all transactions transparent and publicly viewable. Users have direct control over their funds through non-custodial wallets, unlike in CeFi where banks hold and manage customer funds. DeFi also allows for permissionless access, meaning anyone with an internet connection can participate without needing approval from a central authority. Additionally, DeFi protocols are often governed by their users through token-based voting systems, in contrast to the centralized decision-making in traditional finance.

What are the main primitives in DeFi?

The main primitives in DeFi are the foundational building blocks upon which more complex applications are built. The two key primitives discussed in the podcast are borrow/lending contracts and Automated Market Makers (AMMs). Borrow/lending contracts allow users to leverage their existing crypto assets as collateral to borrow other assets without selling. AMMs revolutionized token swapping by replacing traditional order books with liquidity pools, enabling decentralized trading. These primitives have paved the way for more sophisticated DeFi applications and continue to evolve as the ecosystem matures.

How do wrapped assets work in DeFi?

Wrapped assets in DeFi are tokens that represent ownership of an asset from one blockchain on another blockchain. For example, Wrapped Bitcoin (WBTC) allows Bitcoin to be used on the Ethereum network. The process involves depositing the original asset (e.g., Bitcoin) with a custodian, who then issues an equivalent amount of wrapped tokens on the target blockchain. These wrapped tokens can then be used in various DeFi protocols on that blockchain. The wrapped tokens are backed 1:1 by the original asset and can be "unwrapped" (redeemed for the original asset) at any time.

What are the main security concerns in DeFi?

The main security concerns in DeFi revolve around smart contract vulnerabilities, oracle manipulations, and custodial risks for wrapped assets. Smart contracts, being code, can contain bugs or vulnerabilities that malicious actors might exploit. Oracle attacks involve manipulating the price feeds that DeFi protocols rely on for accurate asset pricing. For wrapped assets, there's a risk associated with the custodians who hold the underlying assets. Additionally, the permissionless nature of DeFi means that users bear more responsibility for securing their own funds, which can be challenging for less tech-savvy individuals.

How is Solana contributing to the DeFi ecosystem?

Solana is contributing significantly to the DeFi ecosystem by providing a high-performance blockchain capable of processing thousands of transactions per second at low cost. This high throughput and efficiency enable more complex DeFi applications, such as on-chain order books, which were previously challenging to implement on slower blockchains. Solana's capabilities have attracted numerous DeFi projects, including Drift, which leverage the network's speed and low fees to offer sophisticated financial products. As the DeFi landscape evolves, Solana's technical advantages position it as a key player in the development of more advanced and user-friendly DeFi applications.

What is the future of cross-chain DeFi?

The future of cross-chain DeFi is focused on creating interoperability between different blockchain networks. While still in experimental stages, developers are working on solutions that go beyond simple asset wrapping, aiming for seamless communication and value transfer between chains. Future developments may include more efficient bridging mechanisms, cross-chain liquidity solutions, and protocols that can execute complex financial operations across multiple blockchains simultaneously. However, challenges remain, particularly in maintaining security and decentralization across different networks. Despite these hurdles, cross-chain DeFi is seen as a crucial next step in the evolution of decentralized finance, potentially unlocking new possibilities for users and developers alike.

Related Content

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.

MEV on Solana with buffalu from Jito Labs

Dive deep into the world of MEV on Solana with Lucas from Jito Labs. Learn about validator clients, searchers, and the future of blockchain technology.

Future of Media ft. eDAO

Explore the future of media with eDAO founders as they delve into NFTs, music monetization, and the evolving entertainment industry in the Web3 space.

The Infinite-LST Future w/ FP Lee (Sanctum)

Explore the future of liquid staking on Solana with Sanctum's FP Lee, covering architectural differences, product innovations, and the potential for a 'SOL economy'.

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.

Solana Is Dead I Mert Mumtaz (Helius)

Mert Mumtaz of Helius discusses Solana's technical advantages, scalability solutions, and the future of decentralized physical infrastructure networks.

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.

UX Inflection Point with Meso Network

Explore the future of crypto UX with Meso Network's Ben, discussing account abstraction, pass keys, and the path to onboarding the next billion users.

Solana DeFi 2.0: The Comeback | Jarry Xiao, Lucas Bruder, MacBrennan Peet

Dive into the exciting world of Solana DeFi with industry experts as they discuss recent growth, innovative protocols, and the future of decentralized finance on Solana.

Solana Legend on Next Generation Blockchains

Solana OG shares insights on blockchain evolution, DeFi innovations, and the future of Web3 gaming in this in-depth interview

Breakpoint 2023: Building a Creator Community

Industry experts discuss empowerment and innovation in the NFT creator community.

The State Of Solana In 2024 | Austin Federa

Explore the current state of Solana with Austin Federa, discussing economic security, meme coins, network growth, and the future of blockchain technology.

Breakpoint 2023: Youth in Web3

Exploring the journey, challenges, and advice of young professionals in the Web3 ecosystem.

Breakpoint 2023: DePIN Panel Discussion Highlights

An overview of the Breakpoint 2023 panel on DePIN networks and their implications for the future of decentralized business models.

Breakpoint 2023: tBTC comes to Solana

Discussions on the integration of tBTC, a decentralized Bitcoin, into the Solana ecosystem.