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

  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.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

Breakpoint 2023: Reinventing Oracles with Switchboard's V3 Secure and Dynamic Infrastructure

Published on 2023-11-09

Switchboard reveals its V3 Oracle infrastructure to foster growth and scalability within the Solana ecosystem.

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

Summary

Mitch Gildenberg, CTO of Switchboard, spoke at Breakpoint 2023 to introduce an innovative new Oracle infrastructure, Switchboard V3, designed to enhance the functionality and security of smart contracts within the Solana ecosystem. He highlighted the need for more robust Oracle solutions that not only provide dynamic data but also align security incentives appropriately with blockchain protocols. Gildenberg detailed the new features designed to address current Oracle limitations, such as flexibility in Oracle triggers and dynamic Oracle executions, securing each Oracle with trusted execution environments (TEEs), and facilitating the integration of private data securely within blockchain applications.

Key Points

The Evolution of Switchboard and Oracle Limitations

Mitch Gildenberg retraces the journey of Switchboard since its inception in April 2021, celebrating its position as one of the top DApps on Solana. He notes the changing needs within the Oracle space and the limitations of current solutions, stressing on the static nature of existing Oracles and their inability to fully align the underlying liquidity and stakeholders' incentives. V2's feed builder was a step towards flexibility, allowing users to create custom data feeds, but now with V3, Switchboard plans to address security, versatility, and the scope of execution comprehensively.

Smart Oracles for Smart Contracts

Switchboard V3 advocates for "smart Oracles," which are capable of conducting risk assessments, liquidity information, and providing an extensive data range beyond just price feeds. This new category of Oracles encompasses data triggers, routines, and the ability to handle confidential data—all aimed to serve smart contracts with the intelligent data they require. Gildenberg emphasizes the significance of such smart data layers that help to reduce front-running risks and enhance the overall functionality of DApps.

Versatile Oracle Triggers and Dynamic Oracle Executions

The new Switchboard V3 introduces multiple triggering mechanisms for Oracle functions, including cron-based schedules for automation and request-based systems that update upon user actions. Furthermore, operators can now utilize "workers" for long-lived executions, which play a crucial role in hybrid model DApps that seek to combine the speed of centralized platforms with the trust of decentralization. Such dynamic executions not only broaden the scope for developers but also remove the limitations tied to single data points.

Facts + Figures

  • Switchboard was co-founded in April 2021 and has been a top DApp on Solana since.
  • There are currently around 300 custom data feeds supported by Switchboard's network.
  • With V3, Oracles will be secured in Trusted Execution Environments (TEEs) to ensure validated and trusted outputs.
  • Versatile triggers in V3 offer cron-based scheduling for automated tasks and request-based updates for efficient resource utilization.
  • Dynamic executions in V3 allow Oracles to perform complex transactions and deliver extensive data beyond simple price feeds.
  • V3 facilitates the integration of private data and API keys securely through confidential functions.
  • Switchboard's V3 introduces a mechanism to generate verifiable randomness for applications that require it.
  • Developers can utilize a comprehensive command line interface to easily create and test functions.

Top quotes

  • "Smart contracts need smart Oracles."
  • "Oracle's have a weaker security guarantee than the blockchains they support."
  • "No matter how much you can stake towards an Oracle, do they ever actually represent the underlying liquidity?"
  • "The versatility of Oracle triggers is key for customizability and reducing unnecessary costs."
  • "We want to have the protocols be the first one to ever be notified of price changes rather than users."
  • "It's really free for them to do anything you could imagine inside a transaction anytime one of these functions fires."
  • "We have a whole mechanism of introducing secrets into your functions as well."
  • "Smarter oracles in smart contracts need smarter Oracles."

Questions Answered

What is Switchboard V3 aiming to improve within the Oracle space?

Switchboard V3 aims to address the current limitations of Oracles, such as inflexible data triggers, insufficient security measures, and the constrained scope of execution. It introduces innovative features that ensure the alignment of security incentives, allow for versatile Oracle triggers, and support dynamic Oracle executions.

How do the new Oracle triggers in V3 provide more efficiency?

V3 introduces versatile triggers that allow for data updates based on predetermined schedules or specific user actions, thus optimizing the use of resources and reducing unnecessary costs. For example, markets that are active only during certain hours won't need continuous data updates, thus saving on transaction fees.

What are the benefits of securing Oracles with TEEs?

Trusted Execution Environments (TEEs) provide a security layer where the output from Oracle's programs can be verified, ensuring that the data produced and utilized by smart contracts is trustworthy. This reduces the risk of Oracle manipulation and enhances the overall integrity of the blockchain protocols they support.

How do dynamic Oracle executions in V3 change data feeds?

Dynamic Oracle executions in V3 allow the return of instructions for complex transactions, potentially involving large datasets, and not just a single data point. This capability opens up a range of possibilities for developers, such as incorporating risk assessments directly into data feeds or interacting with private APIs for secure data access.

Can developers easily create and test functions for V3?

Yes, with V3, developers can use a command line interface to create and test Oracle functions quickly and efficiently. This includes the ability to emulate the runtime environment locally, significantly simplifying the development and deployment process of Oracles.

Related Content

Breakpoint 2023: Phantom Quests

Phantom introduces an engaging incentive program to explore new features and understand the Solana ecosystem with Phantom Quests.

Breakpoint 2023: Bonds Can Be Interesting, Too

Introducing stable bonds on the blockchain, fostering growth and stability in the DeFi ecosystem.

Breakpoint 2023: Auditor's Panel

Insights from leading blockchain auditors on the importance of security in the Solana ecosystem.

Breakpoint 2023: When Are You Going to Get Serious About Security?

A compelling call for developers to prioritize security in the Web3 ecosystem.

Researching the Solana Ecosystem: Challenges, Learnings, and Opportunities

An exploration of the current state and future possibilities within the Solana Ecosystem

Breakpoint 2023: Solana and AWS

AWS announces infrastructure for running Solana nodes and focuses on cost optimization for blockchain applications.

Breakpoint 2023: tBTC comes to Solana

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

Breakpoint 2023: Fireside Chat with Nuseir Yassin & Akshay BD

Exploring the financial reality of content creation and the potential impact of Web3 on the creator economy.

Breakpoint 2023: Star Atlas Session

A visionary presentation on Star Atlas's intersection of gaming and blockchain on the Solana platform.

Breakpoint 2023: Gaming in Web3 Panel

Leaders in the Web3 gaming space discuss the challenges and opportunities within the industry.

Breakpoint 2023: Creating Opportunities for Artists and Collectors

A discussion on the evolving landscape of digital art and the synergistic relationship between artists and collectors in the Solana ecosystem.

Breakpoint 2023: Enabling High Performance Interoperability for Solana

Gal Stern discusses how deBridge streamlines interoperability with zero TVL for the Solana ecosystem.

Breakpoint 2023: Leveraging AI To Bolster Smart Contract Security

Discover how a security research firm is utilizing AI to enhance the security of smart contracts in blockchain.

Breakpoint 2023: The Scoop Podcast Live with Frank Chaparro & Armani Ferrante

An in-depth discussion on the fallout from FTX's collapse, the future of crypto exchanges, and the evolving Solana ecosystem.

Breakpoint 2023: Solang: Running Solidity Natively on Solana

An introduction to Solang, a tool that compiles Solidity code to run natively on the Solana blockchain.