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: Confidential Transfers, PubSub Upgrades, and Developer Resources

By Solana-Changelog

Published on 2023-10-03

Explore Solana's latest updates including confidential transfers in token CLI, PubSub improvements, and new developer resources for cryptography and program architecture.

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

Solana Changelog: Confidential Transfers, PubSub Upgrades, and Developer Resources

In the latest Solana Changelog, Nick from the Solana Foundation DevRel team, along with Jonas and John, dive into the exciting developments in the Solana ecosystem. This week's update covers a range of topics, from new features in the token CLI to improvements in PubSub functionality and valuable resources for developers. Let's explore these updates in detail and understand their implications for the Solana community.

TransactionSubscribe: A Game-Changer for PubSub

One of the most significant announcements in this changelog is the introduction of transactionSubscribe to PubSub. This feature, previously available through Triton's socket implementation called Verligig, is now being integrated directly into Solana's PubSub system.

What is TransactionSubscribe?

TransactionSubscribe allows developers to receive updates on accounts and transactions mid-block, as soon as they are processed by the validator of the connected RPC. This real-time update capability is particularly crucial for applications that require immediate data, such as games or high-frequency trading platforms.

Jonas explains the significance of this feature:

"So Triton has a new socket implementation called Verligig which lets you subscribe to certain accounts and transactions. But what Verligig does is that you get updates on your accounts mid-block. So as soon as it's processed by the validator of the RPC you're connected to, you will immediately get the results."

Performance Improvements

The integration of TransactionSubscribe into PubSub comes with notable performance enhancements. For instance, it allows for the use of a state validator in the same data center as the RPC client, resulting in significantly faster response times. This improvement is particularly beneficial for applications that require low-latency data access.

Wider Accessibility

Previously, developers needed to use Triton to access this feature. However, with its integration into PubSub, it will be available across all validators. This wider accessibility ensures that more developers can leverage this powerful functionality without being tied to a specific implementation.

Jonas highlights this advantage:

"Now you will not be like, you don't have to use Triton anymore to get this feature, but how it looks like from this proposal here is that this will directly go into Pub/Sub and then you can use it with all validators."

Confidential Transfers in Token CLI

Another exciting development in the Solana ecosystem is the addition of confidential transfer capabilities to the token CLI. This feature enhances the privacy and security of token transactions on the Solana blockchain.

Understanding Confidential Transfers

Confidential transfers are an extension to the token mint in Solana. They allow users to hide the amount of tokens being transferred while still maintaining transparency about the sender and receiver. This balance between privacy and transparency is crucial for many financial applications.

Jonas explains the concept:

"Confidential transfers are nice. So you don't, like you're hiding basically the amount of the token you're transferring, but you're still keeping, like it's not anonymous, per se, but the amounts are hidden."

John adds further clarification:

"Yeah, the amounts are hidden, but the sender and receiver are known. So it's confidential, but not anonymous."

Implementation in Token CLI

The implementation of confidential transfers in the token CLI means that users can now utilize this feature directly from the command line. This addition makes it easier for developers and users to work with Token 2022 (also known as Token22) and its advanced features.

As John explains:

"This one's actually on the token CLI, so it makes it so you can actually confidential transfer style with token 22 using the token CLI. So if you have the Solana CLI suite installed on your computer, this would actually allow you to actually use token 22 via the CLI, which is cool."

Enabling Confidential Transfers

To use confidential transfers, users need to enable this feature when creating a new token. This is done by adding a specific flag during the token creation process. This opt-in approach ensures that token creators have control over whether they want to implement this privacy-enhancing feature for their tokens.

New Developer Resources

The Solana ecosystem continues to grow, and with it, the need for comprehensive educational resources. This week's changelog highlights two significant additions to the developer toolkit.

Updated Solana Development Course

The Sol dev course has been expanded with new modules covering critical topics for Solana developers. John provides an overview of the additions:

"The Sol dev course got updated with a few extra modules. So if you'd like to learn more about program architecture, oracles and Oracle networks, VRFs and compressed NFTs, you can go to the Sol dev course and scroll all the way to the bottom."

These new modules offer developers deeper insights into advanced concepts within the Solana ecosystem. The inclusion of topics like program architecture helps developers build more efficient and scalable applications, while the sections on oracles and VRFs (Verifiable Random Functions) are crucial for creating fair and transparent on-chain randomness.

The addition of compressed NFTs to the curriculum is particularly noteworthy, as this technology has been gaining significant traction in the Solana NFT space due to its ability to reduce storage costs and improve scalability.

Cryptography Tools 101 by Helius

For developers looking to strengthen their understanding of fundamental cryptographic concepts, Helius has released a comprehensive article titled "Cryptography Tools 101". This resource focuses on explaining hash functions and Merkle trees, two crucial components in blockchain technology.

