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

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

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

Learn more

Solana Changelog Jul 31 - New Hackathon, Custom Anchor Discriminators, and Blockchain Optimizations

By Changelog

Published on 2024-07-31

Explore Solana's latest developments including the Radar hackathon, custom Anchor discriminators, ZK compression on DevNet, and blockchain optimizations in this comprehensive changelog.

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

Solana Changelog: Radar Hackathon, Custom Anchor Discriminators, and Blockchain Optimizations

In the latest Solana Changelog, hosts Jacob and Nick dive into exciting developments within the Solana ecosystem. From the announcement of a new hackathon to technical improvements in the blockchain's infrastructure, this episode covers a range of topics that highlight Solana's ongoing evolution and commitment to developer experience.

Radar Hackathon: A New Frontier for Solana Developers

The Solana ecosystem is gearing up for its next major event: the Radar hackathon. Scheduled to begin on September 2nd, this event is part of the biannual hackathon series that has become a cornerstone of Solana's developer community. These hackathons are known for their highly competitive nature and their ability to attract new talent to the ecosystem.

Jacob emphasizes the significance of the event, stating, "If you haven't started now, now's the time. Figure out what app you're going to build. Find your team. Get ready for Radar." The hackathon's importance is underscored by the level of participation in previous events, with over a thousand applications submitted in the last iteration.

One of the unique aspects of this hackathon is its connection to Breakpoint, Solana's annual conference. There will be a "radar-ish" section at Breakpoint, providing an opportunity for developers to form teams and collaborate in person. This integration of the online hackathon with a physical event demonstrates Solana's commitment to fostering a strong, interconnected developer community.

Nick expresses his excitement about the event, particularly the in-person element at Breakpoint. He mentions, "I'm super excited to see what people build and the in-person Breakpoint fund this that's going to be going on for the Radar hackathon." This enthusiasm reflects the broader sentiment within the Solana community about the potential for innovation and creativity that these hackathons bring.

The Radar hackathon serves multiple purposes within the Solana ecosystem. It not only encourages the development of new applications but also acts as a talent pipeline, bringing fresh perspectives and skills into the community. For established developers, it's an opportunity to showcase their abilities and potentially win recognition and prizes.

SIMD-160: Improving Developer Experience with Static Instruction Limits

An important technical update discussed in the changelog is SIMD-160, which introduces a static instruction limit. This improvement is aimed at enhancing the developer experience by providing earlier feedback on transaction limitations.

Jacob explains the significance of this change: "Today there is a limitation of the number of instructions on the runtime that you can have in a single transaction. Make it fail earlier instead of like going through all of the motions of checking it." This earlier failure notification allows developers to understand their limitations more quickly and adjust their code accordingly.

The implementation of SIMD-160 is a clear example of Solana's focus on developer experience (DevX). By providing more immediate feedback on instruction limits, developers can iterate faster and create more efficient transactions. This improvement aligns with Solana's broader goal of making blockchain development more accessible and user-friendly.

Nick agrees with the importance of this update, stating, "Bullish on DevX improvements." This sentiment reflects the wider Solana community's appreciation for changes that streamline the development process and make it easier to build on the platform.

The static instruction limit is particularly important in the context of Solana's high-performance blockchain. With the ability to process thousands of transactions per second, having clear and early indicators of transaction limitations becomes crucial for maintaining the network's efficiency and preventing unnecessary computational work.

Optimizing Account Indexing: A Small Change with Big Implications

One of the more technical updates discussed in the changelog relates to account indexing within transactions. Nick highlights a commit from Jeff Washington at ANSA that optimizes how accounts are indexed: "Right now they're using two bits, but we only actually need one bit. So fairly straightforward. Let's reduce that to only use one bit."

While this change might seem minor at first glance, its implications for the Solana network are significant. As Nick points out, "One bit doesn't sound like a lot, but if you're processing thousands of transactions a second, that one bit at a time adds up pretty quickly." This optimization demonstrates Solana's commitment to continual improvement, even at the most granular levels of the blockchain's architecture.

Jacob notes that this change is specific to the Agave implementation of Solana, as Firedancer (another Solana client) uses a different type of account indexing. This distinction highlights the diverse ecosystem of Solana clients and the ongoing work to optimize each implementation.

The fact that such a small change can have a noticeable impact on network performance underscores the importance of continuous optimization in blockchain technology. As Solana aims to maintain its position as a high-performance blockchain, these incremental improvements play a crucial role in enhancing overall efficiency and scalability.

Custom Anchor Discriminators: Enhancing Flexibility for Developers

