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

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

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

Learn more

Solana Changelog - October 25, 2022 - 2x Transaction Size, Off-Chain Messaging, & Seahorse Cookbook

By Solana-Changelog

Published on 2022-10-25

Solana's latest updates include doubling transaction size, off-chain messaging support, ZK token improvements, and a new Seahorse Cookbook resource for developers.

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

Solana's Latest Upgrades: Doubling Transaction Size, Off-Chain Messaging, and More

In the latest episode of the Solana Changelog, hosts Jacob, Joe, and Colin gathered to discuss the exciting developments and proposals within the Solana ecosystem. This week's update brings significant improvements to transaction capabilities, enhanced privacy features, and new resources for developers. Let's dive into the details of these groundbreaking changes that are set to propel Solana forward in the blockchain space.

Doubling Transaction Size: A Game-Changer for Solana

One of the most anticipated changes coming to Solana is the proposal to double the transaction size. This upgrade has been in the works for some time, and now there's tangible progress being made. Jacob highlighted the importance of this change, stating:

"There's actually an upcoming change that some people may have heard of. The 2X transaction size, and there's already being work done on this. What you can do is you can look up the PR today, look at what's going on. It's really cool looking forward to the transaction size doubling so that you can do a lot more on the network."

This increase in transaction size is a significant leap forward for Solana. By doubling the capacity of each transaction, developers and users will be able to execute more complex operations within a single transaction. This enhancement opens up new possibilities for decentralized applications (dApps) and smart contracts on the Solana network.

The implications of this upgrade are far-reaching. With larger transaction sizes, developers can create more sophisticated dApps that require multiple operations to be executed atomically. This could lead to improved efficiency in areas such as decentralized finance (DeFi), where complex transactions involving multiple token swaps or liquidity provisions are common.

Moreover, the increased transaction size could potentially reduce the overall number of transactions needed for certain operations, which may help in managing network congestion during peak usage times. This aligns with Solana's commitment to maintaining high throughput and low latency, further solidifying its position as a high-performance blockchain.

ZK Token Enhancements: Boosting Privacy and Security

Colum brought attention to some intriguing developments in the zero-knowledge (ZK) token space within Solana. He mentioned two pull requests (PRs) that caught his eye:

"One of them was to add public key support for the Elgamo encryption. And the second one was around restructuring the error types. And again, around the CK2, the SN SDK, so for the Elgamo encryption, the errors are now more explanatory about what is actually going wrong."

These changes to the ZK token implementation on Solana are crucial for enhancing privacy and security features. The addition of public key support for Elgamal encryption (note the correction from "Elgamo" in the transcript) is particularly noteworthy. Elgamal encryption is an asymmetric key encryption algorithm used in many cryptographic systems, including some blockchain implementations.

By incorporating public key support for Elgamal encryption, Solana is taking a significant step towards improving the privacy capabilities of its ZK token system. This could enable more secure and private transactions on the network, which is increasingly important in an era where financial privacy is highly valued.

The restructuring of error types for the ZK token SDK is equally important. Clear and descriptive error messages are essential for developers working with complex cryptographic systems. By making the errors more explanatory, Solana is improving the developer experience and potentially reducing the time needed to debug and resolve issues related to ZK token implementations.

These enhancements to the ZK token system demonstrate Solana's commitment to providing robust privacy features while maintaining a developer-friendly ecosystem. As privacy concerns continue to grow in the blockchain space, these improvements position Solana as a forward-thinking platform that takes user privacy seriously.

Off-Chain Messaging Support: Expanding Solana's Capabilities

One of the most exciting announcements in this changelog is the introduction of off-chain messaging support. Joe enthusiastically shared this news:

"I think I saw the offline transaction signing was finally pulled in. So a lot of people, this has been a huge feature that people have asked for to where you can sign a message with like a ledger or something to log in. Like that's a common use case that people couldn't really do before. And that's finally being pulled in."

This feature is a game-changer for Solana users and developers. Off-chain messaging support addresses a long-standing request from the community, enabling users to sign messages without initiating an on-chain transaction. This capability is particularly useful for authentication purposes and other scenarios where proof of wallet ownership is required without the need for an actual blockchain transaction.

The implications of this feature are significant:

  1. Enhanced User Experience: Users can now log in to dApps or verify their identity using their Solana wallet without the need for a complex workaround involving a dummy transaction.

  2. Improved Security: By allowing off-chain message signing, users can prove ownership of their wallet without exposing themselves to potential risks associated with on-chain transactions.

  3. Broader Wallet Support: Joe mentioned that this feature would work with various wallet providers, including Phantom, SolFlare, and Backpack, indicating broad ecosystem support.

  4. Reduced Network Load: By moving certain authentication processes off-chain, this feature could help reduce unnecessary transactions on the Solana network, potentially improving overall network performance.

