Solana Changelog July 18 - Active Stake Sysvar and Generating IDLs
Explore the latest Solana developments including a new SIMD proposal for active stake queries, improvements to Anchor IDL generation, and the launch of Switchboard Functions for off-chain code execution.
Solana Changelog: Active Stake Sysvar, IDL Generation, and Switchboard Functions
In the latest episode of the Solana Changelog, John and Jacob from the Solana Foundation DevRel team discuss exciting developments in the Solana ecosystem. This week's highlights include an upcoming community-led hackathon, a new SIMD proposal for querying active stake, improvements to Anchor's IDL generation, and the launch of Switchboard Functions. Let's dive into these topics and explore their implications for the Solana ecosystem.
The "Only Possible on Solana" Hackathon
The Solana community is gearing up for an exciting event - the "Only Possible on Solana" hackathon, scheduled to run from August 1st to August 21st. This community-led initiative aims to showcase the unique capabilities of the Solana blockchain and inspire developers to create innovative applications that leverage its strengths.
Jacob emphasized the significance of this hackathon, stating, "This hackathon is really good for anybody that wants to build something within the Solana community. And I love the theme 'Only Possible on Solana'. There's a lot of things that Solana enables, for example, just take the easy and simple example of consumer level applications."
The hackathon presents an excellent opportunity for developers to demonstrate their creativity and technical skills while building on Solana. It's particularly beneficial for those who are new to the ecosystem or have been considering developing on Solana but haven't taken the plunge yet. As Jacob noted, "This is the perfect place to showcase your product, build something cool and get in front of a lot of new people that have never seen anything on Solana before."
The "Only Possible on Solana" theme encourages participants to explore and utilize Solana's unique features, such as its high throughput, low transaction costs, and composability. These characteristics enable developers to create applications that may not be feasible or practical on other blockchain platforms.
For aspiring Solana developers, this hackathon offers a golden opportunity to dive into the ecosystem, learn from experienced developers, and potentially gain recognition for their innovative ideas. The event is likely to attract a diverse range of participants, from seasoned blockchain developers to newcomers eager to explore the potential of Solana.
SIMD Proposal: Active Stake Sysvar
One of the key topics discussed in this episode is a new Solana Improvement Document (SIMD) proposal. This proposal focuses on introducing a sysvar that would allow on-chain programs to query the percentage of stake per vote account on the Solana cluster.
Jacob explained the proposal: "This week's proposal is, I believe it is about SISFARs for figuring out the active stake on the cluster. So this proposal is still being discussed. It's not an accepted proposal yet. What this proposal outlines is a SISFAR that allows you to on-chain query the percentage stake per vote account on the cluster."
The proposed sysvar would provide valuable information about the distribution of stake across different validators on the Solana network. This data could be utilized in various ways within smart contracts and decentralized applications (dApps).
Jacob highlighted some potential use cases: "You can think of different applications for this. You can think of doing things with staking with this, understanding doing more things with the validators and their vote accounts on chain within programs. So this will enable a lot more things on chain, specifically with different validators and what their percentage of stake on the network is."
By making this information available on-chain, the proposal aims to enhance the capabilities of Solana programs, particularly in areas related to staking, validator interactions, and network governance. Developers could leverage this data to create more sophisticated staking protocols, implement validator-aware features, or design new governance mechanisms that take into account the distribution of stake across the network.
It's important to note that this proposal is still in the discussion phase and has not yet been accepted. The Solana community is encouraged to review the proposal and contribute to the ongoing conversation. Jacob emphasized the open nature of the discussion: "If you want to join into the conversation or the discussion, just go to the SIMD under the Solana Improvement Documents repository and join the discussion. Add your comments. Let's see where we can get with this."
This proposal demonstrates the continuous efforts within the Solana ecosystem to improve and expand the capabilities of the blockchain. By proposing new features and improvements, the community ensures that Solana remains at the forefront of blockchain technology, offering developers and users an ever-expanding toolkit for building and interacting with decentralized applications.
Anchor IDL Generation Improvements
Another significant development highlighted in this episode is an update to how Anchor generates its Interface Description Language (IDL) files. Anchor, a popular framework for building Solana programs, is receiving improvements that will streamline the process of interacting with Anchor-based programs and enhance overall composability.
John detailed the commit: "The commit highlight of the week has to do with updates to how Anchor generates its IDL. This new update will enable inclusion of external types to the IDL, add support for generics, and overall is a basis for including more info in the IDL to remove simple plate from the client side when working with Anchor programs."
These improvements to IDL generation are set to have a significant impact on Solana development. By including external types and supporting generics, the new IDL generation process will provide more comprehensive and accurate representations of Anchor programs. This enhanced information will be particularly beneficial for client-side development, reducing the need for boilerplate code and simplifying the process of interacting with Anchor programs.
The update also marks a shift in how IDLs are generated. Jacob noted, "This is kind of like generating the IDL outside of the program build, right? It's like you don't have to run Anchor build to generate the IDL anymore, which would also build the program itself. It can generate based off of, I believe, like the macros."
This change in the IDL generation process offers several advantages:
- Faster Development: Developers can now generate IDLs without rebuilding the entire program, potentially speeding up the development process.
- Improved Flexibility: The ability to generate IDLs based on macros provides more flexibility in how program interfaces are defined and documented.
- Enhanced Composability: With more detailed IDLs, it becomes easier for different Solana programs to interact with each other, fostering greater composability within the ecosystem.
- Simplified Client Development: The inclusion of more information in the IDL reduces the amount of boilerplate code needed on the client side, making it easier to develop front-end applications that interact with Solana programs.
These improvements to Anchor's IDL generation process represent a significant step forward for Solana development. By simplifying the interaction between programs and clients, and enhancing the overall developer experience, these updates contribute to making Solana an even more attractive platform for building decentralized applications.
Switchboard Functions: Off-Chain Execution with On-Chain Verification
The final major topic discussed in this episode is the recent release of Switchboard Functions. Switchboard, known for its oracle solutions in the Solana ecosystem, has introduced a new feature that allows developers to execute arbitrary code off-chain and securely bring the results on-chain.
John introduced the feature: "Switchboard released this past week. Switchboard functions. So, Switchboard functions is kind of like a way that you can take any amount of code and be able to execute it off-chain and then using their Oracle solution, be able to verify and put that information on-chain."
Switchboard Functions represents a significant advancement in bridging the gap between off-chain computation and on-chain verification. This feature opens up new possibilities for developers, enabling them to perform complex computations or access external data sources without the limitations of on-chain execution, while still maintaining the security and trustlessness of blockchain technology.
The flexibility of Switchboard Functions is one of its key strengths. As John noted, "It's really cool since it's like any code." This means developers are not limited to predefined operations or data sources. They can write custom code to perform a wide range of tasks, from complex calculations to API calls, and then bring the results on-chain in a verifiable manner.
While the feature is new and its full potential is yet to be explored, John suggested some potential applications: "There's probably a lot of different things you can do with games. I know the Game Jam is this week. So if you want to try using Switchboard Oracle's or the functions within the Game Jam, definitely try it out."
Some potential use cases for Switchboard Functions could include:
- Gaming: Implementing complex game logic off-chain while maintaining on-chain state and verification.
- DeFi: Performing intricate financial calculations or risk assessments off-chain and bringing the results on-chain for use in DeFi protocols.
- Data Analysis: Analyzing large datasets off-chain and providing summarized or processed data to on-chain applications.
- AI/ML Integration: Running machine learning models off-chain and utilizing the predictions or insights in on-chain applications.
- External API Integration: Fetching and processing data from various external APIs and bringing verified results on-chain.
The introduction of Switchboard Functions aligns well with Solana's focus on high performance and scalability. By allowing complex computations to occur off-chain, it helps prevent blockchain bloat and keeps on-chain operations lean and efficient. At the same time, the Oracle-based verification ensures that the results of these off-chain computations can be trusted and used securely within on-chain applications.
As developers begin to explore and experiment with Switchboard Functions, we can expect to see innovative use cases emerge. This feature has the potential to significantly expand the capabilities of decentralized applications on Solana, enabling more complex and data-rich applications while maintaining the security and decentralization benefits of blockchain technology.
Conclusion
This episode of the Solana Changelog highlights several exciting developments in the Solana ecosystem. The upcoming "Only Possible on Solana" hackathon presents an excellent opportunity for developers to showcase their skills and push the boundaries of what's possible on the Solana blockchain. The SIMD proposal for an active stake sysvar demonstrates the ongoing efforts to enhance Solana's on-chain capabilities, potentially enabling new use cases in staking and governance.
The improvements to Anchor's IDL generation process represent a significant step forward in simplifying Solana development and enhancing program composability. These changes will likely contribute to a more streamlined and efficient development experience on Solana.
Finally, the introduction of Switchboard Functions opens up new possibilities for integrating off-chain computation with on-chain verification, potentially enabling more complex and data-rich applications on Solana.
These developments collectively underscore Solana's commitment to innovation and continuous improvement. As the ecosystem evolves, we can expect to see increasingly sophisticated and powerful applications built on Solana, further cementing its position as a leading blockchain platform for decentralized applications.
Facts + Figures
- The "Only Possible on Solana" hackathon is scheduled to run from August 1st to August 21st.
- A new SIMD proposal aims to introduce a sysvar for querying the percentage of stake per vote account on the Solana cluster.
- The proposed sysvar would enable on-chain programs to access information about stake distribution across validators.
- Anchor, a popular framework for building Solana programs, is receiving updates to its IDL generation process.
- The new Anchor IDL generation will support the inclusion of external types and generics.
- The updated IDL generation process aims to reduce boilerplate code on the client side when working with Anchor programs.
- Switchboard has released a new feature called Switchboard Functions.
- Switchboard Functions allows developers to execute arbitrary code off-chain and securely bring the results on-chain.
- The flexibility of Switchboard Functions enables its use in various applications, including gaming and DeFi.
- The Solana Game Jam is ongoing, providing an opportunity for developers to experiment with Switchboard Functions in game development.
Questions Answered
What is the "Only Possible on Solana" hackathon?
The "Only Possible on Solana" hackathon is a community-led event running from August 1st to August 21st. It aims to showcase the unique capabilities of the Solana blockchain by encouraging developers to create innovative applications that leverage Solana's strengths. The hackathon provides an opportunity for both experienced and new developers to build on Solana, demonstrate their creativity, and potentially gain recognition for their ideas.
What does the new SIMD proposal for active stake sysvar aim to achieve?
The new SIMD proposal aims to introduce a sysvar that would allow on-chain programs to query the percentage of stake per vote account on the Solana cluster. This would provide valuable information about the distribution of stake across different validators on the Solana network. The proposal, if accepted, could enable new use cases in areas such as staking, validator interactions, and network governance by making this information available on-chain.
How are Anchor IDL generation improvements enhancing Solana development?
The improvements to Anchor's IDL generation process are enhancing Solana development by enabling the inclusion of external types to the IDL, adding support for generics, and including more information in the IDL. These updates aim to reduce boilerplate code on the client side when working with Anchor programs, simplify the process of interacting with Anchor-based programs, and enhance overall composability. Additionally, the new process allows for IDL generation outside of the program build, potentially speeding up the development process.
What are Switchboard Functions and how do they benefit Solana developers?
Switchboard Functions is a new feature released by Switchboard that allows developers to execute arbitrary code off-chain and securely bring the results on-chain using their Oracle solution. This feature benefits Solana developers by enabling them to perform complex computations or access external data sources without the limitations of on-chain execution, while still maintaining the security and trustlessness of blockchain technology. Switchboard Functions can be applied to various use cases, including gaming, DeFi, data analysis, and AI/ML integration.
How does the Solana ecosystem continue to evolve and improve?
The Solana ecosystem continues to evolve and improve through various initiatives and developments. These include community-led events like the "Only Possible on Solana" hackathon, ongoing proposals for new features (such as the active stake sysvar), improvements to developer tools like Anchor, and the introduction of new capabilities like Switchboard Functions. These efforts collectively contribute to enhancing Solana's capabilities, improving the developer experience, and enabling the creation of more sophisticated and powerful decentralized applications on the platform.
Comments
Please login to leave a comment.
On this page
- The "Only Possible on Solana" Hackathon
- SIMD Proposal: Active Stake Sysvar
- Anchor IDL Generation Improvements
- Switchboard Functions: Off-Chain Execution with On-Chain Verification
- Conclusion
- Facts + Figures
-
Questions Answered
- What is the "Only Possible on Solana" hackathon?
- What does the new SIMD proposal for active stake sysvar aim to achieve?
- How are Anchor IDL generation improvements enhancing Solana development?
- What are Switchboard Functions and how do they benefit Solana developers?
- How does the Solana ecosystem continue to evolve and improve?
Related Content
How Switchboard Is Solving Crypto's Oracle Problem | Chris Hermida & Mitch Gildenberg
Discover how Switchboard is addressing the oracle problem in crypto with innovative solutions like trusted execution environments and customizable data feeds.
Solana Changelog July 18 - Active Stake Sysvar and Generating IDLs
Explore the latest Solana developments, including a new SYSVAR for active stake, improvements to Anchor IDL generation, and Switchboard's innovative off-chain functions.
Plug In With Switchboard | ep. 41
Explore Switchboard's innovative oracle network, its integration with Jito restaking, and the future of Trusted Execution Environments in crypto
Scale or Die 2025: Spilling the TEE (Doctorblocks | Switchboard)
Switchboard unveils game-changing oracle updates and confidential container framework for Solana DeFi
Tech Talk: Switchboard
Learn how Switchboard's oracle innovations and Jito BAM integration are revolutionizing DeFi trading on Solana with microsecond-level price updates
Solana DeFi Summer Is Coming | Sang Kim
Fragmetric co-founder Sang Kim explains how Solana DATs could drive restaking adoption, generate sustainable DeFi yields, and why he's more bullish on Solana restaking than Eigenlayer.
Breakpoint 2024: Product Keynote: Kinobi, Generating Web3.js Clients and Beyond
Discover Kinobi: Solana's game-changing tool for improved program accessibility and client generation across multiple languages
Solana Changelog - Mar 12 - Solana hackathon, Anza fork, Anchor IDLs, Windows support
Exciting updates in the Solana ecosystem including the Renaissance Hackathon, Anza's fork of the validator client, improvements to Anchor IDLs, and enhanced Windows support.
Breakpoint 2023: Reinventing Oracles with Switchboard's V3 Secure and Dynamic Infrastructure
Switchboard reveals its V3 Oracle infrastructure to foster growth and scalability within the Solana ecosystem.
Solana Changelog May 16 - IDL Standard, 1.14.17, and Dune Analytics
Discover the latest Solana developments, including IDL standardization, 1.14.17 release progress, and Dune Analytics integration for enhanced on-chain data analysis.
Scale or Die at Accelerate 2025: IDL Guesser (Chris Wang | Sec3)
Revolutionizing Solana development: New tool decodes closed-source programs, boosting ecosystem transparency and integration
Solana Changelog: Confidential Transfers, PubSub Upgrades, and Developer Resources
Explore Solana's latest updates including confidential transfers in token CLI, PubSub improvements, and new developer resources for cryptography and program architecture.
Breakpoint 2023: Explorers, Interpreting Information for the Masses
Key figures in the Solana ecosystem discuss the challenges and the future of data interpretation for users and developers.
Solana Changelog: Trident, Unruggable, and SyscallGetSysvar
Explore the latest Solana updates including ZK-SDK additions, core BPF program migrations, and the disabling of rent collection. Learn about new developer tools and ecosystem improvements.
Solana Changelog May 16 - IDL Standard, 1.14.17, and Dune
Explore Solana's latest developments including IDL standardization, 1.14.17 release progress, and Dune Analytics integration for enhanced on-chain data analysis.
Solana Token Markets
