Sign up for Sanctum wonderland and earn points for holding compassSOL! Sign up

Liquid Stake with compassSOL for an 9.77% 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

Breakpoint 2023: OpenBook v2

Rebuilding Decentralized Finance Post-FTX Crisis: The Launch of OpenBook v2

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

Summary

In the wake of the FTX collapse and potential security vulnerabilities in DeFi platforms, the Solana community responded rapidly with the development of OpenBook v2, a decentralized order book protocol. The necessity for a secure, efficient, and community-driven alternative to Serum, the previously dominant liquidity platform, led to immediate collaborative efforts. OpenBook v2 emerges as a public good, offering unique solutions to challenges faced by decentralized finance and exemplifying the fast-paced, innovative spirit prevalent in the crypto community.

Key Points:

The FTX Fallout and Community Response

The sudden breakdown of FTX, a key player in the cryptocurrency exchange space, stirred concerns about compromised security keys and impacts on Serum, Solana's central liquidity platform. The rapid response from the Solana ecosystem demonstrates resilience and adaptability. Within hours, a 200-strong cohort began working on integrating a new system. This pivot exemplifies the sector's ability to quickly mobilize and innovate in the face of adversity, confirming the strength and dedication of the decentralized finance community.

OpenBook v2: Bespoke Design and Features

OpenBook v2 was borne out of necessity, but features community governance and operates as a pure public good. Markedly different from its predecessor Serum, OpenBook operates without extracting fees at the protocol level, allowing developers to build user interfaces and monetize them independently. The transition marked by rising trading volumes underscores the protocol's promising growth. Importantly, despite the urgency of deployment, the key concern of security was not overlooked, with community multi-signature keys adding a layer of trustworthiness.

Technical Innovations and Challenges

Central to OpenBook's design is the debate over using a "crank," a component critical to the order matching process on blockchain networks, which can limit throughput during high-volume trading sessions. Version 2 introduces a hybrid crank design purporting to settle the majority of trades instantly, with the crank handling exceptions. This nuanced approach is expected to enhance performance while maintaining the capability for anyone to match trades at any time.

The Importance of On-Chain Order Books

The transcript underlines a key philosophical stance of DeFi — the resistance toward trusted or centralized hardware. Achieving higher throughput by building the matching engine on-chain is a core goal and a conviction that DeFi should not sacrifice principles for performance. OpenBook v2 is portrayed as a step in this direction by optimizing the on-chain components and leveraging the capabilities of the Solana blockchain, recognized for its speed in the crypto space.

Facts + Figures

  • Serum, before its downfall, was trading at $700 million in daily volume.
  • In response to the FTX breakdown, it took only hours for the community to mobilize over 200 personnel towards developing an alternative.
  • OpenBook v2's launch was without changes to the initial code due to the urgency of deployment.
  • The OpenBook v2 is unmonetized at the protocol level, which is a significant strategic decision in the DeFi ecosystem.
  • A $25,000 prize pool was awarded during the Hyperdrive hackathon to incentivize further development on the OpenBook v2 platform.
  • Established Solana-based projects such as Jupiter, Mango, and Radium have integrated with OpenBook v2.
  • OpenBook v2 utilizes a new hybrid crank design aimed at reducing trade settlement latencies.
  • It is paramount for the protocol to be a decentralized on-chain order book, avoiding reliance on trusted or centralized hardware.
  • The effort to develop OpenBook v2 involved intense code optimization, including analysis of assembly-level bytecode.
  • Tools like fuzzing are highlighted as beneficial in developing secure and robust open-source projects.

Top quotes

  • "It was amazing to see the community in this absolute bottom point of like motivation, right, in the aftermath of FTX come together and build something new."
  • "OpenBook is far from there [Serum's peak], but it's constantly growing, more people are integrating."
  • "It's completely unmonetized protocol."
  • "Probably 90% of the trades won't need to be cranked. They will just be instantly settled."
  • "We want more throughput, and we don't want to rely on trusted hardware. And the only way to achieve that, right, is build the matching engine on chain."
  • "It's an incredibly optimized design."
  • "I really recommend it to everyone... You know, the developers loved it. It found so many bugs."

Questions Answered

What is OpenBook v2?

OpenBook v2 is a new decentralized order book protocol developed by the Solana community as a response to the FTX collapse and security issues with Serum. It operates as a community-governed, public good and is designed to provide a secure and efficient platform for DeFi trading without relying on centralized control.

Why was OpenBook v2 created?

The necessity for OpenBook v2 arose from the shutdown of FTX and potential compromises that affected Serum, the backbone of liquidity for Solana DeFi. The community came together to create an alternative that would continue to enable decentralized trading without compromising the security and ideals of DeFi.

How does OpenBook v2 differ from its predecessor?

OpenBook v2 is designed as an unmonetized protocol, where no fees are retained by the system itself, contrasting with its predecessor, Serum. Developers can build and monetize their own user interfaces for the protocol. Additionally, OpenBook v2 introduces a new hybrid crank design for improved performance.

Why is maintaining an on-chain order book important for DeFi?

DeFi is characterized by its commitment to decentralization and security. Maintaining an on-chain order book is essential for OpenBook v2 because it ensures no reliance on trusted or centralized hardware, aligning with the philosophy that DeFi platforms should operate transparently, with open-source code, and without single points of failure.

What steps are being taken to ensure OpenBook v2's security and efficiency?

Security tools like fuzzing, which discovers vulnerabilities, have been emphasized in the development process for OpenBook v2. On the efficiency front, significant code optimization work has been undertaken, including the fine-tuning of bytecode, to ensure the platform operates quickly and reliably.