This addition to Solana's functionality aligns with the blockchain's goal of providing a seamless and efficient user experience. It's a testament to Solana's responsiveness to community needs and its commitment to continuous improvement.

BPF Upgradeable Loader: A New Standard for Solana Programs

An important update mentioned in the changelog is the deprecation of the old BPF (Berkeley Packet Filter) loader in favor of the upgradeable loader. Jacob explained:

"And then I saw that the old loader is being deprecated, the BPF loader. So now like you're gonna have to use a lot of program deploy instead of just a lot of deploy. And that gives you obviously the upgradeable loader. So start using that if you haven't already."

This change represents a significant shift in how developers deploy and manage programs on Solana. The upgradeable loader offers several advantages over the old BPF loader:

  1. Program Upgradeability: As the name suggests, the upgradeable loader allows developers to update their programs after deployment. This is crucial for fixing bugs, adding features, or optimizing performance without having to redeploy the entire program.

  2. Improved Security: The upgradeable loader includes additional security features that help protect against certain types of attacks and vulnerabilities.

  3. Better Resource Management: The new loader provides more efficient ways to manage program resources, potentially leading to better overall performance.

  4. Future-Proofing: By standardizing on the upgradeable loader, Solana ensures that all programs can benefit from future improvements and optimizations to the loader itself.

Developers who are still using the old BPF loader should take note of this change and begin migrating their programs to the upgradeable loader. This transition may require some effort, but the long-term benefits in terms of flexibility and security make it a worthwhile investment.

Seahorse Cookbook: A Community-Driven Resource for Developers

The Solana ecosystem is not just about technical improvements; it's also about community-driven initiatives that enhance the developer experience. In this vein, the hosts highlighted an exciting new resource:

"And then there was a resource of the week is C-horse cookbook. There's actually a cookbook being created by the community on just C-horse programs and how different ways that you can implement them. So be definitely check that out. It's a lot of fun."

The Seahorse Cookbook is a community-created resource that focuses on Seahorse programs. Seahorse is a Python framework for writing Solana programs, which allows developers to leverage Python's simplicity and readability while targeting the Solana blockchain.

This cookbook serves several important purposes:

  1. Knowledge Sharing: It provides a platform for developers to share their experiences and best practices when working with Seahorse and Solana.

  2. Learning Resource: New developers can use the cookbook to learn different implementation techniques and patterns for Solana programs.

  3. Community Building: By encouraging contributions, the cookbook fosters a sense of community and collaboration among Solana developers.

  4. Accelerated Development: With a collection of examples and patterns, developers can quickly find solutions to common problems, speeding up the development process.

The hosts encouraged viewers to not only check out the cookbook but also to contribute to it:

"Yeah, go contribute to that too. Help build that thing out. Throw some examples in there. See what they need."

This call to action underscores the collaborative nature of the Solana ecosystem and the importance of community-driven resources in supporting the platform's growth.

Conclusion: Solana's Continuous Evolution

The latest Solana Changelog demonstrates the platform's commitment to continuous improvement and innovation. From doubling transaction sizes to enhancing privacy features with ZK token improvements, Solana is addressing key areas that matter to both developers and users.

The introduction of off-chain messaging support solves a long-standing issue in the ecosystem, while the transition to the upgradeable loader sets a new standard for program deployment and management. These changes, coupled with community-driven initiatives like the Seahorse Cookbook, showcase Solana's holistic approach to ecosystem development.

As Solana continues to evolve, it's clear that the platform is not just focusing on technical enhancements but also on improving the overall developer and user experience. This balanced approach is crucial for the long-term success and adoption of the Solana blockchain.

The hosts' enthusiasm for these changes is palpable, and their encouragement for community involvement reflects the open and collaborative spirit that has become a hallmark of the Solana ecosystem. As we look forward to future updates, it's evident that Solana is positioning itself as a leading blockchain platform, ready to meet the challenges and opportunities of the rapidly evolving crypto landscape.

Facts + Figures

  • Solana is proposing to double the transaction size, which will allow for more complex operations within a single transaction.
  • Work is already underway on implementing the 2X transaction size increase.
  • Two pull requests related to ZK token improvements have been merged:
    1. Adding public key support for Elgamal encryption
    2. Restructuring error types to make them more explanatory
  • Off-chain messaging support has been added, allowing users to sign messages without initiating on-chain transactions.
  • The new off-chain messaging feature works with various wallet providers including Phantom, SolFlare, and Backpack.
  • The old BPF loader is being deprecated in favor of the upgradeable loader.
  • Developers are encouraged to use 'solana program deploy' instead of 'solana deploy' for program deployment.
  • A new community-driven resource called the Seahorse Cookbook has been created, focusing on Seahorse programs for Solana.
  • The Seahorse Cookbook provides examples and implementation techniques for Solana programs written in Python using the Seahorse framework.
  • The hosts encourage viewers to contribute to the Seahorse Cookbook to help build out the resource.