One of the most exciting developments discussed in the changelog is the upcoming support for custom discriminators in Anchor, Solana's popular development framework. This change promises to give developers more control over how they structure their accounts and manage data on the blockchain.

Jacob explains the significance of this update: "Eight bytes is a lot of bytes per account when you only have 1232 bytes total for a transaction. So let's allow you to not have those if you want to." This change will allow developers to optimize their use of account space, potentially leading to more efficient and cost-effective applications.

The introduction of custom discriminators in Anchor represents a shift towards greater flexibility in the framework. As Jacob notes, "You can have no discriminator and do all the account checks yourself if you really wanted to. It's a cost-saving mechanism as well." This flexibility allows developers to make trade-offs between convenience and optimization based on their specific needs.

Nick highlights how this change could benefit developers working with native Solana programs: "It'll especially be interesting for people that want to use native. They can actually, in theory, use the rest of the Anchor stuff that they want because they'll be able to set their own discriminators, which is amazing." This bridging of the gap between Anchor and native development could lead to more diverse and optimized applications in the Solana ecosystem.

The custom discriminator feature is expected to be included in Anchor 31, the next major update to the framework. While the exact release date is not yet known, the community is eagerly anticipating this enhancement to one of Solana's core development tools.

ZK Compression: Advancing to DevNet

A significant milestone in Solana's technological roadmap is the advancement of ZK compression to the DevNet environment. This technology, developed by Light Protocol and Helius, promises to enhance the efficiency of data storage and transmission on the Solana blockchain.

Jacob expresses enthusiasm about this development: "The ZK compression stack from Light Protocol and Helius is now on DevNet. We've talked about this when it launched on TestNet a little while ago, but they're progressing along pretty smoothly, it seems, and now they're on DevNet and eventually on mainnet." This progression from TestNet to DevNet represents a crucial step towards the eventual mainnet implementation of ZK compression.

The potential of ZK compression is significant, as Jacob points out: "You can compress any PDA." This capability could lead to more efficient use of blockchain storage and potentially reduce transaction costs for complex applications. The hosts even suggest the possibility of demonstrating this technology in a future stream, indicating the level of interest and potential impact of this feature.

The move to DevNet allows for more extensive testing and integration of ZK compression with existing Solana applications. This phase is crucial for identifying any potential issues or optimizations before the technology is deployed to the mainnet. The smooth progress of ZK compression through Solana's development environments is a positive sign for the technology's future on the platform.

Solana StackExchange: Fostering Community Knowledge

The changelog also highlights the importance of the Solana StackExchange, a platform where developers can ask and answer questions related to Solana development. Jacob mentions the weekly rankings, noting familiar names at the top: "We have Ari and John and Jimmy with familiar faces on the top three. Nick and Mark. We have also, I've never seen Eric here. So I'm glad we see new faces."

The presence of new contributors on the StackExchange leaderboard is seen as a positive sign for the growth and diversity of the Solana developer community. Jacob encourages more developers to participate: "If you're a developer wanting to contribute back to the ecosystem, this is the easiest way to do it. Just answer questions on StackExchange or ask good questions on StackExchange so that we can make the developer experience better whenever you're looking up your issue when building."

The Solana StackExchange serves as a valuable resource for developers at all levels. It not only helps individuals solve specific problems but also contributes to the collective knowledge of the community. By encouraging participation in this platform, Solana is fostering a culture of knowledge sharing and mutual support among its developers.

The Importance of Continuous Improvement

Throughout the changelog, a common theme emerges: Solana's commitment to continuous improvement. From small optimizations in account indexing to major features like custom Anchor discriminators and ZK compression, each update contributes to making Solana a more efficient, flexible, and developer-friendly blockchain platform.

The variety of updates discussed in this changelog demonstrates the multifaceted approach Solana is taking to enhance its ecosystem. Technical optimizations improve the blockchain's performance and efficiency, while developer-focused updates like custom Anchor discriminators and improved error handling make it easier for developers to build on Solana.

Community initiatives like the Radar hackathon and the promotion of StackExchange participation show that Solana recognizes the importance of its developer community in driving innovation and adoption. By providing opportunities for developers to showcase their skills, collaborate, and share knowledge, Solana is nurturing a vibrant ecosystem that can drive the platform's growth and evolution.

Looking Ahead

As Solana continues to evolve, the changes discussed in this changelog provide a glimpse into the platform's future direction. The focus on developer experience, performance optimization, and cutting-edge technologies like ZK compression suggests that Solana is positioning itself to meet the growing demands of the blockchain industry.

