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

Solana Changelog - July 25 - Events, Pyre, and Anchor

By Changelog

Published on 2023-07-26

Discover the latest Solana updates including the upcoming Game Jam, SIMD57 proposal for on-chain events, and crucial Anchor improvements in this week's changelog.

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

Solana Changelog: Game Jam, SIMD57, and Anchor Updates

In this week's Solana Changelog, Jacob Creech and Jonas from the Solana Foundation Developer Relations team dive into the latest developments in the Solana ecosystem. From the exciting upcoming Game Jam to crucial proposals and improvements, this changelog covers a wide range of topics that are shaping the future of Solana development.

Solidity Integration with Solang

One of the most significant announcements this week is the introduction of Solang by Solana Labs. Solang is a groundbreaking tool that allows developers to compile Solidity smart contracts and deploy them on Solana. This integration opens up new possibilities for developers who are familiar with Solidity but want to leverage Solana's speed and efficiency.

Jonas expresses his enthusiasm for this development, stating, "I think it's really nice. Like, I always get the question from Ethereum developers, how do I use Get Functions? And now they can just write it in Solidity and don't have to figure it out on Solana themselves."

This integration is particularly beneficial for Ethereum developers who want to experience the speed of Solana without having to learn a new programming language. The Solang compiler comes with a range of examples and features that are already working, which is impressive considering its recent release.

Solana Game Jam: A Fusion of Blockchain and Gaming

The upcoming Solana Game Jam is generating a lot of excitement in the community. Scheduled to start on July 26th, this event provides an excellent opportunity for developers to showcase their creativity and build innovative blockchain games on Solana.

Jonas, who will be conducting workshops and office hours during the event, encourages participation: "Game Jam is just having fun in five days, build a small little game, have fun with it, and maybe even win something."

The Game Jam offers various resources for participants, including tutorial videos, example repositories, and Solana Games data kits. These resources cover a wide range of game types, from NFT-based games to those utilizing session keys, providing a solid foundation for developers of all skill levels.

2048 on Solana: A Case Study in Blockchain Gaming

To demonstrate the potential of blockchain gaming on Solana, Jonas showcases his implementation of the popular game 2048. This version utilizes session keys from Gum, allowing for seamless gameplay without constant transaction signing.

Jonas explains, "And as you can see, I can just move around, although I don't sign anything. And this is because the session key is used to sign your transactions." This implementation also incorporates NFTs for game state storage and features a leaderboard, showcasing the versatility of Solana for gaming applications.

The 2048 game serves as an excellent example for the upcoming Game Jam, demonstrating how traditional games can be enhanced with blockchain technology. Jonas emphasizes the benefits of on-chain logic: "This is finally a use case where you should have your game on-chain, because you can never trust the client. And like this, if you have all the logic on-chain, then you trust the smart contract, which is way better."

SIMD57: Revolutionizing Event Logging on Solana

The SIMD57 proposal, discussed in the recent core community call, aims to revolutionize event logging on Solana. This proposal introduces a new way of handling on-chain events, addressing the limitations of the current logging system.

Jonas highlights the significance of this proposal: "I think this is a great thing that you have events on chain. Like for example, from the 7c's game that we had recently, if you want to have certain events, game events, you need to put them all into an array, into a vector, into an account, and then listen to them via web socket, for example. And now if you have like a proper event on chain, then you can just listen to all these events and use these instead of like building it yourself with every application that you're having."

The current state of event logging on Solana involves using logs, which can be unreliable due to truncation and other issues. SIMD57 aims to provide a more robust and standardized approach to event handling, potentially changing the way smart contracts are developed on Solana.

Anchor Updates: Addressing Compatibility Issues

The Solana community has been grappling with compatibility issues between different versions of Anchor and Solana. This week's changelog highlights several important updates aimed at resolving these challenges.

One significant update is the compilation fix for Anchor with Solana 1.14. This fix ensures backward compatibility between Anchor versions 1.16 and 1.14, specifically addressing issues with the Anchor client.

Jonas shares his personal experience with these compatibility issues: "First of all, I want to tell everyone if you're having these problems and you're annoyed by them, you're not alone. I also fought with them a lot in the last week."

Another crucial update involves implementing Borsh traits on PubKey in Solana 1.16. This change addresses a common error where traits for PubKey were not implemented, causing frustration for many developers.