Nick emphasizes the importance of this resource:

"Take a read through it. It's pretty good. It talks about how Merkle trees actually work and the hashing mechanisms to go behind them. So it's very important to understand those when you're trying to do a lot of stuff with compressed NFTs."

Understanding these cryptographic tools is essential for developers working on various aspects of blockchain technology, especially in areas like compressed NFTs where Merkle trees play a vital role in efficient data storage and verification.

Noteworthy Commits and Updates

The changelog also highlighted several important commits and updates in the Solana codebase. These changes reflect ongoing efforts to improve the performance, functionality, and developer experience of the Solana blockchain.

CSV Export for Stake and Voter Count Data

A new feature has been added allowing validators to export stake and voter count data directly as CSV files. This enhancement simplifies data analysis and reporting for validator operators, making it easier to track and manage validator performance.

Jonas explains:

"So this one, for example, now you can export all your stake and voter count data directly as CSV. So that's a nice feature if you're running a validator. You can just export them into the Excel format."

SYSVAR for Alt-BN128 Curve Operations

An intriguing update involves the addition of a system variable (SYSVAR) for operations related to the Alt-BN128 curve. This change is expected to significantly improve the performance of certain cryptographic operations on the Solana blockchain.

Nick provides context on this update:

"From my understanding, it's basically it's setting some of the groundwork that'll allow the Solana blockchain to actually validate Ethereum based wallet signatures, natively within the blockchain itself. There's a whole bunch of work that's going into it. This is just one of the pieces, but that's the general goal from my understanding, which is pretty cool."

This development is particularly exciting as it hints at potential interoperability improvements between Solana and Ethereum, two of the largest blockchain ecosystems.

Simplified Fee Calculation for Vote Transactions

Another commit focuses on simplifying the fee calculation process for vote transactions. By making certain variables static, this change aims to streamline the fee structure for these essential blockchain operations.

Jonas explains:

"So this, how I understood it, it makes just some variable static, which makes it simpler to calculate the fees for vote transactions."

Deep-N Example with Helium-LoRaWAN Sensors

For developers interested in IoT (Internet of Things) applications on Solana, a new example has been added demonstrating how to connect Helium-LoRaWAN sensors directly to the Solana blockchain. This example showcases the versatility of Solana and its potential applications beyond traditional finance use cases.

Ongoing Hyperdrive Hackathon

The Solana Foundation continues to support developer engagement through the ongoing Hyperdrive hackathon. With a few weeks left in the event, developers are encouraged to participate and submit their projects.

Hyperdrive Resources

Nick reminds listeners about the available resources:

"Hyperdrive is, you know, it's still got a couple of weeks left in it and office hours for Hyperdrive as well. So if you're thinking about submitting a project, please do, don't forget to check out solana.com/hype. Hyperdrive, you can find all the details about prizes, awards, and the rules about the hackathon itself."

Office Hours and Pitch Practice

The DevRel team is hosting regular office hours and will soon start offering pitch and demo practice sessions in the Hyperdrive Discord. These sessions provide valuable opportunities for participants to refine their projects and presentation skills.

John encourages participation:

"Come to the office hours. It's every Tuesday and Thursday. It's a great chance to get help or show off your project to other people, get some feedback."

Community Events and Engagement

The Solana ecosystem thrives on community engagement, and the changelog highlights the various ways developers and enthusiasts can get involved.

Solana Community Events Page

Nick mentions the Solana Community Events page as a central hub for discovering both in-person and virtual events:

"The events are actually listed on the Solana Community Events page and then to solana.com/events. You can also find all the other community events that are going on from in-person events, virtual workshops to a bunch of different stuff like that."

Submitting and Sharing Events

The team encourages community members to share their events and contribute to the growing ecosystem:

"If you're hosting any events or if you know anyone that is, don't forget to share them."

This open approach to event sharing helps foster a vibrant and connected Solana community, providing numerous opportunities for learning, networking, and collaboration.

Conclusion

The latest Solana Changelog showcases the continuous evolution and improvement of the Solana ecosystem. From enhanced privacy features like confidential transfers to performance improvements in PubSub and valuable developer resources, Solana is steadily advancing its position as a leading blockchain platform.

The integration of transactionSubscribe into PubSub demonstrates Solana's commitment to providing real-time data access, crucial for high-performance applications. The addition of confidential transfers to the token CLI enhances the privacy options available to users and developers, striking a balance between transparency and confidentiality.

The new developer resources, including the expanded Solana development course and the cryptography primer from Helius, underscore the ecosystem's focus on education and skill development. These resources, combined with ongoing events like the Hyperdrive hackathon, create a nurturing environment for developers to learn, experiment, and build on Solana.

