Liquid Stake with compassSOL for an 8.04% 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 - September 6th, 2022 - CLI, Realloc, NFToken, Versioned TXs & Solana Bytes!

By Changelog

Published on 2022-09-06

Discover the latest Solana updates including CLI improvements, realloc features, NFToken Explorer support, and the new Solana Bytes tutorial series.

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

Solana Changelog: CLI, Realloc, NFToken, Versioned TXs & Solana Bytes

The Solana ecosystem continues to evolve at a rapid pace, with new features and improvements being rolled out regularly. In this week's Solana Changelog, Jacob, Colin, and Joe from the Solana Foundation's developer relations team bring us up to speed on the latest developments in the Solana ecosystem. From CLI changes to new tutorial series, there's a lot to unpack in this exciting update.

Stack Exchange Moderator Elections

One of the first highlights mentioned in the changelog is the ongoing Stack Exchange moderator elections. The Solana Stack Exchange, a crucial resource for developers in the ecosystem, is in the final stages of selecting its moderators. This election is a significant step in building a strong, community-driven support system for Solana developers.

Jacob emphasizes the importance of this election, stating, "It'll really help the Stack Exchange if we have moderators that vote altruistically from the community as well as internally." This highlights the desire for a balanced moderation team that represents both the wider Solana community and those closely involved with the project.

The team encourages all Solana developers and community members to participate in the voting process. By the time this video is released, there may only be one day left to cast votes, underscoring the urgency of participation. This election is a crucial step in establishing a robust and effective Stack Exchange platform for the Solana ecosystem.

Program Closure Safeguards

Last week, an important announcement was made regarding the closure of programs on the Solana blockchain. Previously, it was relatively easy to close programs, which could potentially lead to accidental closures and loss of data. To address this issue, a new safeguard has been implemented.

Now, when attempting to close a program, users will be prompted with a confirmation message asking if they are sure they want to proceed. This additional step serves as a crucial safeguard against accidental program closures, which could have significant consequences for developers and users alike.

Proposal for Closed Program Redeployment

Building on the program closure safeguards, there's a new proposal in the works that aims to provide even more flexibility and safety for developers. This proposal would allow for the redeployment of closed programs or access to the Program Derived Addresses (PDAs) that a program had access to before it was closed.

This feature could be a game-changer for developers who accidentally close their programs. It provides a safety net, allowing for the recovery of crucial data and functionality that might otherwise be lost. The team encourages developers to check out the details of this proposal, with links provided in the video description.

Realloc Cap Introduction

One of the significant changes highlighted in this changelog is the introduction of a new cap for the number of reallocations that can be made per transaction. This change is crucial for developers working with dynamic account sizes in their Solana programs.

Reallocation, or "reallic" as mentioned in the transcript, is a process that allows programs to change the size of an account. Previously, there was no limit to the number of reallocations that could be performed in a single transaction. However, with this new update, a cap has been introduced.

The team explains, "The amount of reallics that you can do in one single transaction is capped at a maximum of 20 megs." This means that the total size increase across all reallocations in a single transaction cannot exceed 20 megabytes.

This change is particularly important for developers whose programs involve multiple or large reallocations. The team advises, "If you have transactions that interact with your program that do allocations above that, make sure you make a change ahead of this feature launch."

By implementing this cap, Solana aims to optimize network performance and prevent potential abuse of the reallocation feature. Developers should review their code and make necessary adjustments to ensure their transactions comply with this new limit.

NFToken Standard Support on Solana Explorer

In an exciting development for the Solana NFT ecosystem, support has been added for the NFToken standard on the Solana Explorer. This addition brings greater visibility and functionality to NFTs created using this alternative token standard.

The NFToken standard is distinct from the widely-used Metaplex NFT standard, offering developers and creators another option for minting and managing NFTs on Solana. With this update, NFTs created using the NFToken standard will now be visible and displayable on the Solana Explorer.

This enhancement to the Solana Explorer is a significant step towards a more inclusive and diverse NFT ecosystem on Solana. It allows for greater flexibility in NFT creation and improved discoverability for NFTs using different standards.

Developers and users can now easily view and interact with NFToken standard NFTs directly through the Solana Explorer interface. This integration provides a seamless experience for users, regardless of the token standard used for NFT creation.

Versioned Transactions Support in Web3.js

Last week's changelog introduced the concept of versioned transactions, and this week brings news of expanded support for this feature in the Solana Web3.js package. This update is crucial for developers working with the latest transaction types on Solana.