Future Improvements in Dependency Management

Looking ahead, Solana Labs is taking steps to improve dependency management by separating certain components from the main monorepo. Jonas explains, "Solana Labs is pulling out some things out of the mono repo, specifically the dev tools and the SDK. And what this means is that there will be different release passes now for different things in the Solana and Solana. And this makes fixing these issues way faster and way easier because they're independent from big releases."

This change will allow for more flexible and targeted updates, following semantic versioning patterns. It should make it easier for developers to manage dependencies and avoid breaking changes in their smart contracts.

Pyre by Helius: A New Learning Platform for Solana

The resource of the week is Pyre, a new learning platform developed by Helius. Pyre combines elements of Code Academy with Solana-specific tutorials, focusing on teaching developers how to interact with the Solana blockchain using JavaScript and Web3 calls.

Jacob describes Pyre as "a code academy meets Solana tutorial platform," highlighting its potential to become a comprehensive learning tool for Solana development. While it currently focuses on client-side interactions, there's potential for it to expand and include smart contract development in the future.

Jonas sees the potential for Pyre to evolve further: "If that managed to somehow combine this with a playground, for example, that you can also compile in the browser, then you could build an amazing tutorial tool with this."

The Impact of Solang on Solana Development

The introduction of Solang marks a significant milestone in Solana's journey to become more accessible to a wider range of developers. By allowing Solidity smart contracts to be compiled and deployed on Solana, this tool bridges the gap between Ethereum and Solana development ecosystems.

One of the key advantages of Solang is its ability to leverage Solana's high-speed, low-cost infrastructure while using a familiar programming language. This could potentially lead to an influx of Ethereum developers experimenting with Solana, bringing their expertise and potentially porting successful Ethereum projects to the Solana ecosystem.

Moreover, the availability of Solidity on Solana could accelerate the development of cross-chain applications and foster greater interoperability between blockchain networks. As developers become proficient in building for both Ethereum and Solana, we may see innovative solutions that leverage the strengths of both platforms.

The Significance of the Solana Game Jam

The upcoming Solana Game Jam is more than just a competition; it's a catalyst for innovation in the blockchain gaming space. By providing developers with the tools, resources, and incentives to create games on Solana, this event has the potential to showcase the unique advantages of building games on a high-performance blockchain.

Solana's high throughput and low transaction costs make it an ideal platform for gaming applications that require frequent state updates and real-time interactions. The Game Jam provides an opportunity for developers to explore these capabilities and create games that would be impractical or impossible on other blockchain platforms.

Furthermore, the event serves as a learning opportunity for developers new to blockchain gaming. The workshops, office hours, and community support available during the Game Jam can help accelerate the learning curve and foster a new generation of blockchain game developers.

On-Chain Events: A Game-Changer for Solana Development

The SIMD57 proposal for on-chain events represents a significant leap forward in Solana's smart contract capabilities. By providing a standardized way to emit and listen to on-chain events, this proposal addresses one of the key pain points in Solana development.

Currently, developers often resort to workarounds like storing event data in accounts or parsing transaction logs to track important state changes. These methods can be cumbersome and unreliable, especially for applications that need to react to real-time events.

The introduction of native on-chain events could streamline development workflows, improve the reliability of dApps, and enable more complex interactions between smart contracts. This could be particularly beneficial for DeFi applications, gaming platforms, and other systems that rely on real-time data and state updates.

Addressing Dependency Issues: A Step Towards Maturity

The ongoing efforts to resolve dependency issues between different versions of Anchor and Solana demonstrate the ecosystem's commitment to improving developer experience. These updates are crucial for maintaining a stable and reliable development environment as the Solana ecosystem continues to grow and evolve.

The separation of dev tools and SDK from the main Solana monorepo is a strategic move that aligns with best practices in software development. By allowing for independent versioning and updates of these components, Solana Labs is creating a more flexible and maintainable system that can adapt more quickly to the needs of developers.

This change also reflects the maturation of the Solana ecosystem. As the platform grows and attracts more developers and projects, having a robust and reliable development toolchain becomes increasingly important. These improvements will help ensure that Solana remains an attractive platform for developers, even as it scales and evolves.

The Potential of Pyre in Solana Education