Questions Answered

What is the proposed change to Solana's transaction size?

Solana is proposing to double the transaction size. This change will allow for more complex operations to be executed within a single transaction on the Solana network. The increased transaction size opens up new possibilities for developers to create more sophisticated decentralized applications and smart contracts, potentially improving efficiency and reducing the overall number of transactions needed for certain operations.

What improvements are being made to ZK tokens on Solana?

Two key improvements are being made to ZK tokens on Solana. First, public key support is being added for Elgamal encryption, which enhances the privacy capabilities of the ZK token system. Second, the error types in the ZK token SDK are being restructured to make them more explanatory, improving the developer experience and making it easier to debug and resolve issues related to ZK token implementations.

What is the new off-chain messaging feature in Solana?

Solana has introduced off-chain messaging support, which allows users to sign messages without initiating an on-chain transaction. This feature is particularly useful for authentication purposes, enabling users to prove ownership of their wallet without the need for a complex workaround involving a dummy transaction. It works with various wallet providers including Phantom, SolFlare, and Backpack, enhancing the user experience and potentially reducing unnecessary transactions on the network.

Why is Solana deprecating the old BPF loader?

Solana is deprecating the old BPF loader in favor of the upgradeable loader. This change provides several advantages, including the ability to update programs after deployment, improved security features, and more efficient resource management. By standardizing on the upgradeable loader, Solana ensures that all programs can benefit from future improvements and optimizations to the loader itself, making it a more future-proof solution for program deployment and management.

What is the Seahorse Cookbook?

The Seahorse Cookbook is a community-created resource focusing on Seahorse programs for Solana. Seahorse is a Python framework for writing Solana programs, and the cookbook provides examples and implementation techniques for developers. It serves as a platform for knowledge sharing, a learning resource for new developers, and a way to accelerate development by providing solutions to common problems. The hosts encouraged viewers to not only use the cookbook but also contribute to it, fostering collaboration within the Solana developer community.

Related Content

Solana Changelog - October 25, 2022 - 2x Transaction Size, Off-Chain Messaging, & Seahorse Cookbook

Exciting Solana updates including doubled transaction size, ZK token improvements, off-chain messaging support, and more. Learn about the latest developments in the Solana ecosystem.

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 - 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 - October 10 - Solana StackExchange, sRFC, and future Feature Activations

Explore Solana's latest updates including the 1.16 release, upcoming confidential transfers, SRFCs, and the importance of Solana StackExchange for developers.

Solana Changelog - December 13, 2022 - BigTable Fixes, Versioned Tx Program Testing, and OpenBook!

Discover the latest Solana updates including transaction capping, BigTable improvements, versioned transactions in program tests, and the exciting launch of OpenBook DEX.

Solana Changelog - December 12 - Solana Speedrun and Transaction Scheduling

Exciting developments in Solana's ecosystem including the Solana Speedrun game jam, transaction scheduling improvements, and new developer tools for game creation.

Solana Changelog - September 13th, 2022 - Transaction v0, Fee Markets for Storage & SuperTeam Earn!

Explore Solana's latest developments including versioned transactions, fee markets for storage, and the exciting launch of SuperTeam Earn.

Solana Changelog - December 13, 2022 - BigTable Fixes, Versioned Tx Program Testing, and OpenBook!

Explore the latest Solana updates including transaction capping, BigTable improvements, versioned transactions in program tests, and the exciting launch of OpenBook DEX.

Solana Changelog - April 16 - Vote Instructions, Bank Forwarding, QoS

Discover the latest Solana upgrades including vote instruction deprecation, bank forwarding filters, and QoS enhancements for improved network performance and developer experience.

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 - Mar 26 - Sending Transactions Faster, Stake-Weighted QoS, and Optimizing Compute

Explore the latest Solana developments including improved transaction speed, stake-weighted quality of service, and compute optimization techniques for developers.

Solana Changelog - January 17, 2023 - SIMD 3, Compute Cost Updates, Golana

Dive into the latest Solana developments including the SIMD 3 proposal for dynamic base fees, compute cost updates, and the introduction of Golana for Go developers.

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.

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 - January 31, 2023 - Geyser Improvements, Program-Test, and Bokken

Explore the latest Solana updates including a proposed fee market for storage, Geyser improvements, and the game-changing Bokken debugger for Solana programs.