The upcoming Radar hackathon, in particular, represents an exciting opportunity for the Solana community. It not only provides a platform for developers to create innovative applications but also serves as a catalyst for bringing new talent and ideas into the ecosystem. The integration of the hackathon with the Breakpoint conference further demonstrates Solana's commitment to fostering a strong, interconnected community.

As these updates and initiatives progress, they promise to enhance Solana's position as a leading blockchain platform. The continuous improvement in both technical capabilities and developer tools, combined with a thriving community, sets the stage for Solana's continued growth and success in the dynamic world of blockchain technology.

Conclusion

The Solana Changelog for July 31 provides a comprehensive overview of the latest developments in the Solana ecosystem. From the announcement of the Radar hackathon to technical improvements in account indexing and Anchor discriminators, these updates reflect Solana's commitment to innovation and developer empowerment.

The advancement of ZK compression to DevNet marks a significant milestone in Solana's technological roadmap, promising enhanced efficiency in data management. Meanwhile, the ongoing support for community initiatives like the Solana StackExchange underscores the importance of knowledge sharing and collaboration within the ecosystem.

As Solana continues to evolve, these updates and initiatives pave the way for more efficient, flexible, and developer-friendly blockchain applications. The future looks bright for Solana, with each changelog bringing new improvements and opportunities for developers and users alike.

Facts + Figures

  • Radar hackathon announced, starting September 2nd
  • Previous Solana hackathon received over 1000 applications
  • SIMD-160 introduces static instruction limit for earlier transaction failure notification
  • Account indexing optimized from 2 bits to 1 bit in Agave implementation
  • Custom Anchor discriminators to be introduced in Anchor 31
  • ZK compression from Light Protocol and Helius now on DevNet
  • ZK compression allows compression of any PDA (Program Derived Address)
  • Solana StackExchange weekly rankings feature both familiar and new contributors
  • Solana capable of processing thousands of transactions per second
  • Transactions on Solana have a limit of 1232 bytes
  • Anchor currently uses 8 bytes for discriminators in accounts
  • Custom discriminators in Anchor will allow for more flexible account structures
  • Solana has multiple client implementations, including Agave and Firedancer
  • Breakpoint conference will feature a section related to the Radar hackathon
  • Solana focuses on continuous improvement in both technical and community aspects

Questions Answered

What is the Radar hackathon?

Radar is the upcoming Solana hackathon scheduled to begin on September 2nd. It's part of Solana's biannual hackathon series, known for its highly competitive nature and ability to attract new talent to the ecosystem. The event provides an opportunity for developers to build innovative applications on Solana, compete for prizes, and potentially gain recognition within the community. This iteration of the hackathon will also have a connection to the Breakpoint conference, offering in-person networking and team-forming opportunities.

What is SIMD-160 and how does it improve the developer experience?

SIMD-160 introduces a static instruction limit that improves the developer experience by providing earlier feedback on transaction limitations. This change allows developers to understand sooner if their transaction will fail due to exceeding the instruction limit, rather than going through all the motions of checking it later in the process. By failing earlier, developers can more quickly iterate on their code and create more efficient transactions, ultimately streamlining the development process on Solana.

How is Solana optimizing account indexing?

Solana is optimizing account indexing by reducing the number of bits used from two to one in the Agave implementation. While this may seem like a small change, it has significant implications for network efficiency when processing thousands of transactions per second. This optimization demonstrates Solana's commitment to continual improvement, even at the most granular levels of the blockchain's architecture, contributing to overall network performance and scalability.

What are custom Anchor discriminators and why are they important?

Custom Anchor discriminators are an upcoming feature in the Anchor development framework that will allow developers more control over how they structure their accounts and manage data on the blockchain. This feature is important because it gives developers the flexibility to optimize their use of account space, potentially leading to more efficient and cost-effective applications. Developers will have the option to use no discriminator at all and handle account checks themselves, providing a cost-saving mechanism and bridging the gap between Anchor and native Solana development.

What is ZK compression and what stage of development is it in for Solana?

ZK compression is a technology developed by Light Protocol and Helius that enhances the efficiency of data storage and transmission on the Solana blockchain. It allows for the compression of any Program Derived Address (PDA). As of this changelog, ZK compression has advanced to the DevNet stage of development, which is a significant step towards eventual mainnet implementation. This progression indicates that the technology is maturing and closer to being available for widespread use in Solana applications.

How does Solana encourage community participation in knowledge sharing?