As the Solana ecosystem continues to grow and evolve, these updates and improvements pave the way for more innovative applications, enhanced user experiences, and increased adoption of the Solana blockchain. The future looks bright for Solana, with its dedicated community of developers, users, and supporters driving progress and innovation in the blockchain space.

Facts + Figures

  • TransactionSubscribe feature is being integrated into Solana's PubSub system, allowing for real-time updates on accounts and transactions.
  • Confidential transfers are now available in the token CLI, enabling hidden transaction amounts while maintaining sender and receiver transparency.
  • The Sol dev course has been updated with new modules covering program architecture, oracles, VRFs, and compressed NFTs.
  • Helius has released a "Cryptography Tools 101" article explaining hash functions and Merkle trees.
  • A new feature allows validators to export stake and voter count data directly as CSV files.
  • A SYSVAR has been added for operations related to the Alt-BN128 curve, potentially enabling native validation of Ethereum-based wallet signatures on Solana.
  • Fee calculation for vote transactions has been simplified by making certain variables static.
  • A new example demonstrates how to connect Helium-LoRaWAN sensors directly to the Solana blockchain.
  • The Hyperdrive hackathon is ongoing, with office hours and upcoming pitch practice sessions available for participants.
  • Solana Community Events page (solana.com/events) serves as a central hub for discovering both in-person and virtual events in the ecosystem.

Questions Answered

What is TransactionSubscribe in Solana's PubSub system?

TransactionSubscribe is a new feature being integrated into Solana's PubSub system that allows developers to receive real-time updates on accounts and transactions. It provides updates mid-block, as soon as transactions are processed by the validator of the connected RPC. This feature is particularly useful for applications requiring immediate data access, such as games or high-frequency trading platforms, as it significantly reduces latency in receiving transaction information.

How do confidential transfers work in Solana?

Confidential transfers in Solana hide the amount of tokens being transferred while still maintaining transparency about the sender and receiver. This feature is an extension to the token mint and needs to be enabled when creating a new token. It provides a balance between privacy and transparency, allowing for increased financial privacy without compromising the overall transparency of the blockchain. Users can now utilize this feature directly from the command line using the token CLI.

What new resources are available for Solana developers?

Two significant new resources are available for Solana developers. First, the Sol dev course has been expanded with new modules covering program architecture, oracles, VRFs, and compressed NFTs. Second, Helius has released a comprehensive article titled "Cryptography Tools 101", which explains hash functions and Merkle trees. These resources aim to deepen developers' understanding of advanced Solana concepts and fundamental cryptographic principles, respectively.

What is the Hyperdrive hackathon and how can developers participate?

The Hyperdrive hackathon is an ongoing event organized by the Solana Foundation to encourage developer engagement and innovation. Developers can participate by submitting projects and attending office hours held every Tuesday and Thursday. The Foundation also offers pitch and demo practice sessions in the Hyperdrive Discord. Interested participants can find details about prizes, awards, and rules at solana.com/hype.

How is Solana improving interoperability with Ethereum?

Solana is working on improving interoperability with Ethereum by adding a system variable (SYSVAR) for operations related to the Alt-BN128 curve. This addition is part of the groundwork that will potentially allow the Solana blockchain to natively validate Ethereum-based wallet signatures. While this is just one piece of the puzzle, it represents a significant step towards enhancing cross-chain compatibility between Solana and Ethereum.

Related Content

Solana Changelog - October 03 - Confidential Transfers and PubSub Upgrades

Explore the latest Solana updates including confidential transfers in token CLI, transactionSubscribe for PubSub, and new developer resources. Learn about Solana's ongoing improvements to RPC interfaces and blockchain performance.

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

Explore Solana's newest features including offline message signing, QUIC protocol implementation, and developer resources like APR.dev and Svelte Scaffold.

Solana Changelog - Mar 19: Anza's Agave Client, Compute, and create-solana-program

Explore Solana's latest developments: Anza's Agave client, block space challenges, priority fees, and new developer tools like create-solana-program.

Solana Changelog - Trident, Unruggable, and SyscallGetSysvar

Explore Solana's latest developments including new ZK features, core BPF program conversions, rent collection changes, and exciting new developer tools like Trident and Unruggable wallet.

Solana Changelog - Faster Transactions, Stake-Weighted QoS, and Compute Optimization

Discover the latest Solana updates including faster transaction processing, stake-weighted quality of service, and new developer tools for compute optimization and Web3.js integration.

Solana Changelog May 16 - EpochStakes, SolFuzz, and Optimizations

Dive into Solana's latest changes including a governance proposal for validator rewards, significant performance optimizations, and new developer resources like SolFuzz and Anchor updates.

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 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 March 21 - Priced Compute Units and the Solana Developer Forum

Explore Solana's latest developments, including the Priced Compute Units proposal, validator improvements, and the launch of the Solana Developer Forum.

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 - 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 - 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 - 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.