Liquid Stake with compassSOL for an 9.66% 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.9% APY staking with Solana Compass
Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.9% APY yield on your SOL, while supporting us to create new guides and tools. Learn more
Stake your SOL
- Click to connect your wallet
- Enter the amount you wish to stake
- Kick back and enjoy your returns
- Unstake from your wallet or our staking dashboard
Earn 6.9% APY staking with Solana Compass
Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.9% APY yield on your SOL, while supporting us to create new guides and tools.
The Cove Podcast: Building a Flexible AMM with Root Protocol
By Cove
Published on 2023-05-04
Discover how Root Protocol is combining AMMs and order books to create a flexible, efficient DEX on Solana with improved price discovery and liquidity provision.
Root Protocol: Revolutionizing AMMs and Order Books on Solana
In the ever-evolving world of decentralized finance (DeFi), innovative projects continue to emerge, pushing the boundaries of what's possible in the realm of decentralized exchanges (DEXs) and automated market makers (AMMs). One such project making waves in the Solana ecosystem is Root Protocol, a pioneering platform that aims to combine the best features of AMMs and central limit order books (CLOBs) into a single, flexible protocol.
In a recent episode of The Cove Podcast, host Louis sat down with Dhrumil, the founder of Root Protocol, to discuss the project's ambitious goals, its unique approach to solving common DEX issues, and the potential impact it could have on the DeFi landscape. This article delves into the key points discussed in the podcast, exploring the innovative features of Root Protocol and its implications for traders, market makers, and the broader Solana ecosystem.
The Genesis of Root Protocol
Dhrumil's journey into the world of cryptocurrency and blockchain technology began in 2020 when he transitioned from studying artificial intelligence and working in big tech to exploring the fascinating realm of programmable money. His initial forays into Ethereum and Solidity eventually led him to Solana, attracted by its promise of high-speed transactions and scalability.
In 2021, Dhrumil co-founded Solvent Protocol, an NFT fractionalization project that introduced concepts like NFT tokenization, NFT AMMs, and money markets to the Solana ecosystem. This experience provided valuable insights into the DeFi space and laid the groundwork for his current venture, Root Protocol.
The Root Protocol Vision
Root Protocol aims to create a decentralized exchange that combines the functionalities of AMMs like Orca with the capabilities of order books like Serum, all within a single protocol. This innovative approach seeks to address the issue of liquidity fragmentation while offering enhanced flexibility for market makers and traders alike.
Dhrumil explains the core concept:
"Root is just a decentralized exchange. It is a very flexible and resilient decentralized exchange that has all the functionalities of what you can do on AMMs like Orca, as well as all the functionalities that you can do on order books like Serum, but combined into one single protocol so that there's no liquidity fragmentation."
This unique combination opens up new possibilities for market makers, allowing them to create and implement strategies that were previously impossible or impractical on existing DEXs.
Addressing Inefficient Price Discovery
One of the key problems Root Protocol aims to solve is the inefficient price discovery mechanism in existing markets. Dhrumil illustrates this issue with an example:
Imagine the price of Solana is $25 on both Binance (a centralized exchange) and Orca (a decentralized exchange on Solana). If a large order is executed on Binance, causing a significant price change, arbitrageurs need to trade on Orca to reflect this new price in its liquidity pool. However, this process isn't always profitable due to transaction fees or taker fees, resulting in stale prices on Orca and exposing liquidity providers to toxic flow.
Root Protocol addresses this issue by allowing price corrections on its liquidity pool without necessitating a trade. Similar to an order book, users can provide liquidity within the bid-ask spread, significantly reducing the chance of arbitrage opportunities and toxic flow. This approach also makes the protocol more attractive to market makers, as they can use interfaces similar to those on centralized exchanges.
Combining AMM and CLOB Functionalities
Root Protocol's innovative design incorporates elements of both AMMs and CLOBs, creating a hybrid system that leverages the strengths of both approaches. This combination allows for greater flexibility in liquidity provision and trading strategies.
The protocol features a passive liquidity layer, similar to traditional AMMs like Orca or Uniswap, where users can deposit funds and have trades executed automatically. Additionally, it incorporates a limit order layer, enabling users to place specific orders at desired price points.
By combining these two approaches, Root Protocol aims to offer the best of both worlds: the simplicity and accessibility of AMMs, along with the precision and control of order books. This hybrid model has the potential to attract a wider range of users, from retail traders to sophisticated market makers.
Custom Market Making Strategies
One of the most exciting aspects of Root Protocol is its support for custom market making strategies. Dhrumil emphasizes the vast design space this creates:
"Now that we have both AMM capabilities and order book capabilities on a single liquidity primitive, the design space for creating all kinds of strategies is vast. You can create a lot of trading strategies that were not possible before."
This flexibility allows market makers to implement a wide range of strategies, including:
- Traditional XYK (constant product) curves
- Concentrated liquidity positions similar to Uniswap v3
- Advanced quantitative strategies using limit orders
- Automated custom strategies
The ability to create and automate these diverse strategies within a single protocol opens up new possibilities for market makers to optimize their operations and potentially increase their profitability.
Improved Slippage and MEV Protection
Root Protocol aims to offer significant improvements in terms of slippage and protection against Maximal Extractable Value (MEV) attacks.
Low Slippage Trades
The protocol's unique design allows for the possibility of zero-slippage trades under certain conditions. Dhrumil explains:
"If you concentrate all of the liquidity on a single tick, then there will be no slippage because the same price will be used again and again for all the tokens that you want to swap."
This approach differs from traditional AMMs, where liquidity is distributed across a range of prices, leading to price slippage as trades are executed. By allowing liquidity providers to concentrate their funds at specific price points, Root Protocol can potentially offer more efficient trades with minimal slippage.
MEV Protection
While acknowledging that he's not an MEV expert, Dhrumil discusses the protocol's approach to mitigating MEV attacks, particularly the "just-in-time liquidity" attacks that are common on platforms like Uniswap v3. These attacks involve providing highly concentrated liquidity just before a large trade, capturing the fees that would otherwise go to long-term liquidity providers.
Root Protocol aims to implement on-chain mechanisms to reduce the impact of MEV on liquidity providers. While the specific details of these mechanisms are still under wraps, Dhrumil suggests that certain types of MEV attacks will be significantly more difficult to execute on Root Protocol compared to other DEXs.
Target Audience and Use Cases
Root Protocol is designed to cater to a diverse range of users within the DeFi ecosystem. While the platform will be accessible to retail traders through integrations with aggregators like Jupiter, its primary focus is on serving market makers and liquidity providers.
Dhrumil explains the project's target audience:
"We definitely want traders on Root because traders ultimately get very low slippage and best prices. But we also have these market makers who we would like to work with so that we can create an infrastructure that is suitable for them to create different strategies and stuff."
The protocol aims to provide tools and infrastructure that enable market makers to implement sophisticated strategies and optimize their operations. By focusing on this professional user base, Root Protocol hopes to create a more efficient and liquid marketplace that will ultimately benefit all users.
Composability and Open-Source Approach
Taking inspiration from the Serum project, which played a crucial role in fostering DeFi innovation on Solana, Root Protocol plans to embrace an open-source approach from day one. Dhrumil emphasizes the importance of composability in the Solana ecosystem:
"We definitely want to do something like that. We want to open source from day one. So right when Root will be launched on mainnet, it will be open source. And once the audits are clear, the SDK will also be ready since day one."
This approach will allow other developers and projects to build on top of Root Protocol, potentially leading to a new wave of innovative DeFi applications in the Solana ecosystem. By providing a flexible and powerful foundation for liquidity provision and trading, Root Protocol aims to become a key infrastructure component for future DeFi projects.
Launch Plans and Future Developments
As of the podcast recording, Root Protocol was in the final stages of development, with the smart contract ready and the team working on the remaining aspects of the codebase. Dhrumil outlined the project's launch strategy:
- Initial closed alpha testing with experienced market makers
- Gradual opening to more users as the platform stabilizes
- Mainnet launch expected within a few weeks of the podcast recording
The team is taking a cautious approach to ensure that all components are thoroughly tested and optimized before opening the platform to a wider audience.
The Root Token and Community Engagement
While details about a potential Root token were not explicitly confirmed, Dhrumil hinted at its existence and suggested that interested parties should carefully read the project's light paper for "hidden alpha." This approach to community engagement demonstrates the team's commitment to rewarding early supporters and those who take the time to thoroughly research the project.
Conclusion: A New Chapter in Solana's DeFi Ecosystem
Root Protocol represents an ambitious attempt to address some of the most pressing issues in the current DEX landscape. By combining the strengths of AMMs and CLOBs, supporting custom market making strategies, and focusing on improved price discovery and MEV protection, the project has the potential to significantly impact the DeFi ecosystem on Solana.
As the project moves closer to its mainnet launch, it will be fascinating to see how market makers and traders adopt and utilize its innovative features. If successful, Root Protocol could play a crucial role in attracting more liquidity to the Solana ecosystem and fostering the next generation of DeFi applications.
The open-source nature of the project and its focus on composability align well with the ethos of the Solana ecosystem, potentially catalyzing further innovation and development in the space. As the DeFi landscape continues to evolve, projects like Root Protocol demonstrate the ongoing commitment to solving complex challenges and pushing the boundaries of what's possible in decentralized finance.
Facts + Figures
- Root Protocol aims to combine AMM and CLOB functionalities into a single, flexible DEX on Solana
- The project was founded by Dhrumil, who previously worked on Solvent Protocol, an NFT fractionalization project on Solana
- Root Protocol allows for custom market making strategies, including traditional XYK curves, concentrated liquidity positions, and advanced quantitative strategies
- The protocol aims to offer zero-slippage trades under certain conditions by allowing liquidity concentration at specific price points
- Root Protocol plans to implement on-chain mechanisms to reduce the impact of MEV attacks on liquidity providers
- The project will be open-source from day one, with an SDK available at launch to encourage composability
- Mainnet launch is expected within a few weeks of the podcast recording, starting with a closed alpha for experienced market makers
- Root Protocol is inspired by the Serum project's impact on fostering DeFi innovation on Solana
- The project aims to attract both traders and market makers, with a focus on providing tools for sophisticated liquidity provision strategies
- A potential Root token was hinted at, with "hidden alpha" supposedly present in the project's light paper
Questions Answered
What is Root Protocol?
Root Protocol is a decentralized exchange (DEX) built on Solana that combines the functionalities of automated market makers (AMMs) and central limit order books (CLOBs) into a single, flexible protocol. It aims to address liquidity fragmentation issues while offering enhanced capabilities for market makers and traders. The protocol supports custom market making strategies and focuses on improving price discovery and reducing MEV attacks.
How does Root Protocol differ from existing DEXs?
Root Protocol differentiates itself by combining AMM and CLOB functionalities in a single protocol, unlike most existing DEXs that focus on one or the other. This hybrid approach allows for greater flexibility in liquidity provision and trading strategies. Additionally, Root Protocol supports custom market making strategies, potentially offers zero-slippage trades, and implements mechanisms to reduce MEV attacks, making it a more versatile and efficient platform for both traders and market makers.
What problem does Root Protocol solve in terms of price discovery?
Root Protocol addresses the issue of inefficient price discovery in existing DEXs by allowing price corrections on its liquidity pool without necessitating a trade. This approach reduces the likelihood of stale prices and toxic flow that can occur when arbitrageurs are unable to profitably update prices on decentralized exchanges. By enabling liquidity provision within the bid-ask spread, similar to traditional order books, Root Protocol aims to create a more efficient and responsive pricing mechanism.
How does Root Protocol plan to protect against MEV attacks?
While specific details were not disclosed, Root Protocol aims to implement on-chain mechanisms to reduce the impact of Maximal Extractable Value (MEV) attacks on liquidity providers. The protocol is designed to make certain types of MEV attacks, such as "just-in-time liquidity" attacks common on other platforms, significantly more difficult to execute. This approach is intended to create a fairer environment for long-term liquidity providers and reduce the potential for value extraction by MEV bots.
When is Root Protocol expected to launch?
According to the podcast, Root Protocol's mainnet launch was expected within a few weeks of the recording. The team plans to start with a closed alpha testing phase involving experienced market makers, gradually opening up to more users as the platform stabilizes. While an exact date was not provided, the smart contract was reported to be ready, with the team working on finalizing the remaining aspects of the codebase and conducting thorough testing.
How does Root Protocol support custom market making strategies?
Root Protocol offers a flexible infrastructure that allows market makers to implement a wide range of strategies within a single protocol. This includes traditional XYK (constant product) curves, concentrated liquidity positions similar to Uniswap v3, advanced quantitative strategies using limit orders, and the ability to automate custom strategies. By providing this versatility, Root Protocol aims to attract sophisticated market makers and potentially increase overall market efficiency.
Is there a Root token, and how can one participate in potential token distribution?
While not explicitly confirmed, the podcast hinted at the existence of a Root token. The project's founder, Dhrumil, suggested that interested parties should carefully read the project's light paper for "hidden alpha" that could potentially be used to participate in a future token distribution. This approach indicates a desire to reward early supporters and those who thoroughly research the project, although specific details about the token and its distribution were not provided.
On this page
- The Genesis of Root Protocol
- The Root Protocol Vision
- Addressing Inefficient Price Discovery
- Combining AMM and CLOB Functionalities
- Custom Market Making Strategies
- Improved Slippage and MEV Protection
- Target Audience and Use Cases
- Composability and Open-Source Approach
- Launch Plans and Future Developments
- The Root Token and Community Engagement
- Conclusion: A New Chapter in Solana's DeFi Ecosystem
- Facts + Figures
-
Questions Answered
- What is Root Protocol?
- How does Root Protocol differ from existing DEXs?
- What problem does Root Protocol solve in terms of price discovery?
- How does Root Protocol plan to protect against MEV attacks?
- When is Root Protocol expected to launch?
- How does Root Protocol support custom market making strategies?
- Is there a Root token, and how can one participate in potential token distribution?
Related Content
Building Binance On-Chain | Cindy Leow & Chris Heaney, Drift Protocol
Discover how Drift Protocol is building the future of decentralized perpetual futures trading on Solana, aiming to rival centralized exchanges like Binance.
From Fat to Fit with Moonwalk and Midcurve | ep. 24
Discover how Moonwalk Fitness is gamifying health on Solana, offering crypto rewards for fitness goals and expanding to mainstream users with new mobile apps.
The Case for Onchain Options Trading w/ Lev & Serge from DeVol
Discover how DeVol Network is leveraging Solana's speed and efficiency to create a fully on-chain options trading platform, offering fairness and innovation in the DeFi space.
Level Up. Go Crankless. w/ Jarry Xiao (Ellipsis Labs)
Discover how Phoenix is transforming DeFi with its innovative crankless order book design, offering unparalleled capital efficiency and market maker benefits on Solana.
The Case for Onchain Options Trading w/ Lev and Serge from DeVol Network
Discover how DeVol Network is leveraging Solana's speed and efficiency to create a fully on-chain options trading platform, offering complex orders and fair market dynamics.
How Ore Broke Solana | Hardhat Chad
Discover how Ore, a groundbreaking proof-of-work token on Solana, aims to solve fair launch problems and revolutionize token distribution in crypto.
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.
Wtf is StakeNet with Architect Evan | ep. 18
Discover how Jito's StakeNet is transforming Liquid Staking Tokens on Solana, enhancing decentralization and transparency in validator selection and stake delegation.
Teleport: Breaking Big Tech's Network Effect | Paul Bohm
Discover how Teleport is leveraging Solana to create a decentralized ride-sharing protocol that could disrupt the industry and onboard millions to crypto.
How Pyth Propagates Financial Data At The Speed of Light | Mike Cahill
Discover how Pyth Network is transforming the oracle landscape, bringing real-time financial data to blockchain with unparalleled speed and accuracy.
Drift Protocol: Fusing CEX Agility with DEX Integrity on Solana
Drift Protocol introduces novel ways to improve DeFi by creating a hybrid CEX-DEX experience on the Solana blockchain.
CODE: The Simplest Way To Send Money
Discover how CODE is simplifying crypto payments with instant, private transactions on Solana. Learn about their innovative L2 solution and plans for web-based micro-payments.
Validated | An Open-Source Toolset for Token Infrastructure w/ Tommy Johnson
Discover how Armada is transforming token launches and infrastructure on Solana with open-source tools for sustainable tokenomics and governance.
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.
DRiP: Crypto's Best Shot At Mainstream Adoption | Vibhu Norby
Explore how DRiP is transforming NFT distribution and creator economics on Solana, with insights from founder Vibhu Norby on mainstream crypto adoption.
- Our Validator
- Borrow / Lend
- Liquidity Pools
- Token Swaps & Trading
- Yield Farming
- Solana Explained
- Is Solana an Ethereum killer?
- Transaction Fees
- Why Is Solana Going Up?
- Solana's History
- What makes Solana Unique?
- What Is Solana?
- How To Buy Solana
- Solana's Best Projects: Dapps, Defi & NFTs
- Choosing The Best Solana Validator
- Staking Rewards Calculator
- Liquid Staking
- Can You Mine Solana?
- Solana Staking Pools
- Staking On Solana
- How To Unstake Solana
- How To Unstake Solana
- How validators earn
- Best Wallets For Solana