Solana encourages community participation in knowledge sharing primarily through the Solana StackExchange platform. This is a question-and-answer site where developers can ask and answer questions related to Solana development. The platform features weekly rankings to recognize top contributors, and the community actively encourages both asking good questions and providing helpful answers. This initiative fosters a culture of knowledge sharing and mutual support among Solana developers, contributing to the overall growth and expertise of the community.

What is the significance of the Breakpoint conference for the Solana ecosystem?

The Breakpoint conference is Solana's annual event that plays a significant role in the ecosystem. For the upcoming Radar hackathon, Breakpoint will feature a "radar-ish" section, providing an opportunity for developers to form teams and collaborate in person. This integration of the online hackathon with a physical event demonstrates Solana's commitment to fostering a strong, interconnected developer community. Breakpoint serves as a hub for networking, knowledge sharing, and showcasing the latest developments in the Solana ecosystem.

How is Solana working to improve the developer experience?

Solana is continuously working to improve the developer experience through various initiatives. These include technical improvements like SIMD-160 for earlier error detection, the introduction of custom Anchor discriminators for more flexible account management, and optimizations in blockchain infrastructure. Additionally, Solana supports community-driven knowledge sharing through the StackExchange platform and organizes events like hackathons to foster innovation and collaboration. These efforts collectively aim to make blockchain development on Solana more accessible, efficient, and user-friendly.

Related Content

Solana Changelog - Agave Client, Compute Optimization, and Create-Solana-Program

Explore Solana's latest developments including the Agave validator client, compute optimization strategies, and new tools like Create-Solana-Program in this comprehensive changelog.

Solana Changelog March 14 - Tiered Account Storage, Debugging Programs, and Anchor

Explore Solana's latest developments including tiered account storage, program debugging, and major Anchor updates in this comprehensive changelog.

Solana Changelog - January 24, 2023 - Bankless Leader, Explorer Updates, Nonvote RPC

Explore Solana's latest developments including the Bankless Leader proposal, Explorer updates, and impressive developer ecosystem growth in this comprehensive changelog.

Solana Changelog - Token Extensions and Transaction Size Fees

Explore Solana's latest developments including token extensions, transaction size fees, and the upcoming Mountain Dew 5 event in this comprehensive changelog.

Solana Changelog - January 24, 2023 - Bankless Leader, Explorer Updates, Nonvote RPC

Explore Solana's latest developments including the Bankless Leader proposal, Explorer updates, and impressive ecosystem growth in this comprehensive changelog.

Solana Changelog Jul 3 - RPC Deprecations, Actions, and Blinks

Explore Solana's latest developments including RPC method deprecations, new Actions and Blinks features, and upcoming changes to compute unit charging.

Solana Changelog - Optional Borsh, Precompiles, and new Web3.js

Explore Solana's latest developments including optional Borsh, precompiles standardization, core BPF migration progress, and exciting Web3.js updates in this comprehensive changelog.

Solana Changelog - Feature Activation, Decoupling the SVM, and Rust v1.76

Explore Solana's newest developments including feature activation schedules, SVM decoupling, Rust upgrade to v1.76, and upcoming events in this comprehensive changelog.

Solana Changelog May 31: Interfaces, Solang, and Solana ChatGPT

Explore the latest Solana developments including interfaces, Solang Compiler v0.3.0, and the new Solana ChatGPT plugin in this comprehensive changelog.

Solana Changelog - EpochStakes, SolFuzz, and Optimizations

Explore Solana's recent advancements including validator reward proposals, performance optimizations, and new developer resources in this comprehensive changelog.

Solana Changelog Jul 17 - Deprecations, Precompiles, and Developer Resources

Explore Solana's latest changes including precompile improvements, deprecated code removals, and exciting new developer resources in this comprehensive update.

Solana Changelog - October 18, 2022 - Unified Scheduler, BPF to SBF, and Thirdweb Solana!

Explore Solana's latest developments including the unified scheduler proposal, BPF to SBF migration, and Thirdweb's Solana support in this comprehensive breakdown.

Solana Changelog - August 1 - Gamejam, RWA, Quick Program Deploys

Explore the latest Solana developments including the Game Jam, RWA security token standards, and improved program deployment speeds in this week's Changelog.

Solana Changelog July 11 - Merkle Shreds, Turbine, and a Security Series

Explore Solana's latest innovations including Merkle shreds, QUIC Turbine, and crucial security insights. Learn about upcoming events and developer resources in this comprehensive update.

Solana Changelog Sep 4 - Rust Wallet Adapter, Optimized Entrypoint, and Anchor improvements

Explore the latest Solana updates including the Radar Hackathon, RPC 2.0 transition guide, and performance improvements for developers.