The introduction of Pyre by Helius represents an important step in making Solana development more accessible to newcomers. As the ecosystem grows, having comprehensive and interactive learning resources becomes crucial for onboarding new developers and maintaining a healthy growth rate.

Pyre's approach of combining tutorial-style content with interactive coding exercises is well-suited to teaching the intricacies of blockchain development. By focusing on practical, hands-on learning, Pyre can help bridge the gap between theoretical knowledge and practical application, which is often a challenge in blockchain education.

While currently focused on client-side interactions, the potential for Pyre to expand into smart contract development is exciting. If realized, this could provide a complete learning path for aspiring Solana developers, from basic blockchain interactions to complex smart contract development.

The Future of Gaming on Solana

The showcase of the 2048 game implementation on Solana provides a glimpse into the future of blockchain gaming. By leveraging session keys and on-chain logic, this implementation demonstrates how traditional games can be enhanced with blockchain technology without sacrificing user experience.

The use of session keys to handle frequent transactions is particularly noteworthy. This approach solves one of the main usability issues in blockchain gaming – the need for constant transaction signing. By allowing players to interact with the game seamlessly, while still maintaining the benefits of blockchain technology, this implementation points the way towards more user-friendly blockchain games.

Moreover, the incorporation of NFTs for game state storage and the ability to win SOL through gameplay showcase the unique possibilities that blockchain brings to gaming. These features can create new economic models and player incentives that are not possible in traditional gaming.

Solana's Growing Ecosystem

The diverse range of topics covered in this changelog – from new development tools to gaming initiatives and protocol improvements – highlight the vibrant and rapidly evolving nature of the Solana ecosystem. Each of these developments contributes to making Solana a more robust, developer-friendly, and versatile blockchain platform.

The introduction of Solidity support through Solang opens up Solana to a wider developer base, potentially accelerating the growth of the ecosystem. The Game Jam and the 2048 game implementation showcase Solana's potential in the gaming sector, a key area for blockchain adoption. The SIMD57 proposal and Anchor updates demonstrate the ongoing efforts to improve the core development experience on Solana.

Meanwhile, initiatives like Pyre show a commitment to education and onboarding, which are crucial for the long-term growth and sustainability of the ecosystem. Together, these developments paint a picture of a blockchain platform that is not just technically advanced, but also focused on building a strong, diverse, and skilled developer community.

Conclusion: Solana's Momentum Continues

This week's Solana changelog showcases the platform's continued momentum in various areas of blockchain development. From improving core protocol features to enhancing developer tools and fostering innovation in blockchain gaming, Solana is making strides on multiple fronts.

The introduction of Solidity support, the upcoming Game Jam, and the proposed improvements to event handling all contribute to making Solana a more attractive platform for developers. At the same time, efforts to resolve dependency issues and improve educational resources demonstrate a commitment to supporting the growing Solana developer community.

As these initiatives progress and new ones emerge, Solana is well-positioned to continue its growth as a leading blockchain platform. The combination of technical innovation, developer support, and community engagement showcased in this changelog bodes well for the future of the Solana ecosystem.

Facts + Figures

  • Solang, a new tool by Solana Labs, allows compilation of Solidity smart contracts for deployment on Solana.
  • The Solana Game Jam starts on July 26th, offering prizes and quadratic funding for the best games.
  • Jonas showcased a 2048 game implementation on Solana, using session keys for seamless gameplay.
  • The SIMD57 proposal aims to improve on-chain event logging on Solana.
  • Anchor updates include a compilation fix for compatibility between versions 1.16 and 1.14.
  • Solana Labs is separating dev tools and SDK from the main monorepo to improve dependency management.
  • Pyre by Helius is a new learning platform for Solana, focusing on JavaScript and Web3 interactions.
  • The current event logging system on Solana relies on logs, which can be unreliable due to truncation.
  • The 2048 game implementation on Solana uses NFTs for game state storage and offers SOL rewards.
  • Solana's high throughput and low transaction costs make it particularly suitable for gaming applications.

Questions Answered

What is Solang and how does it benefit Solana development?