Several methods in the Connection class of Web3.js have been updated to support versioned transactions. These methods include:

  1. getTransaction
  2. getParsedTransaction
  3. getBlock
  4. getConfirmedBlock

This expanded support allows developers to seamlessly work with both legacy and versioned transactions, providing greater flexibility and future-proofing for Solana applications.

The addition of versioned transaction support to these core methods ensures that developers can easily retrieve and process transaction data, regardless of the transaction version. This update is part of Solana's ongoing efforts to improve developer experience and maintain compatibility with evolving blockchain features.

Introduction of Solana Bytes

Perhaps the most exciting announcement in this changelog is the launch of Solana Bytes, a new series of digestible coding tutorials created by the Solana Foundation's developer relations team. This initiative aims to make Solana development more accessible and easier to understand for developers of all skill levels.

Joe, who is behind the creation of these tutorials, describes them as "really easy to follow" and "real short." The goal is to provide developers with quick, focused lessons on various aspects of Solana development, allowing them to quickly grasp key concepts and techniques.

The Solana Bytes series is designed to be an ongoing project, with new tutorials planned for the future. The team encourages the community to reach out via Twitter with suggestions for future tutorial topics, emphasizing their commitment to creating content that directly addresses the needs of Solana developers.

These tutorials can be found on the Solana Foundation's YouTube channel, making them easily accessible to developers worldwide. By providing these bite-sized learning resources, Solana is taking another step towards lowering the barrier to entry for blockchain development and fostering a more vibrant and knowledgeable developer community.

The Importance of Community Feedback

Throughout the changelog, the Solana team emphasizes the importance of community engagement and feedback. They encourage developers to reach out with suggestions, questions, and even resources they've built that could improve the Solana developer experience.

This open approach to ecosystem development is a hallmark of Solana's community-centric philosophy. By actively seeking input from developers and users, Solana ensures that its platform evolves in a way that truly serves the needs of its community.

Conclusion

This week's Solana Changelog brings a mix of technical updates, new features, and educational resources that collectively strengthen the Solana ecosystem. From improvements in transaction handling and NFT support to the launch of accessible developer tutorials, these changes reflect Solana's commitment to creating a robust, user-friendly blockchain platform.

The introduction of safeguards for program closure, along with proposals for program redeployment, demonstrates Solana's focus on developer safety and flexibility. Meanwhile, the addition of NFToken support on the Solana Explorer and expanded versioned transaction capabilities in Web3.js showcase the platform's commitment to diversity and forward compatibility in its feature set.

Perhaps most exciting is the launch of Solana Bytes, a series of tutorials that promises to make Solana development more accessible than ever before. This initiative, coupled with the ongoing Stack Exchange moderator elections, underscores Solana's dedication to fostering a strong, knowledgeable, and supportive developer community.

As Solana continues to evolve and grow, these regular changelogs serve as an important touchpoint for developers and enthusiasts alike. They provide a window into the ongoing development of the platform and offer valuable insights into upcoming features and changes.

For those looking to stay at the forefront of Solana development, subscribing to the Solana newsletter and following the Solana developer Twitter account are highly recommended. These channels, along with resources like the Solana Stack Exchange and the newly launched Solana Bytes series, form a comprehensive information network for anyone involved in the Solana ecosystem.

As we look forward to future updates, it's clear that Solana's rapid pace of development shows no signs of slowing down. With each changelog, we see new features, improvements, and resources that continue to solidify Solana's position as a leading blockchain platform for developers and users alike.

Facts + Figures

  • Stack Exchange moderator elections for Solana are nearing completion, with only about one day left for voting at the time of the video.
  • A new safeguard has been implemented to prevent accidental program closures, prompting users for confirmation before closing a program.
  • A proposal is being considered to allow redeployment of closed programs or access to their Program Derived Addresses (PDAs).
  • A new cap of 20 megabytes has been introduced for the total amount of reallocations that can be done in a single transaction.
  • Support for the NFToken standard has been added to the Solana Explorer, allowing NFTs created with this standard to be visible and displayable.
  • Several methods in the Web3.js Connection class now support versioned transactions, including getTransaction, getParsedTransaction, getBlock, and getConfirmedBlock.
  • Solana Bytes, a new series of short, easy-to-follow coding tutorials, has been launched on the Solana Foundation's YouTube channel.
  • The Solana team encourages community feedback and suggestions for future Solana Bytes tutorial topics.
  • Breakpoint tickets are available, as mentioned in the video description.
  • The Solana CLI, Client SDK, and Web3 SDK are key developer tools highlighted in the video description.