Solang is a new tool introduced by Solana Labs that allows developers to compile Solidity smart contracts for deployment on Solana. This integration bridges the gap between Ethereum and Solana development, making it easier for Ethereum developers to leverage Solana's speed and efficiency. By supporting Solidity, Solana opens its ecosystem to a wider range of developers, potentially accelerating the growth and diversity of applications built on the platform.

When is the Solana Game Jam and what does it entail?

The Solana Game Jam starts on July 26th, 2023. It's a five-day event where developers can build small games on the Solana blockchain. The event offers prizes and quadratic funding for the best games, as well as resources like tutorial videos, example repositories, and Solana Games data kits. Participants can join workshops and office hours for support during the event. The Game Jam aims to showcase Solana's potential for blockchain gaming and foster innovation in this space.

What is the SIMD57 proposal and why is it important?

SIMD57 is a proposal to improve event logging on Solana. It introduces a new way of handling on-chain events, addressing the limitations of the current logging system. This proposal is significant because it could standardize and improve the way developers handle events in their smart contracts. By providing a more robust and reliable event system, SIMD57 could enhance the functionality and efficiency of decentralized applications on Solana, particularly benefiting complex applications that rely on real-time data and state updates.

How is Anchor addressing compatibility issues between different versions?

Anchor is addressing compatibility issues through several updates. One key update is a compilation fix that ensures backward compatibility between Anchor versions 1.16 and 1.14, specifically for the Anchor client. Another important change involves implementing Borsh traits on PubKey in Solana 1.16, which resolves a common error where traits for PubKey were not implemented. These updates aim to provide a more stable development environment and reduce frustration for developers working with different versions of Anchor and Solana.

What is Pyre and how does it contribute to Solana development?

Pyre is a new learning platform developed by Helius that combines elements of Code Academy with Solana-specific tutorials. It focuses on teaching developers how to interact with the Solana blockchain using JavaScript and Web3 calls. While currently centered on client-side interactions, Pyre has the potential to become a comprehensive learning tool for Solana development. By providing interactive, hands-on learning experiences, Pyre aims to make Solana development more accessible to newcomers and help bridge the gap between theoretical knowledge and practical application in blockchain development.

Related Content

Solana Changelog - July 25 - Events, Pyre, and Anchor

Discover the latest Solana updates including the upcoming Game Jam, SIMD57 proposal for on-chain events, and exciting ecosystem developments in this week's Solana Changelog.

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

Discover the latest Solana updates including the exciting Game Jam, new RWA security token standard, and improvements in program deployment speed.

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 - Token Extensions and Transaction Size Fees

Discover the latest Solana updates including token extensions, transaction size fees, and developer resources in this comprehensive changelog.

Solana Changelog June 22 - Token Metadata, Anchor 28, QUIC on Turbine

Discover the latest Solana updates including the Token Metadata Interface proposal, Anchor 0.28.0 release, and QUIC implementation for Turbine in this comprehensive changelog.

Solana Changelog - August 15 - Bankrun JS, Bubblegum, and Radiance

Discover the latest Solana updates including Game Jam results, light client developments, and new tools like Bankrun and Radiance enhancing the developer experience.

Solana Changelog - August 15 - Bankrun JS, Bubblegum, and Radiance

Explore the latest Solana updates including game jam success, new developer tools, light client progress, and innovative local testing solutions

Solana Changelog - April 9 - Flare and GetEpochStake

Discover the latest Solana developments including the Flare CLI for smart contract interaction, GetEpochStake proposal, and crucial performance enhancements for validators.

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 - Bridge Comparator, Program Loader v4, Feature Gates, and More

Discover the latest Solana developments including Jupiter's bridge comparator, Program Loader v4, feature gates, and more in this comprehensive changelog.

Solana Changelog - Faster getProgramAccounts, SIMD-96 Approved, and Anchor Types in Kinobi

Discover the latest Solana updates including optimized getProgramAccounts, SIMD-96 approval for validator rewards, and new Anchor type support in Kinobi

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 - 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: August 8th, 2022 - Offline Signing, QUIC & APR.dev

Discover the latest Solana updates including offline message signing, QUIC implementation progress, and new developer tools like APR.dev and Svelte Scaffold.

Solana Changelog - April 9 - Flare and GetEpochStake

Discover the latest Solana upgrades including GetEpochStake, improved indexing, and the Flare CLI tool. Learn how these changes enhance performance and developer experience on Solana.