Questions Answered

What is the status of the Stack Exchange moderator elections for Solana?

The Stack Exchange moderator elections for Solana are in their final stages. At the time of the video, there was approximately one day left for community members to cast their votes. The team emphasizes the importance of these elections in establishing a strong, community-driven support system for Solana developers, encouraging both community members and internal team members to participate in the voting process.

What new safeguard has been implemented for program closures on Solana?

A new safeguard has been implemented to prevent accidental program closures on Solana. Now, when a user attempts to close a program, they will be prompted with a confirmation message asking if they are sure they want to proceed. This additional step serves as a crucial safety measure against unintended program closures, which could potentially lead to loss of data or functionality.

What is the new reallocation cap in Solana transactions?

Solana has introduced a new cap on the number of reallocations that can be made per transaction. The total amount of reallocations (referred to as "reallics" in the transcript) that can be done in a single transaction is now capped at a maximum of 20 megabytes. This change affects programs that change account sizes and developers are advised to review their code to ensure compliance with this new limit.

What new NFT standard is now supported on the Solana Explorer?

The Solana Explorer now supports the NFToken standard, which is an alternative to the Metaplex NFT token standard. This means that NFTs created using the NFToken standard will now be visible and displayable on the Solana Explorer. This addition enhances the diversity of the Solana NFT ecosystem and improves the discoverability of NFTs using different standards.

What is Solana Bytes?

Solana Bytes is a new series of digestible coding tutorials created by the Solana Foundation's developer relations team. These tutorials are designed to be short, easy to follow, and focused on various aspects of Solana development. The series aims to make Solana development more accessible to developers of all skill levels and can be found on the Solana Foundation's YouTube channel. The team plans to create more tutorials in the future and encourages community members to suggest topics they'd like to see covered.

What changes have been made to Web3.js regarding versioned transactions?

Several methods in the Connection class of the Solana Web3.js package have been updated to support versioned transactions. These methods include getTransaction, getParsedTransaction, getBlock, and getConfirmedBlock. This expanded support allows developers to work seamlessly with both legacy and versioned transactions, providing greater flexibility and future-proofing for Solana applications.

How can developers contribute to improving the Solana ecosystem?

The Solana team encourages developers to actively engage with the ecosystem in several ways. They can participate in Stack Exchange by asking and answering questions, vote in the moderator elections, and provide feedback on new features and proposals. Additionally, developers are invited to reach out to the team on Twitter with suggestions for future Solana Bytes tutorial topics or to share resources they've built that could improve the Solana developer experience.

Related Content

Solana Changelog - September 6th, 2022 - CLI, Realloc, NFToken, Versioned TXs & Solana Bytes!

Discover the latest Solana updates including CLI improvements, realloc features, NFToken Explorer support, and the launch of Solana Bytes tutorials. Stay informed on Solana's rapid ecosystem growth.

Solana Changelog July 6 - Cubik, SPL-token, and Solana-Tools

Explore the latest Solana updates including Cardinal Labs shutdown, Jupiter's Token 2022 support, Cubik's tooling round, and new developer resources

Solana Changelog - August 29th, 2022 - SDK Changes, Address Lookup Tables, Solang & More!

Explore the latest Solana ecosystem updates, including SDK improvements, address lookup table changes, and exciting new development tools like Solang and Seahorse.

Solana Changelog - September 19th, 2022 - Larger TXs, PubSub docs, & Summer Camp winners!

Discover the latest Solana updates including increased transaction sizes, new SDK modifications, and the exciting winners of the Solana Summer Camp hackathon.

Solana Changelog - November 1, 2022 - Error Logging, Open-Source Proposals, and Voter Withdrawals

Discover the latest Solana updates including improved error logging, community-driven proposals, and exciting developments in the ecosystem.

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 - 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: 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 July 6 - Cubik, SPL-token, and Solana-Tools

Explore the latest Solana developments including Cardinal Labs shutdown, Jupiter's Token 2022 adoption, Cubik's tooling round, and proposed SPL-token improvements.

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 - 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 22, 2022 - Summer Camp, Scrambling Transactions, Address Lookup Tables

Discover the latest Solana updates including Summer Camp hackathon, Firedancer validator client, scrambling transactions, and address lookup tables on Explorer.

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.

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 May 2 - Account Interfaces, Web3.js Experimental, and Tea

Discover the latest Solana updates including account interfaces, Web3.js experimental changes, and the new Tea package manager for easier Solana installations.