Binance Square
LIVE
Sui
@Sui
Layer 1 blockchain designed to make digital asset ownership fast, private, secure, and accessible to everyone. Twitter: @SuiNetwork | Website: https://sui.io
Siguiendo
Seguidores
Me gusta
compartieron
Todo el contenido
LIVE
--
Sui Developers Lead the Way With Move InnovationThe results are in: Sui has the largest and fastest-growing Move developer community, according to the latest Electric Capital developer data! Since the last update in January, Sui has experienced explosive developer growth, solidifying its position as a leader in the blockchain industry. Highlights from the Electric Capital Developer Report Between the beginning of 2024 and July 1st, Sui has seen a remarkable 219% increase in monthly active developers, sustaining nearly 1,400 throughout the month of June. This significant growth highlights the rising interest and engagement in Move development and the Sui platform. More than half of Sui's active monthly developers are dedicated single-chain developers, showcasing a strong commitment to building exclusively on Sui. Sui has seen a steady growth in the number of full-time developers, increasing by over 145%. Additionally, there has been a wave of new developers, with part-time and first-time developers more than doubling in a three-month period. This surge in developer activity highlights the growing interest in building on Sui, showcasing a strong foundation for future innovation and development. Developer activity is at an all-time high, with a significant rise in code contributions. Total commits have increased by 125% and have reached over 18,000 in the first half of 2024 alone and nearing a total of 5 million commits overall. Additionally, there has been an 84% increase in total repositories, further illustrating growing engagement of the developer community building on Sui. The Sui Overflow Hackathon impact A substantial influx of new developers was particularly notable between March and June, largely attributed to the Sui Overflow Hackathon. With over 350 submitted projects, this hackathon not only highlighted the excitement surrounding Sui but also demonstrated the platform’s ability to attract and support innovative builders. The hackathon showcased the diverse and creative potential of Sui’s developer community. The impressive projects presented during the Sui Overflow demo day demonstrated the platform's capability to support innovative and high-quality development. For a closer look at what developers are building on Sui, check out the day 1 and day 2 Sui Overflow demo day videos. Moving forward These remarkable statistics validate what first-time builders frequently express: Sui provides a unique and powerful developer experience. The platform’s robust primitives and features, such as zkLogin and native randomness, and supportive community continue to attract a strong core group of developers who are pushing the boundaries of Move development. As Sui continues to grow and evolve, it remains committed to fostering an environment where developers can thrive and innovate. The Electric Capital report underscores Sui’s position as a leading blockchain platform and a hub for cutting-edge development. For a closer look at what developers are building on Sui, check out the projects developed during Sui Overflow and join the growing community that is redefining what’s possible with blockchain technology.

Sui Developers Lead the Way With Move Innovation

The results are in: Sui has the largest and fastest-growing Move developer community, according to the latest Electric Capital developer data! Since the last update in January, Sui has experienced explosive developer growth, solidifying its position as a leader in the blockchain industry.

Highlights from the Electric Capital Developer Report

Between the beginning of 2024 and July 1st, Sui has seen a remarkable 219% increase in monthly active developers, sustaining nearly 1,400 throughout the month of June. This significant growth highlights the rising interest and engagement in Move development and the Sui platform.

More than half of Sui's active monthly developers are dedicated single-chain developers, showcasing a strong commitment to building exclusively on Sui.

Sui has seen a steady growth in the number of full-time developers, increasing by over 145%. Additionally, there has been a wave of new developers, with part-time and first-time developers more than doubling in a three-month period. This surge in developer activity highlights the growing interest in building on Sui, showcasing a strong foundation for future innovation and development.

Developer activity is at an all-time high, with a significant rise in code contributions. Total commits have increased by 125% and have reached over 18,000 in the first half of 2024 alone and nearing a total of 5 million commits overall. Additionally, there has been an 84% increase in total repositories, further illustrating growing engagement of the developer community building on Sui.

The Sui Overflow Hackathon impact

A substantial influx of new developers was particularly notable between March and June, largely attributed to the Sui Overflow Hackathon. With over 350 submitted projects, this hackathon not only highlighted the excitement surrounding Sui but also demonstrated the platform’s ability to attract and support innovative builders.

The hackathon showcased the diverse and creative potential of Sui’s developer community. The impressive projects presented during the Sui Overflow demo day demonstrated the platform's capability to support innovative and high-quality development. For a closer look at what developers are building on Sui, check out the day 1 and day 2 Sui Overflow demo day videos.

Moving forward

These remarkable statistics validate what first-time builders frequently express: Sui provides a unique and powerful developer experience. The platform’s robust primitives and features, such as zkLogin and native randomness, and supportive community continue to attract a strong core group of developers who are pushing the boundaries of Move development.

As Sui continues to grow and evolve, it remains committed to fostering an environment where developers can thrive and innovate. The Electric Capital report underscores Sui’s position as a leading blockchain platform and a hub for cutting-edge development.

For a closer look at what developers are building on Sui, check out the projects developed during Sui Overflow and join the growing community that is redefining what’s possible with blockchain technology.
Powered By DeepBook: DeFi Protocols Highlight BenefitsAfter a year in operation, DeepBook has given Sui DeFi protocols a serious edge, helping to offer their users a superior trading experience with deep liquidity, faster execution, and reduced slippage. Protocols such as Kriya, FlowX, and Hop Aggregator include DeepBook among their liquidity sources, creating vibrant markets for DeFi users. DeepBook, an open source central limit order book (CLOB), serves as a liquidity source for any Sui DeFi protocol that wants to use it. Its open source smart contracts let protocols easily integrate it while ensuring transparency. Functionally, DeepBook supports both market and limit orders, giving traders a range of options. "We were the first to provide limit orders natively in our web app via DeepBook," said Aditya Dwivedi, co-founder of Kriya. "DeepBook integrated seamlessly as a liquidity source in our swap router as well, further reducing slippage for traders." Highly performant As a native liquidy layer on Sui, DeepBook benefits from Sui's very fast transaction processing and its scalability. Sui's consensus engine allows single owner transactions to bypass traditional consensus, removing a huge hurdle to performance. And its architecture supports scaling, where network infrastructure supporters can add resources as traffic increases. These technical advantages mean DeFi activities leveraging DeepBook achieve settlement in about 500 milliseconds, with sub-second finality, while gas fees remain consistent and lower than fees on other blockchains. Speed and low overhead are two essential traits for DeFi users. The upcoming deployment of Mysticeti, an upgrade to Sui's consensus engine, will make DeepBook and the network as a whole even more performant. "On FlowX we've seen how well DeepBook performs in trades involving primary pairs like SUI-USDC and USDC-USDT," said Neville Nguyen, CEO at FlowX Finance. "In most cases, our aggregator will route some of its swap volume through DeepBook." FlowX's aggregator seamlessly integrates DeepBook among its liquidity sources to enable swaps.  DeepBook easily parallelizes trading pairs, increasing transaction speed and settlement times. These benefits translate directly to the user experience on protocols that leverage it. Maximizing market efficiency Sui's scalability means consistent and low gas fees in general, benefiting transactions on DeepBook. However, DeepBook also saves DeFi users money by offering the lowest trading rates. "Our goal at Hop is to provide customers with the best rates for all Sui assets," said Bonkman, Founder at Hop Aggregator. "Leveraging DeepBook supports this goal because it often has the best rates, especially during times of market volatility." Hop Aggregator shows the path it takes to get the best rates, which frequently leverages DeepBook. As a foundational liquidity layer, DeepBook supports DeFi protocols on Sui by offering a publicly accessible trading pool. Protocols can kickstart their own trading activity by leveraging assets on DeepBook. The common nature of DeepBook means users of one protocol can trade with users of another protocol. Of course, protocols can include DeepBook with other pools as well, making sure users always get the lowest rates. DeepBook allows for sophisticated trading activities. As a CLOB, it supports limit orders, so a protocol can let its users set a price at which they are willing to sell an asset within a specific timeframe. In this set-it-and-forget-it strategy, if someone is willing to meet the set price of the asset, the trade goes through, whether the user who initially offered it is active or not. "DeepBook is the base layer for spot liquidity across Sui DeFi, but its modular tech can be used as a plug-and-play open source matching engine for other use cases as well," said Dwivedi. "Kriya Perps combines private DeepBook pools with our proprietary margin engine, offering users CEX-like latency and DEX-like transparency at the same time" Kriya offers Perps, a DeFi mechanism letting users speculate on the future price of an asset. Perpetual derivatives, or perps, let users speculate on the future price of an asset through a contract. They can let the contract run for however long they like, typically executing it once the asset price hits a point where the user makes a profit. DeepBook's flexibility in supporting products such as perps make it popular for protocols that want to explore new offerings. Smart and secure integration Protocols interested in leveraging DeepBook can refer to its documentation. As an open source liquidity layer and a public good intended to help DeFi protocols on Sui, it is permissionless. The documentation includes smart contracts for such activities as querying the pool, placing orders, and routing swaps. "Integrating DeepBook on our frontend was a seamless experience," said Bonkman. "The open source DeepBook contracts made this a pleasant experience and a testament to decentralization." As open source software, the community can help make DeepBook fit its needs through updates. DeepBook is included in the Sui Improvement Proposals (SIPs) program, a process through which builders can submit ideas to make Sui better. Early adopter Kriya raised two SIPs focused on private order book creation and order books for specific pairs, adding support for products it was interested in offering and helping out the entire community in the process. Protocols using DeepBook also draft on its audited contracts, giving them a leg up in their security implementation. Although every protocol needs to ensure that it protects users, a good part of that work is already complete due to the fact DeepBook has already been subject to a thorough audit of its contracts. DeepBook secures DeFi's future on Sui DeepBook adds tremendous value to DeFi protocols on Sui, helping them bootstrap in their early stages and providing an ongoing source of wholesale liquidity for continuing operations. Its sophisticated architecture lets protocols design future-forward product offerings for their users. "We'll soon be launching tokenized strategies on top of DeepBook, such as delta-neutral market making and basis trading vaults," said Dwivedi. "And with new upgrades to DeepBook core shipping soon, we're excited for what's to come." While DeepBook has given protocols an essential foundation, continual development means an exciting roadmap. As previously announced, DeepBook will launch its own token, DEEP, providing a means for both institutional and retail traders to become more involved with governance. Mysticeti's launch will give DeepBook even lower latency, putting it on par with traditional financial trading platforms while keeping its costs low.  New features and user participation will maintain DeepBook's position on the cutting edge of liquidity.

Powered By DeepBook: DeFi Protocols Highlight Benefits

After a year in operation, DeepBook has given Sui DeFi protocols a serious edge, helping to offer their users a superior trading experience with deep liquidity, faster execution, and reduced slippage. Protocols such as Kriya, FlowX, and Hop Aggregator include DeepBook among their liquidity sources, creating vibrant markets for DeFi users.

DeepBook, an open source central limit order book (CLOB), serves as a liquidity source for any Sui DeFi protocol that wants to use it. Its open source smart contracts let protocols easily integrate it while ensuring transparency. Functionally, DeepBook supports both market and limit orders, giving traders a range of options.

"We were the first to provide limit orders natively in our web app via DeepBook," said Aditya Dwivedi, co-founder of Kriya. "DeepBook integrated seamlessly as a liquidity source in our swap router as well, further reducing slippage for traders."

Highly performant

As a native liquidy layer on Sui, DeepBook benefits from Sui's very fast transaction processing and its scalability. Sui's consensus engine allows single owner transactions to bypass traditional consensus, removing a huge hurdle to performance. And its architecture supports scaling, where network infrastructure supporters can add resources as traffic increases.

These technical advantages mean DeFi activities leveraging DeepBook achieve settlement in about 500 milliseconds, with sub-second finality, while gas fees remain consistent and lower than fees on other blockchains. Speed and low overhead are two essential traits for DeFi users. The upcoming deployment of Mysticeti, an upgrade to Sui's consensus engine, will make DeepBook and the network as a whole even more performant.

"On FlowX we've seen how well DeepBook performs in trades involving primary pairs like SUI-USDC and USDC-USDT," said Neville Nguyen, CEO at FlowX Finance. "In most cases, our aggregator will route some of its swap volume through DeepBook."

FlowX's aggregator seamlessly integrates DeepBook among its liquidity sources to enable swaps. 

DeepBook easily parallelizes trading pairs, increasing transaction speed and settlement times. These benefits translate directly to the user experience on protocols that leverage it.

Maximizing market efficiency

Sui's scalability means consistent and low gas fees in general, benefiting transactions on DeepBook. However, DeepBook also saves DeFi users money by offering the lowest trading rates.

"Our goal at Hop is to provide customers with the best rates for all Sui assets," said Bonkman, Founder at Hop Aggregator. "Leveraging DeepBook supports this goal because it often has the best rates, especially during times of market volatility."

Hop Aggregator shows the path it takes to get the best rates, which frequently leverages DeepBook.

As a foundational liquidity layer, DeepBook supports DeFi protocols on Sui by offering a publicly accessible trading pool. Protocols can kickstart their own trading activity by leveraging assets on DeepBook. The common nature of DeepBook means users of one protocol can trade with users of another protocol. Of course, protocols can include DeepBook with other pools as well, making sure users always get the lowest rates.

DeepBook allows for sophisticated trading activities. As a CLOB, it supports limit orders, so a protocol can let its users set a price at which they are willing to sell an asset within a specific timeframe. In this set-it-and-forget-it strategy, if someone is willing to meet the set price of the asset, the trade goes through, whether the user who initially offered it is active or not.

"DeepBook is the base layer for spot liquidity across Sui DeFi, but its modular tech can be used as a plug-and-play open source matching engine for other use cases as well," said Dwivedi. "Kriya Perps combines private DeepBook pools with our proprietary margin engine, offering users CEX-like latency and DEX-like transparency at the same time"

Kriya offers Perps, a DeFi mechanism letting users speculate on the future price of an asset.

Perpetual derivatives, or perps, let users speculate on the future price of an asset through a contract. They can let the contract run for however long they like, typically executing it once the asset price hits a point where the user makes a profit. DeepBook's flexibility in supporting products such as perps make it popular for protocols that want to explore new offerings.

Smart and secure integration

Protocols interested in leveraging DeepBook can refer to its documentation. As an open source liquidity layer and a public good intended to help DeFi protocols on Sui, it is permissionless. The documentation includes smart contracts for such activities as querying the pool, placing orders, and routing swaps.

"Integrating DeepBook on our frontend was a seamless experience," said Bonkman. "The open source DeepBook contracts made this a pleasant experience and a testament to decentralization."

As open source software, the community can help make DeepBook fit its needs through updates. DeepBook is included in the Sui Improvement Proposals (SIPs) program, a process through which builders can submit ideas to make Sui better. Early adopter Kriya raised two SIPs focused on private order book creation and order books for specific pairs, adding support for products it was interested in offering and helping out the entire community in the process.

Protocols using DeepBook also draft on its audited contracts, giving them a leg up in their security implementation. Although every protocol needs to ensure that it protects users, a good part of that work is already complete due to the fact DeepBook has already been subject to a thorough audit of its contracts.

DeepBook secures DeFi's future on Sui

DeepBook adds tremendous value to DeFi protocols on Sui, helping them bootstrap in their early stages and providing an ongoing source of wholesale liquidity for continuing operations. Its sophisticated architecture lets protocols design future-forward product offerings for their users.

"We'll soon be launching tokenized strategies on top of DeepBook, such as delta-neutral market making and basis trading vaults," said Dwivedi. "And with new upgrades to DeepBook core shipping soon, we're excited for what's to come."

While DeepBook has given protocols an essential foundation, continual development means an exciting roadmap. As previously announced, DeepBook will launch its own token, DEEP, providing a means for both institutional and retail traders to become more involved with governance. Mysticeti's launch will give DeepBook even lower latency, putting it on par with traditional financial trading platforms while keeping its costs low. 

New features and user participation will maintain DeepBook's position on the cutting edge of liquidity.
Announcing the First Cohort of RFP Grant AwardeesThe first cohort of grant recipients from our recently introduced Request for Proposals (RFP) program has been selected. This initiative marks a significant milestone in our ongoing efforts to foster innovation and growth within the Sui ecosystem. The RFP program was designed to address specific needs within the ecosystem, providing targeted support to projects that align with our strategic goals. Kiosk compatible no-code launchpad for creators and brands Problem: Sui Kiosk is a powerful tool for developers and creators in establishing parameters around the treatment and transfers of new object types and creations. It is important for creators to ensure their project adheres to the Kiosk standard, otherwise it will likely suffer from compatibility issues with marketplaces and other objects.  Currently, creators wishing to build a product or application, or simply distribute creations on Sui, must either be a developer or involve another person to handle the technical aspects. There is no convenient way for non-technical individuals to generate assets and launch projects that are Kiosk-compatible.  Byzantion Inc. Byzantion Inc., the team behind indexer.xyz, is developing a comprehensive suite of minting infrastructure specifically designed to be compatible with Sui's Kiosk standard. This project ensures that all NFT projects developed through this suite are interoperable with Sui Kiosk, allowing seamless integration with all apps on Sui. This no-code launchpad will empower artists, creators, and brands to easily create onchain assets without technical barriers. Unlocking onchain loyalty: Smart contracts, white label UX, and advanced features Problem: Businesses have shown interest in capitalizing on the opportunities for onchain loyalty programs. Unfortunately, many existing loyalty solutions are not built to leverage the entire feature set that building onchain provides. Because there are many different features that loyalty programs may need, this RFP theme accepted three independent proposals to offer ready made solutions for various use cases. Hashcase HashCase addresses the shortcomings of existing onchain loyalty platforms by providing a no-code platform for brand managers. This platform allows the creation, launch, and management of NFT collections, accompanied by a custodial wallet solution. Users can log in via mobile or email authentication, engaging with Web3 assets without needing prior Web3 onboarding. Arden Labs Inc. Arden Labs Inc. is building a consumer engagement platform composed of two parts: a B2B SaaS platform for businesses and brands to manage their loyalty programs, and a B2C mobile web app for end consumers to track points, earn achievements, and redeem rewards. This dual approach ensures a comprehensive solution for both businesses and their customers. Mojito Inc. Mojito Inc. is developing a white label website for loyalty programs, complete with admin dashboards for analytics and a smart contract template tailored to business needs. Loyalty tokens will be transferable to user wallets via Sui Wallet, zkLogin, or other 0Auth wallet providers, providing flexibility and ease of use for end users. Growing the Sui ecosystem These projects represent the first step in our RFP program's journey to drive innovation and address specific needs within the Sui ecosystem. We are excited to see how these grant awardees will contribute to the growth and development of our community.  Whether you are a seasoned developer, a passionate community member, or someone with fresh perspectives there is likely an opportunity in Sui Grants. For those interested in contributing to the Sui ecosystem through future RFPs or other grant opportunities, visit the Sui Grants hub to get started.

Announcing the First Cohort of RFP Grant Awardees

The first cohort of grant recipients from our recently introduced Request for Proposals (RFP) program has been selected. This initiative marks a significant milestone in our ongoing efforts to foster innovation and growth within the Sui ecosystem. The RFP program was designed to address specific needs within the ecosystem, providing targeted support to projects that align with our strategic goals.

Kiosk compatible no-code launchpad for creators and brands

Problem: Sui Kiosk is a powerful tool for developers and creators in establishing parameters around the treatment and transfers of new object types and creations. It is important for creators to ensure their project adheres to the Kiosk standard, otherwise it will likely suffer from compatibility issues with marketplaces and other objects. 

Currently, creators wishing to build a product or application, or simply distribute creations on Sui, must either be a developer or involve another person to handle the technical aspects. There is no convenient way for non-technical individuals to generate assets and launch projects that are Kiosk-compatible. 

Byzantion Inc.

Byzantion Inc., the team behind indexer.xyz, is developing a comprehensive suite of minting infrastructure specifically designed to be compatible with Sui's Kiosk standard. This project ensures that all NFT projects developed through this suite are interoperable with Sui Kiosk, allowing seamless integration with all apps on Sui. This no-code launchpad will empower artists, creators, and brands to easily create onchain assets without technical barriers.

Unlocking onchain loyalty: Smart contracts, white label UX, and advanced features

Problem: Businesses have shown interest in capitalizing on the opportunities for onchain loyalty programs. Unfortunately, many existing loyalty solutions are not built to leverage the entire feature set that building onchain provides. Because there are many different features that loyalty programs may need, this RFP theme accepted three independent proposals to offer ready made solutions for various use cases.

Hashcase

HashCase addresses the shortcomings of existing onchain loyalty platforms by providing a no-code platform for brand managers. This platform allows the creation, launch, and management of NFT collections, accompanied by a custodial wallet solution. Users can log in via mobile or email authentication, engaging with Web3 assets without needing prior Web3 onboarding.

Arden Labs Inc.

Arden Labs Inc. is building a consumer engagement platform composed of two parts: a B2B SaaS platform for businesses and brands to manage their loyalty programs, and a B2C mobile web app for end consumers to track points, earn achievements, and redeem rewards. This dual approach ensures a comprehensive solution for both businesses and their customers.

Mojito Inc.

Mojito Inc. is developing a white label website for loyalty programs, complete with admin dashboards for analytics and a smart contract template tailored to business needs. Loyalty tokens will be transferable to user wallets via Sui Wallet, zkLogin, or other 0Auth wallet providers, providing flexibility and ease of use for end users.

Growing the Sui ecosystem

These projects represent the first step in our RFP program's journey to drive innovation and address specific needs within the Sui ecosystem. We are excited to see how these grant awardees will contribute to the growth and development of our community. 

Whether you are a seasoned developer, a passionate community member, or someone with fresh perspectives there is likely an opportunity in Sui Grants. For those interested in contributing to the Sui ecosystem through future RFPs or other grant opportunities, visit the Sui Grants hub to get started.
Scaling Gas Payment Sponsorship With the Sui Gas PoolMysten Labs is open-sourcing the Sui Gas Pool to the Sui developer community. This innovative service is designed to sponsor gas payments for transactions on Sui at scale, addressing important needs around user onboarding for apps with high concurrency needs. Sui's native support for sponsored transactions allows a transaction to use a gas coin owned by a different address than the sender for gas payment. This feature allows a service to subsidize their users' transaction costs, significantly enhancing the onboarding experience for users new to Web3. Being able to get started without funding a wallet significantly enhances the user experience by providing greater flexibility and ease of use. Despite these advantages, app builders often struggle with the complexities of managing gas payments at scale. The Sui Gas Pool allows apps to easily offer greater user onboarding experiences through sponsorship of gas payments at scale. Additionally, the Sui Gas Pool alleviates the burden that apps handling highly concurrent transactions experience, allowing them to streamline their operations through efficiently managed gas sponsorship. How a Sui Gas Pool works The Sui Gas Pool was developed with two primary goals in mind, horizontal scalability and generality. The system can easily scale by adding more instances to meet higher throughput demands, ensuring it can handle increased transaction volumes. It is also designed to be generic, allowing any builder to integrate and operate it as either a standalone service or part of their system. When initializing a gas pool, it queries all gas coins dedicated to sponsoring transactions owned by the sponsor address then splits them into smaller gas coins with a configurable target initial balance. These gas coins are then added to the gas pool database which manages available gas coins and gas coin reservations.  Funding the gas pool is straightforward: simply send a large balance gas coin to the sponsor address, and the gas pool will automatically detect and process it. To ensure that funding within the gas pool is maintained, the system periodically checks for any large gas coin owned by the sponsor and then splits it before adding to the gas pool. The gas pool service operates an RPC server, with permission control managed through a secret bearer token in HTTP requests. The interaction workflow is as follows: The client sends a reserve_gas request to the gas pool to reserve gas coins that meet the specified gas budget. The client attaches the gas coins to the transaction and obtains the user's signature on the transaction. The client sends the user-signed transaction to the gas pool through the execute_transaction request. The gas pool signs the transaction, sends it to a full node to execute, and releases the gas coins. Scaling a Sui Gas Pool The Sui Gas Pool service scales efficiently through several mechanisms.  Automated gas coin splitting: The automated gas coin splitting creates many smaller gas coin objects, allowing for increased throughput.  Controlled transaction execution: Conservative waiting heuristics are not needed since the gas pool retains full control over transaction execution, ensuring gas coins are released promptly. Centralized data persistence: Data persistence is handled through central Redis storage, allowing individual gas pool servers to run without local data persistence requirements or crash recovery. This allows app builders to run as many gas pool servers as needed per sponsor address with minimal overhead. Multiple sponsors and services: The system can further scale by having multiple sponsors and deploying multiple gas pool services. Get started By addressing these needs and implementing a robust, scalable solution, the Sui Gas Pool significantly enhances the user experience and operational efficiency of apps on Sui. Enoki, Mysten Lab's customer experience platform, already uses the Sui Gas Pool  for its sponsored transaction feature. Through its usage in Enoki, the Sui Gas Pool demonstrates its reliability and efficiency in a production environment, highlighting its capability to enhance user experience and operational efficiency for apps on Sui. Making the Sui Gas Pool component open source ensures the entire Sui community can effectively scale sponsored transactions, supporting new apps with large user bases. To learn more about the Sui Gas Pool, visit the GitHub repository. Feel free to contact engineers for any questions or problems experienced.

Scaling Gas Payment Sponsorship With the Sui Gas Pool

Mysten Labs is open-sourcing the Sui Gas Pool to the Sui developer community. This innovative service is designed to sponsor gas payments for transactions on Sui at scale, addressing important needs around user onboarding for apps with high concurrency needs.

Sui's native support for sponsored transactions allows a transaction to use a gas coin owned by a different address than the sender for gas payment. This feature allows a service to subsidize their users' transaction costs, significantly enhancing the onboarding experience for users new to Web3. Being able to get started without funding a wallet significantly enhances the user experience by providing greater flexibility and ease of use. Despite these advantages, app builders often struggle with the complexities of managing gas payments at scale.

The Sui Gas Pool allows apps to easily offer greater user onboarding experiences through sponsorship of gas payments at scale. Additionally, the Sui Gas Pool alleviates the burden that apps handling highly concurrent transactions experience, allowing them to streamline their operations through efficiently managed gas sponsorship.

How a Sui Gas Pool works

The Sui Gas Pool was developed with two primary goals in mind, horizontal scalability and generality. The system can easily scale by adding more instances to meet higher throughput demands, ensuring it can handle increased transaction volumes. It is also designed to be generic, allowing any builder to integrate and operate it as either a standalone service or part of their system.

When initializing a gas pool, it queries all gas coins dedicated to sponsoring transactions owned by the sponsor address then splits them into smaller gas coins with a configurable target initial balance. These gas coins are then added to the gas pool database which manages available gas coins and gas coin reservations. 

Funding the gas pool is straightforward: simply send a large balance gas coin to the sponsor address, and the gas pool will automatically detect and process it. To ensure that funding within the gas pool is maintained, the system periodically checks for any large gas coin owned by the sponsor and then splits it before adding to the gas pool.

The gas pool service operates an RPC server, with permission control managed through a secret bearer token in HTTP requests. The interaction workflow is as follows:

The client sends a reserve_gas request to the gas pool to reserve gas coins that meet the specified gas budget.

The client attaches the gas coins to the transaction and obtains the user's signature on the transaction.

The client sends the user-signed transaction to the gas pool through the execute_transaction request.

The gas pool signs the transaction, sends it to a full node to execute, and releases the gas coins.

Scaling a Sui Gas Pool

The Sui Gas Pool service scales efficiently through several mechanisms. 

Automated gas coin splitting: The automated gas coin splitting creates many smaller gas coin objects, allowing for increased throughput. 

Controlled transaction execution: Conservative waiting heuristics are not needed since the gas pool retains full control over transaction execution, ensuring gas coins are released promptly.

Centralized data persistence: Data persistence is handled through central Redis storage, allowing individual gas pool servers to run without local data persistence requirements or crash recovery. This allows app builders to run as many gas pool servers as needed per sponsor address with minimal overhead.

Multiple sponsors and services: The system can further scale by having multiple sponsors and deploying multiple gas pool services.

Get started

By addressing these needs and implementing a robust, scalable solution, the Sui Gas Pool significantly enhances the user experience and operational efficiency of apps on Sui. Enoki, Mysten Lab's customer experience platform, already uses the Sui Gas Pool  for its sponsored transaction feature. Through its usage in Enoki, the Sui Gas Pool demonstrates its reliability and efficiency in a production environment, highlighting its capability to enhance user experience and operational efficiency for apps on Sui.

Making the Sui Gas Pool component open source ensures the entire Sui community can effectively scale sponsored transactions, supporting new apps with large user bases.

To learn more about the Sui Gas Pool, visit the GitHub repository. Feel free to contact engineers for any questions or problems experienced.
Zero Hash Makes SUI Available to Its CustomersZero Hash, a leading crypto and stablecoin infrastructure platform that powers companies including Stripe, Shift4, and Franklin Templeton, now includes access to SUI. This move makes the SUI token available to Zero Hash's customers and their end users.  Offering API and SDK, technical and regulatory infrastructure focused on seamlessly connecting fiat, crypto, and stablecoins, Zero Hash bridges the fiat and onchain economy. Zero Hash allows companies to deploy blockchain technology with minimal friction and unlock new and better mechanisms of value transfer across brokerage, cross-border payments, commerce, tokenization, and payroll. SUI is now included among the 65 digital assets that Zero Hash supports across 22 blockchains. In addition to enabling customers to offer SUI to its clients, Zero Hash is standing up a new Validator on Sui, helping to support the network infrastructure.

Zero Hash Makes SUI Available to Its Customers

Zero Hash, a leading crypto and stablecoin infrastructure platform that powers companies including Stripe, Shift4, and Franklin Templeton, now includes access to SUI. This move makes the SUI token available to Zero Hash's customers and their end users. 

Offering API and SDK, technical and regulatory infrastructure focused on seamlessly connecting fiat, crypto, and stablecoins, Zero Hash bridges the fiat and onchain economy. Zero Hash allows companies to deploy blockchain technology with minimal friction and unlock new and better mechanisms of value transfer across brokerage, cross-border payments, commerce, tokenization, and payroll.

SUI is now included among the 65 digital assets that Zero Hash supports across 22 blockchains. In addition to enabling customers to offer SUI to its clients, Zero Hash is standing up a new Validator on Sui, helping to support the network infrastructure.
Sui Indexing Framework Enables Onchain Data IngestionThe Sui Indexing Framework offers customizable access to Sui’s onchain data through a powerful data ingestion framework. It enables the collection of both raw onchain data and derived datasets by any relevant software, whether operating onchain or offchain. Leveraging the Sui Indexing Framework to create customizable data feeds enables developers to effortlessly build software and products that respond to onchain events. The power of onchain data feeds Blockchain data structures are designed to ensure the integrity of transactions, which often means they are not optimized for random data access across their entire history. However, customizable data feeds built with the Sui Indexing Framework overcome this limitation, empowering developers to harness onchain data more effectively for real-time analytics and responsive applications.  Imagine a musician who wants to leverage NFTs to distribute music to their fans. They create a non-transferrable NFT collection where each NFT grants automatic access to an audio file stored in an offchain database upon minting. Utilizing the Sui Indexing Framework, a custom indexer can track the minting transactions associated with these specific NFTs on Sui. This setup enables a separate offchain service to perform actions like transferring audio files, triggered by events monitored through the custom indexer. The Sui Indexing Framework can be particularly useful for those who want a leaner Full node setup. Without an indexing solution, Full nodes typically retain the history of every transaction. Using the Sui Indexing Framework, a custom indexer can be created which feeds checkpoint data to be stored separate from the Full node. Many apps relying on Full nodes don’t actually need the Full node to actively hold recent checkpoint data if stored elsewhere in real time. This framework allows more efficient infrastructure set ups as Full nodes can be aggressively pruned to create leaner Full nodes. Additionally, the Sui Indexing Framework is a key piece needed for the development of onchain data dashboards. While a data analytics platform requires many more elements, the Sui Indexing Framework is a foundational piece for data ingestion that these apps rely on. How it works Data ingestion with Sui Indexing Framework begins with subscribing to the checkpoint stream from Sui in order to receive the most recent data. The most straightforward approach is to subscribe to the appropriate remote store of checkpoint data, like the ones Mysten Labs provides:  Testnet - https://checkpoints.testnet.sui.io Mainnet - https://checkpoints.mainnet.sui.io To do this, a worker function must be created to process the checkpoint data. The main app then calls the worker function whenever it detects an event in the remote store. use async_trait::async_trait; use sui_data_ingestion_core::{setup_single_workflow, Worker}; use sui_types::full_checkpoint_content::CheckpointData; struct CustomWorker; #[async_trait] impl Worker for CustomWorker { async fn process_checkpoint(&self, checkpoint: CheckpointData) -> Result<()> { println!( "processing checkpoint {}", checkpoint.checkpoint_summary.sequence_number ); // custom processing logic ... Ok(()) } } #[tokio::main] async fn main() -> Result<()> { let (executor, term_sender) = setup_single_workflow( CustomWorker, "https://checkpoints.mainnet.sui.io".to_string(), 0, /* initial checkpoint number */ 5, /* concurrency */ None, /* extra reader options */ ).await?; executor.await?; Ok(()) } For those operating their own Full node, they can opt in to create their own checkpoint stream. To enable the checkpoint stream, the following checkpoint-executor-config information must be added to the Full node configuration file: checkpoint-executor-config: data-ingestion-dir: <path to a local directory> Once the configuration is set, the Full node dumps checkpoint data into a local directory. The indexer daemon listens for checkpoint events and processes the data as new checkpoints arrive. The checkpoint data returned is a CheckpointData struct, which current apps are likely already familiar with. With the configuration, point the indexer to the data-ingestion-dir directory and process the data in the same manner as hosted subscriptions. Sui Indexing Framework supports both pull-based and push-based processing methods, offering developers the flexibility to choose between straightforward implementation or reduced latency. This versatility is crucial for apps that prioritize real-time data access and responsiveness. Dive deeper Whether creating apps that respond to real-time blockchain events or general data and infrastructure management, the Sui indexing framework offers the flexibility and reliability needed for such uses. For detailed implementation guidance, explore the Sui Custom Indexer documentation. To see the Sui Indexing Framework in action, explore the specialized indexing pipelines used by Mysten Labs, SuiNS, and the Sui Bridge.

Sui Indexing Framework Enables Onchain Data Ingestion

The Sui Indexing Framework offers customizable access to Sui’s onchain data through a powerful data ingestion framework. It enables the collection of both raw onchain data and derived datasets by any relevant software, whether operating onchain or offchain.

Leveraging the Sui Indexing Framework to create customizable data feeds enables developers to effortlessly build software and products that respond to onchain events.

The power of onchain data feeds

Blockchain data structures are designed to ensure the integrity of transactions, which often means they are not optimized for random data access across their entire history. However, customizable data feeds built with the Sui Indexing Framework overcome this limitation, empowering developers to harness onchain data more effectively for real-time analytics and responsive applications. 

Imagine a musician who wants to leverage NFTs to distribute music to their fans. They create a non-transferrable NFT collection where each NFT grants automatic access to an audio file stored in an offchain database upon minting. Utilizing the Sui Indexing Framework, a custom indexer can track the minting transactions associated with these specific NFTs on Sui. This setup enables a separate offchain service to perform actions like transferring audio files, triggered by events monitored through the custom indexer.

The Sui Indexing Framework can be particularly useful for those who want a leaner Full node setup. Without an indexing solution, Full nodes typically retain the history of every transaction. Using the Sui Indexing Framework, a custom indexer can be created which feeds checkpoint data to be stored separate from the Full node. Many apps relying on Full nodes don’t actually need the Full node to actively hold recent checkpoint data if stored elsewhere in real time. This framework allows more efficient infrastructure set ups as Full nodes can be aggressively pruned to create leaner Full nodes.

Additionally, the Sui Indexing Framework is a key piece needed for the development of onchain data dashboards. While a data analytics platform requires many more elements, the Sui Indexing Framework is a foundational piece for data ingestion that these apps rely on.

How it works

Data ingestion with Sui Indexing Framework begins with subscribing to the checkpoint stream from Sui in order to receive the most recent data. The most straightforward approach is to subscribe to the appropriate remote store of checkpoint data, like the ones Mysten Labs provides: 

Testnet - https://checkpoints.testnet.sui.io

Mainnet - https://checkpoints.mainnet.sui.io

To do this, a worker function must be created to process the checkpoint data. The main app then calls the worker function whenever it detects an event in the remote store.

use async_trait::async_trait; use sui_data_ingestion_core::{setup_single_workflow, Worker}; use sui_types::full_checkpoint_content::CheckpointData; struct CustomWorker; #[async_trait] impl Worker for CustomWorker { async fn process_checkpoint(&self, checkpoint: CheckpointData) -> Result<()> { println!( "processing checkpoint {}", checkpoint.checkpoint_summary.sequence_number ); // custom processing logic ... Ok(()) } } #[tokio::main] async fn main() -> Result<()> { let (executor, term_sender) = setup_single_workflow( CustomWorker, "https://checkpoints.mainnet.sui.io".to_string(), 0, /* initial checkpoint number */ 5, /* concurrency */ None, /* extra reader options */ ).await?; executor.await?; Ok(()) }

For those operating their own Full node, they can opt in to create their own checkpoint stream. To enable the checkpoint stream, the following

checkpoint-executor-config

information must be added to the Full node configuration file:

checkpoint-executor-config: data-ingestion-dir: <path to a local directory>

Once the configuration is set, the Full node dumps checkpoint data into a local directory. The indexer daemon listens for checkpoint events and processes the data as new checkpoints arrive. The checkpoint data returned is a

CheckpointData

struct, which current apps are likely already familiar with. With the configuration, point the indexer to the data-ingestion-dir directory and process the data in the same manner as hosted subscriptions.

Sui Indexing Framework supports both pull-based and push-based processing methods, offering developers the flexibility to choose between straightforward implementation or reduced latency. This versatility is crucial for apps that prioritize real-time data access and responsiveness.

Dive deeper

Whether creating apps that respond to real-time blockchain events or general data and infrastructure management, the Sui indexing framework offers the flexibility and reliability needed for such uses. For detailed implementation guidance, explore the Sui Custom Indexer documentation. To see the Sui Indexing Framework in action, explore the specialized indexing pipelines used by Mysten Labs, SuiNS, and the Sui Bridge.
Wave Wallet Builds a Launchpad to Sui AppsLacking a Google of Web3, users discover apps through social connections and the always perilous airdrops. Trustworthy directories are few and far between. The team behind Wave Wallet addresses this challenge, taking traditional Web3 wallet functionality and leveraging it for discoverability, accessibility, and built-in fun. This Telegram-integrated crypto wallet combines the intuitive interface and gamified features needed to give users an elevated experience. The platform emphasizes easy access to blockchain apps. “We prioritized simplicity, security, and accessibility,” said Dante Hiromi, Chief Product Officer at Wave Wallet. “By using Wave Wallet, users can effortlessly participate in various apps, and engage in all the activities Sui has to offer.” In Wave Wallet's signature app, Ocean Game, players earn OCEAN tokens, which unlock various events, games, and the other decentralized apps soon to launch in Wave Wallet. The company incentives users with SUI, NFTs, and its upcoming Wave Native Token.  To make their vision a reality, the Wave Wallet team chose Sui. With Sui, they didn’t have to worry about latency issues with their userbase increasing. Today, Wave Wallet hits peaks of 8.9 million transactions over 24 hours without any issues. And with consistently low gas fees, players aren’t hit with huge transaction costs. In addition, Sui's Coin package makes it easy to design utility tokens for any app. “We wanted to align with a growing ecosystem that would help enhance our app offerings,” said Hiromi. “With Sui's support, we are able to deliver access to a leading suite of apps, and provide the best, most seamless experience possible for our over 2.7 million users.” The Wave Wallet ecosystem  On Wave Wallet's platform, in-game OCEAN tokens enable access to a suite of games and applications. The company encourages users to claim OCEAN tokens and use them to explore the Wave Wallet universe to unlock even more awards.  “In some projects on different chains, users need to incur significant costs to acquire tokens and cover gas fees to experience apps and receive airdrops,” said Hiromi. “Our approach helps reduce costs for users, while ensuring Wave Wallet maintains a stable userbase for apps.”  In its current incarnation, users open their Wave Wallet within Telegram. From the wallet, users can open the OCEAN game and continually claim OCEAN tokens. A higher level boat and Aqua Cat, the game's character, earn more OCEAN.  Wave Wallet offers standard wallet features, such as asset storage and security, but also serves as a launchpad for games and apps. While the company could have opted for an offchain point system used by many other rival projects, Wave Wallet’s vision required a level of transparency that only blockchain could provide.  “Our approach combines the transparency of on-chain transactions through the OCEAN token, with the efficiency of offchain Wave Points for airdrops,” said Hiromi. “This hybrid strategy ensures that users experience the security and openness of blockchain technology, while also enjoying the convenience and accessibility of traditional point systems.” Navigating Web3 hurdles Building in the Web3 space posed some challenges. Traditional marketing methods don’t always translate to the decentralized landscape, making it harder to acquire users. And many potential users lack familiarity with decentralized applications, blockchain technology, smart contracts, and decentralized finance.  To empower users to more confidently explore and engage with the Wave Wallet world, the company provides educational resources and tutorials, largely directed at Telegram’s nearly one billion active users. While they may not be experts yet, many of the people that use the secure messaging app are already familiar with the Web3 space.  “We focused on curating innovative strategies to expand our userbase on Wave Wallet,” said Hiromi.  One means of growing its userbase involves creating engaging experiences within Wave Wallet. Along with OCEAN Game, it also features Lucky Wheel, letting users wager their OCEAN tokens to spin the wheel and win prizes. Lucky Wheel uses the Drand randomness beacon, ensuring fair gameplay. Wave Wallet's Battle Game offers more active play than its OCEAN Game, challenging players to accurately target enemy ships. Most recently, the team launched Battle Game. In this water-borne game, players attempt to sink enemy ships while hoping their opponent doesn't send their ships to the briny depths first.  And there’s much more on the way to delight users, including new games, apps, and the forthcoming WavePad, the company’s first crypto launchpad.

Wave Wallet Builds a Launchpad to Sui Apps

Lacking a Google of Web3, users discover apps through social connections and the always perilous airdrops. Trustworthy directories are few and far between.

The team behind Wave Wallet addresses this challenge, taking traditional Web3 wallet functionality and leveraging it for discoverability, accessibility, and built-in fun. This Telegram-integrated crypto wallet combines the intuitive interface and gamified features needed to give users an elevated experience. The platform emphasizes easy access to blockchain apps.

“We prioritized simplicity, security, and accessibility,” said Dante Hiromi, Chief Product Officer at Wave Wallet. “By using Wave Wallet, users can effortlessly participate in various apps, and engage in all the activities Sui has to offer.”

In Wave Wallet's signature app, Ocean Game, players earn OCEAN tokens, which unlock various events, games, and the other decentralized apps soon to launch in Wave Wallet. The company incentives users with SUI, NFTs, and its upcoming Wave Native Token. 

To make their vision a reality, the Wave Wallet team chose Sui. With Sui, they didn’t have to worry about latency issues with their userbase increasing. Today, Wave Wallet hits peaks of 8.9 million transactions over 24 hours without any issues. And with consistently low gas fees, players aren’t hit with huge transaction costs. In addition, Sui's Coin package makes it easy to design utility tokens for any app.

“We wanted to align with a growing ecosystem that would help enhance our app offerings,” said Hiromi. “With Sui's support, we are able to deliver access to a leading suite of apps, and provide the best, most seamless experience possible for our over 2.7 million users.”

The Wave Wallet ecosystem 

On Wave Wallet's platform, in-game OCEAN tokens enable access to a suite of games and applications. The company encourages users to claim OCEAN tokens and use them to explore the Wave Wallet universe to unlock even more awards. 

“In some projects on different chains, users need to incur significant costs to acquire tokens and cover gas fees to experience apps and receive airdrops,” said Hiromi. “Our approach helps reduce costs for users, while ensuring Wave Wallet maintains a stable userbase for apps.” 

In its current incarnation, users open their Wave Wallet within Telegram. From the wallet, users can open the OCEAN game and continually claim OCEAN tokens. A higher level boat and Aqua Cat, the game's character, earn more OCEAN. 

Wave Wallet offers standard wallet features, such as asset storage and security, but also serves as a launchpad for games and apps.

While the company could have opted for an offchain point system used by many other rival projects, Wave Wallet’s vision required a level of transparency that only blockchain could provide. 

“Our approach combines the transparency of on-chain transactions through the OCEAN token, with the efficiency of offchain Wave Points for airdrops,” said Hiromi. “This hybrid strategy ensures that users experience the security and openness of blockchain technology, while also enjoying the convenience and accessibility of traditional point systems.”

Navigating Web3 hurdles

Building in the Web3 space posed some challenges. Traditional marketing methods don’t always translate to the decentralized landscape, making it harder to acquire users. And many potential users lack familiarity with decentralized applications, blockchain technology, smart contracts, and decentralized finance. 

To empower users to more confidently explore and engage with the Wave Wallet world, the company provides educational resources and tutorials, largely directed at Telegram’s nearly one billion active users. While they may not be experts yet, many of the people that use the secure messaging app are already familiar with the Web3 space. 

“We focused on curating innovative strategies to expand our userbase on Wave Wallet,” said Hiromi. 

One means of growing its userbase involves creating engaging experiences within Wave Wallet. Along with OCEAN Game, it also features Lucky Wheel, letting users wager their OCEAN tokens to spin the wheel and win prizes. Lucky Wheel uses the Drand randomness beacon, ensuring fair gameplay.

Wave Wallet's Battle Game offers more active play than its OCEAN Game, challenging players to accurately target enemy ships.

Most recently, the team launched Battle Game. In this water-borne game, players attempt to sink enemy ships while hoping their opponent doesn't send their ships to the briny depths first. 

And there’s much more on the way to delight users, including new games, apps, and the forthcoming WavePad, the company’s first crypto launchpad.
Announcing the Sui Overflow Hackathon WinnersOver the course of eight weeks, 32 winners emerged from a stellar cohort of 352 project submissions in the Sui Overflow Hackathon. The winners scored first, second, and third place in the hackathon's eight tracks, with two third-place winners in each track.  As our first global hackathon, Sui Overflow gave builders a chance to show off their innovative ideas and their Move programming skills, building projects that ranged from developer tools to games. The eight specific tracks fell into two broad categories, Technology and Product. Sui Overflow began on April 21, and ran until June 21, with competitors showing off their projects to 47 judges during Demo Days over the weekend of June 15. Our judges included domain experts, investors and established builders. The Sui community also handed out 10 Community Favorite Awards through online voting. Additional awards included 10 winners from university teams, which puts the focus on student builders, and awards given out by Sui ecosystem projects. Project submissions came from 79 countries, with top representation from India, China, Nigeria, Vietnam, and the United States. Team members ranged from students to experienced blockchain builders, with many having experience on Solana, Polygon, and EVM-based chains. The judges shortlisted 65 projects, from which the track winners were selected.  Thanks go to our title sponsor dWallet, track sponsors Comma3 Ventures, Wormhole, and AngelHack, and our prize and award sponsors GSR, Supra, Alibaba Cloud, ZettaBlock, Movebit, e^win, Scallop, Pyth, Ryze Labs, and NAVI.  Consumer and Mobile These projects leverage Sui's unique features to simplify blockchain usage in consumer and mobile apps. First place Pandora Finance This decentralized prediction market incentivizes users to vote on the outcomes of future events. The team intends to launch new games and experiences on the platform. Second place stream.gift Focusing on Twitch streamers, stream.gift uses Sui as a payment mechanism, letting audience members donate to their favorite streamers, eliminating the middleman costs of existing services. Third place - Team 1 AdToken AdToken, a transparent decentralized advertising solution for advertisers and affiliates, leverages Sui’s object model to enable real-time and fast confirmations for transactions and campaign management. Third place - Team 2 Wave Wallet A Telegram-based crypto wallet built for Sui, Wave combines wallet functionality with powerful investment tools, prioritizing convenience, security, and user-centered design. DeFi Apps in this category use Sui's unique network architecture and primitives to facilitate DeFi. First place Hop Aggregator As a swap platform, Hop Aggregator emphasizes performance, with better routes and faster speeds than other trade platforms.  Second place Aeon Using custody as a starting point, Aeon envisions a go-to platform for digital asset services, integrating trade execution and advanced asset management solutions directly into its frontend. Third place - Team 1 Shio This auction platform focuses on maximal extractable value, a means of ordering transaction blocks, making this mechanism available to the Sui community. Third place - Team 2 Hakifi A decentralized hedging protocol leveraging blockchain technology to mitigate financial risks, Hakifi serves as an insurance companion, letting users freely select assets and providing recommendations for suitable insurance coverage.  Gaming This track consists of games and gaming-related tools that showcase what is possible on Sui. First place AresRPG This 3D open-world MMORPG utilizes Sui as its sole database, and seamlessly onboards Web2 users by delivering a gaming experience comparable to top-tier Web2 games, while integrating Web3 technology.  Second place Wagmi Kitchen Wagmi Kitchen, a fully onchain cooking-themed board game, lets players place wagers as they collect ingredients and attempt to serve as many meals as possible. Third place - Team 1 Infinite Seas As an MMO, players of Infinite Seas trade, battle, and conduct diplomacy with their fellows, on a platform that fosters microtransactions and player-to-player transactions. Third place - Team 2 Shall We Move Shall We Move brings the classic games of two and three card poker to Sui. All game functionalities, including card dealing, shuffling, and hiding, are executed onchain using encryption and randomness to ensure fairness and transparency. Infrastructure and Tools These new tools and apps equip builders and optimize development on Sui. First place Kraken The Kraken project provides a versatile ecosystem of apps with native and smart-contract based multisig mechanisms at its center, tailored for both teams and individuals on Sui. Second place SuiGPT SuiGPT uses a Large Language Model to decompile and beautify Sui contracts. Even if users have concerns about the contracts, they can get answers by asking the SuiGPT Chatbot and posting on community forums. Third place - Team 1 BitsLab IDE An out-of-the-box, configuration-free online development environment, BitsLab supports end-to-end development of Move smart contracts. It is powerful, user-friendly, includes built-in tutorials, and supports plugins. Third place - Team 2 SuiPass The SuiPass protocol combines credentials and security services for the Web3 ecosystem, serving as an all-in-one onchain passport to standardize data for universal, interoperable access.  Advanced Move Features These projects, which include tools, libraries, and apps, demonstrate expertise using Move on Sui and contributions to developer experience. First place Promise Promise is a quiz platform leveraging zero-knowledge proofs to create an engaging experience which combats ad fatigue through meaningful ad engagement. Second place Su Protocol The Su Protocol is a capital-efficient DeFi protocol that does not depend on over-collateralization to ensure the system’s solvency, instead transferring the volatility from risk-averse users to risk-seeking bulls.  Third place - Team 1 Sui Simulator As a tool that allows developers to easily read and call Sui smart contracts without the use of a CLI, Sui Simulator creates a better and more efficient developer experience for those building on Sui. Third place - Team 2 Sui Metadata Sui Metadata, a Move library, offers a set of tools to store, retrieve, and manage any type of primitive data as chunks in a vector without dependencies or any Struct defined. Multichain Focused on the Wormhole protocol, these projects unlock the potential of blockchain interoperability. First place Sui NTT The Wormhole Native Token Transfer (NTT) protocol provides fungible and non-fungible token transfer functionality across all wormhole supported chains. Sui NTT is the Sui implementation of Wormhole NTT. Second place Wormhole Kit As a React library developed for apps to easily plug into Wormhole bridge, Wormhole-kit offers a simple path for apps to bridge assets cross-chain. Third place - Team 1 SuiWalletBot SuiWalletBot is a Telegram-bot allowing users to manage their Sui wallet to execute multichain token transfers using the Wormhole SDK as well as manage their liquidity pool positions in Sui DeFi apps from the comfort of Telegram.  Third place - Team 2 Multichain Meme Creator The Multichain Meme Creator platform allows anyone to create and swap memes across multiple networks with no developer experience required.  Randomness The randomness track winners show the many ways randomness and cryptographic primitives on Sui contribute to security and apps, and includes useful developer tools. First place Sui dApp Starter As a full-stack project scaffold, Sui dApp Starter makes it easy to start projects leveraging randomness on Sui, offering tools for network management and transaction monitoring. Second place BioWallet BioWallet creates secure hardware wallets within existing devices leveraging biometric login. By eliminating the need for traditional seed phrase management while adding multisig and WebAuthn features, BioWallet offers seamless Sui onboarding.  Third place - Team 1 SuiAutochess Built as an onchain auto-battle chess game, SuiAutochess leverages Sui's native randomness, creating a fair, transparent, and secure gaming experience.  Third place - Team 2 HexCapsule Timelock encryption is a technique that HexCapsule brings to Sui. Using Drand to encrypt data and Move code generate private keys used for decryption at a later time, this feature is useful for apps which need to enforce time-based requirements. zkLogin Leveraging zkLogin, these apps unlock seamless user experiences. First place PinataBot Leveraging zkLogin within a Telegram bot app, Pinata Bot offers a user-friendly avenue for trading assets on Sui, bridging Web3 utility to messenger apps that people use every day. Second place LiquidLink LiquidLink aspires to become a universal social profile for Sui enabling community growth and engagement with features like leaderboard scores and referral programs. Third place - Team 1 Webauth on Sui Pairing WebAuthn technology with zkLogin offers greater security of ephemeral keypairs, which are used in zkLogin. Webauth on Sui showcases the power of zkLogin with Webauth and is working to integrate to offer better zkLogin experiences. Third place - Team 2 Aalps Protocol Aalps is a “Real-time Reddit for Commodities,” connecting global industry workers with traders to efficiently share commodity market data. Using zkLogin and friend.tech-inspired mechanisms for supplier verification and data access control, Aalps offers a transparent platform for exchanging insights. Community Favorite Award From the short list of 65 projects, the Sui community voted through an onchain app for 10 Community Favorite Awards. With 29,545 votes tallied, 10 projects ranging from DeFi apps to useful developer tools gained the top spots. AdToken FoMoney Hakifi  Mrc20protocol  Mystic Tarot Orbital Promise Sui Simulator SuiSec Toolkit WeCastle University Award Winners The University Awards put the spotlight on student teams competing in the Sui Overflow Hackathon. These teams represent a new generation of builders who bring a unique focus on problem solving. Aalps Protocol Fren Suipport LiquidLink Multichain Meme Creator Orbital stream.gift Sui Simulator SuiGPT The Wanderer WeCastle Ecosystem Prize Winners We are announcing the Ecosystem Prize Winners on behalf of the specific Sui projects that awarded them. These projects are helping elevate Sui by nurturing new builders as part of the Sui Overflow Hackathon. Any questions about these specific awards need to be addressed to the individual ecosystem projects that awarded them. Aftermath Finance 1st place AresRPG 2nd place  DoubleUp BlockEden 1st place Orbital 2nd place Liquidity Garden 3rd place - Team 1 BioWallet 3rd place - Team 2 Cocktail OTC market 3rd place - Team 3 Fistack 3rd place - Team 4 SharkyTheSuiBot 3rd place - Team 5 Zomdev BlockVision 1st place Fistack 2nd place stream.gift 3rd place DegenHive 4th place Suidae Bucket Protocol 1st place FoMoney 2nd place Nui Finance 3rd place SuiAutochess 4th place Mole Participation award - Team 1 LiquidLink Participation award - Team 2 Strater Participation award - Team 3 DoubleUp Cetus 1st place Bubble.fund dWallet 1st place Aeon 2nd place Snotra Protocol 3rd place Crux Network FlowX Finance 1st place Nimbus Fud The Pug 1st place - Team 1 DoubleUp 1st place - Team 2 Kriya Credit 2nd place Betmeme Kriya 1st place Kriya Credit 2nd place SuiMate 3rd place CLMM and DeepBook Market Making Vaulta 4th place KriyaDexBot 5th place higan.fun NAVI 1st place Flashloan_Indexer 2nd place NAVI arbitrage Bot 3rd place staking-strategy Scallop 1st place Mrc20protocol  Space and Time 1st place Sui Community Engagement Platform ZettaBlock 1st place Suirang 2nd place Sui Assistant 3rd place ZKNsight 4th place SharkyTheSuiBot We're one percent done We offer our profuse gratitude to everyone who participated in our first Sui Overflow Hackathon and recognize the potential of creating user value from Sui's technology. The judges had a wealth of great projects to select from, all of which have a bright future ahead on Sui. As builders get started on developing and launching their projects, Sui itself continues to advance, its technology becoming even more performant and offering exciting new features. Sui has so much potential and we've just gotten started. And stay tuned for the next Sui hackathon!

Announcing the Sui Overflow Hackathon Winners

Over the course of eight weeks, 32 winners emerged from a stellar cohort of 352 project submissions in the Sui Overflow Hackathon. The winners scored first, second, and third place in the hackathon's eight tracks, with two third-place winners in each track. 

As our first global hackathon, Sui Overflow gave builders a chance to show off their innovative ideas and their Move programming skills, building projects that ranged from developer tools to games. The eight specific tracks fell into two broad categories, Technology and Product. Sui Overflow began on April 21, and ran until June 21, with competitors showing off their projects to 47 judges during Demo Days over the weekend of June 15. Our judges included domain experts, investors and established builders.

The Sui community also handed out 10 Community Favorite Awards through online voting. Additional awards included 10 winners from university teams, which puts the focus on student builders, and awards given out by Sui ecosystem projects.

Project submissions came from 79 countries, with top representation from India, China, Nigeria, Vietnam, and the United States. Team members ranged from students to experienced blockchain builders, with many having experience on Solana, Polygon, and EVM-based chains. The judges shortlisted 65 projects, from which the track winners were selected. 

Thanks go to our title sponsor dWallet, track sponsors Comma3 Ventures, Wormhole, and AngelHack, and our prize and award sponsors GSR, Supra, Alibaba Cloud, ZettaBlock, Movebit, e^win, Scallop, Pyth, Ryze Labs, and NAVI. 

Consumer and Mobile

These projects leverage Sui's unique features to simplify blockchain usage in consumer and mobile apps.

First place

Pandora Finance

This decentralized prediction market incentivizes users to vote on the outcomes of future events. The team intends to launch new games and experiences on the platform.

Second place

stream.gift

Focusing on Twitch streamers, stream.gift uses Sui as a payment mechanism, letting audience members donate to their favorite streamers, eliminating the middleman costs of existing services.

Third place - Team 1

AdToken

AdToken, a transparent decentralized advertising solution for advertisers and affiliates, leverages Sui’s object model to enable real-time and fast confirmations for transactions and campaign management.

Third place - Team 2

Wave Wallet

A Telegram-based crypto wallet built for Sui, Wave combines wallet functionality with powerful investment tools, prioritizing convenience, security, and user-centered design.

DeFi

Apps in this category use Sui's unique network architecture and primitives to facilitate DeFi.

First place

Hop Aggregator

As a swap platform, Hop Aggregator emphasizes performance, with better routes and faster speeds than other trade platforms. 

Second place

Aeon

Using custody as a starting point, Aeon envisions a go-to platform for digital asset services, integrating trade execution and advanced asset management solutions directly into its frontend.

Third place - Team 1

Shio

This auction platform focuses on maximal extractable value, a means of ordering transaction blocks, making this mechanism available to the Sui community.

Third place - Team 2

Hakifi

A decentralized hedging protocol leveraging blockchain technology to mitigate financial risks, Hakifi serves as an insurance companion, letting users freely select assets and providing recommendations for suitable insurance coverage. 

Gaming

This track consists of games and gaming-related tools that showcase what is possible on Sui.

First place

AresRPG

This 3D open-world MMORPG utilizes Sui as its sole database, and seamlessly onboards Web2 users by delivering a gaming experience comparable to top-tier Web2 games, while integrating Web3 technology. 

Second place

Wagmi Kitchen

Wagmi Kitchen, a fully onchain cooking-themed board game, lets players place wagers as they collect ingredients and attempt to serve as many meals as possible.

Third place - Team 1

Infinite Seas

As an MMO, players of Infinite Seas trade, battle, and conduct diplomacy with their fellows, on a platform that fosters microtransactions and player-to-player transactions.

Third place - Team 2

Shall We Move

Shall We Move brings the classic games of two and three card poker to Sui. All game functionalities, including card dealing, shuffling, and hiding, are executed onchain using encryption and randomness to ensure fairness and transparency.

Infrastructure and Tools

These new tools and apps equip builders and optimize development on Sui.

First place

Kraken

The Kraken project provides a versatile ecosystem of apps with native and smart-contract based multisig mechanisms at its center, tailored for both teams and individuals on Sui.

Second place

SuiGPT

SuiGPT uses a Large Language Model to decompile and beautify Sui contracts. Even if users have concerns about the contracts, they can get answers by asking the SuiGPT Chatbot and posting on community forums.

Third place - Team 1

BitsLab IDE

An out-of-the-box, configuration-free online development environment, BitsLab supports end-to-end development of Move smart contracts. It is powerful, user-friendly, includes built-in tutorials, and supports plugins.

Third place - Team 2

SuiPass

The SuiPass protocol combines credentials and security services for the Web3 ecosystem, serving as an all-in-one onchain passport to standardize data for universal, interoperable access. 

Advanced Move Features

These projects, which include tools, libraries, and apps, demonstrate expertise using Move on Sui and contributions to developer experience.

First place

Promise

Promise is a quiz platform leveraging zero-knowledge proofs to create an engaging experience which combats ad fatigue through meaningful ad engagement.

Second place

Su Protocol

The Su Protocol is a capital-efficient DeFi protocol that does not depend on over-collateralization to ensure the system’s solvency, instead transferring the volatility from risk-averse users to risk-seeking bulls. 

Third place - Team 1

Sui Simulator

As a tool that allows developers to easily read and call Sui smart contracts without the use of a CLI, Sui Simulator creates a better and more efficient developer experience for those building on Sui.

Third place - Team 2

Sui Metadata

Sui Metadata, a Move library, offers a set of tools to store, retrieve, and manage any type of primitive data as chunks in a vector without dependencies or any Struct defined.

Multichain

Focused on the Wormhole protocol, these projects unlock the potential of blockchain interoperability.

First place

Sui NTT

The Wormhole Native Token Transfer (NTT) protocol provides fungible and non-fungible token transfer functionality across all wormhole supported chains. Sui NTT is the Sui implementation of Wormhole NTT.

Second place

Wormhole Kit

As a React library developed for apps to easily plug into Wormhole bridge, Wormhole-kit offers a simple path for apps to bridge assets cross-chain.

Third place - Team 1

SuiWalletBot

SuiWalletBot is a Telegram-bot allowing users to manage their Sui wallet to execute multichain token transfers using the Wormhole SDK as well as manage their liquidity pool positions in Sui DeFi apps from the comfort of Telegram. 

Third place - Team 2

Multichain Meme Creator

The Multichain Meme Creator platform allows anyone to create and swap memes across multiple networks with no developer experience required. 

Randomness

The randomness track winners show the many ways randomness and cryptographic primitives on Sui contribute to security and apps, and includes useful developer tools.

First place

Sui dApp Starter

As a full-stack project scaffold, Sui dApp Starter makes it easy to start projects leveraging randomness on Sui, offering tools for network management and transaction monitoring.

Second place

BioWallet

BioWallet creates secure hardware wallets within existing devices leveraging biometric login. By eliminating the need for traditional seed phrase management while adding multisig and WebAuthn features, BioWallet offers seamless Sui onboarding. 

Third place - Team 1

SuiAutochess

Built as an onchain auto-battle chess game, SuiAutochess leverages Sui's native randomness, creating a fair, transparent, and secure gaming experience. 

Third place - Team 2

HexCapsule

Timelock encryption is a technique that HexCapsule brings to Sui. Using Drand to encrypt data and Move code generate private keys used for decryption at a later time, this feature is useful for apps which need to enforce time-based requirements.

zkLogin

Leveraging zkLogin, these apps unlock seamless user experiences.

First place

PinataBot

Leveraging zkLogin within a Telegram bot app, Pinata Bot offers a user-friendly avenue for trading assets on Sui, bridging Web3 utility to messenger apps that people use every day.

Second place

LiquidLink

LiquidLink aspires to become a universal social profile for Sui enabling community growth and engagement with features like leaderboard scores and referral programs.

Third place - Team 1

Webauth on Sui

Pairing WebAuthn technology with zkLogin offers greater security of ephemeral keypairs, which are used in zkLogin. Webauth on Sui showcases the power of zkLogin with Webauth and is working to integrate to offer better zkLogin experiences.

Third place - Team 2

Aalps Protocol

Aalps is a “Real-time Reddit for Commodities,” connecting global industry workers with traders to efficiently share commodity market data. Using zkLogin and friend.tech-inspired mechanisms for supplier verification and data access control, Aalps offers a transparent platform for exchanging insights.

Community Favorite Award

From the short list of 65 projects, the Sui community voted through an onchain app for 10 Community Favorite Awards. With 29,545 votes tallied, 10 projects ranging from DeFi apps to useful developer tools gained the top spots.

AdToken

FoMoney

Hakifi 

Mrc20protocol 

Mystic Tarot

Orbital

Promise

Sui Simulator

SuiSec Toolkit

WeCastle

University Award Winners

The University Awards put the spotlight on student teams competing in the Sui Overflow Hackathon. These teams represent a new generation of builders who bring a unique focus on problem solving.

Aalps Protocol

Fren Suipport

LiquidLink

Multichain Meme Creator

Orbital

stream.gift

Sui Simulator

SuiGPT

The Wanderer

WeCastle

Ecosystem Prize Winners

We are announcing the Ecosystem Prize Winners on behalf of the specific Sui projects that awarded them. These projects are helping elevate Sui by nurturing new builders as part of the Sui Overflow Hackathon. Any questions about these specific awards need to be addressed to the individual ecosystem projects that awarded them.

Aftermath Finance

1st place

AresRPG

2nd place 

DoubleUp

BlockEden

1st place

Orbital

2nd place

Liquidity Garden

3rd place - Team 1

BioWallet

3rd place - Team 2

Cocktail OTC market

3rd place - Team 3

Fistack

3rd place - Team 4

SharkyTheSuiBot

3rd place - Team 5

Zomdev

BlockVision

1st place

Fistack

2nd place

stream.gift

3rd place

DegenHive

4th place

Suidae

Bucket Protocol

1st place

FoMoney

2nd place

Nui Finance

3rd place

SuiAutochess

4th place

Mole

Participation award - Team 1

LiquidLink

Participation award - Team 2

Strater

Participation award - Team 3

DoubleUp

Cetus

1st place

Bubble.fund

dWallet

1st place

Aeon

2nd place

Snotra Protocol

3rd place

Crux Network

FlowX Finance

1st place

Nimbus

Fud The Pug

1st place - Team 1

DoubleUp

1st place - Team 2

Kriya Credit

2nd place

Betmeme

Kriya

1st place

Kriya Credit

2nd place

SuiMate

3rd place

CLMM and DeepBook Market Making Vaulta

4th place

KriyaDexBot

5th place

higan.fun

NAVI

1st place

Flashloan_Indexer

2nd place

NAVI arbitrage Bot

3rd place

staking-strategy

Scallop

1st place

Mrc20protocol 

Space and Time

1st place

Sui Community Engagement Platform

ZettaBlock

1st place

Suirang

2nd place

Sui Assistant

3rd place

ZKNsight

4th place

SharkyTheSuiBot

We're one percent done

We offer our profuse gratitude to everyone who participated in our first Sui Overflow Hackathon and recognize the potential of creating user value from Sui's technology. The judges had a wealth of great projects to select from, all of which have a bright future ahead on Sui.

As builders get started on developing and launching their projects, Sui itself continues to advance, its technology becoming even more performant and offering exciting new features. Sui has so much potential and we've just gotten started.

And stay tuned for the next Sui hackathon!
Sui Bridge Incentive Program UpdateThe Sui Bridge incentivized testnet phase will conclude on July 8th, marking the final opportunity for participation. Community feedback and thorough testing during this critical phase is crucial in ensuring the smooth functionality of the Sui Bridge upon its mainnet launch. To make sure that your actions are eligible for rewards, ensure that your are adhering to the following requirements:  Complete the full bridge cycle by transferring from Ethereum to Sui and from Sui back to Ethereum. Initiate bridging transactions only through the official Sui Bridge frontend. For those providing feedback, make sure your Sui address is associated with your feedback on Discord. Major Frontend Update Now Live Today a major update has been pushed to the Sui Bridge frontend. This update improves the transaction history tab by enabling faster loading through integration with the Bridge Indexer. As an open-source and permissionless software, the Bridge Indexer empowers anyone to collect comprehensive bridge data and build customizable dashboards. This enhancement not only improves user experience but also strengthens the transparency and accessibility of the Sui Bridge. Special Testing Scenario Starting today, we will initiate a special testing scenario to simulate scenarios where users may experience delays in claiming their assets. During this period, the bridge limit will be intentionally reduced, requiring users to wait and manually claim their tokens upon reset. While such occurrences will be rare on mainnet, it is essential to rigorously test these scenarios now to preemptively address any operational challenges. Keep a lookout on Discord for more information. Stay Informed For those interested in participating in the testnet incentive program, check out our previous blog article which covers the details of the program and how to participate. Rewards from the Sui Bridge incentive program will be distributed to participants after the incentive program closes. Keep an eye out for more information in the coming weeks on when distribution will occur. Community efforts in testing and providing feedback are instrumental in shaping the future of the Sui Bridge. We’d like to thank everyone who is participating in creating a stronger Sui Bridge. Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.

Sui Bridge Incentive Program Update

The Sui Bridge incentivized testnet phase will conclude on July 8th, marking the final opportunity for participation. Community feedback and thorough testing during this critical phase is crucial in ensuring the smooth functionality of the Sui Bridge upon its mainnet launch.

To make sure that your actions are eligible for rewards, ensure that your are adhering to the following requirements: 

Complete the full bridge cycle by transferring from Ethereum to Sui and from Sui back to Ethereum.

Initiate bridging transactions only through the official Sui Bridge frontend.

For those providing feedback, make sure your Sui address is associated with your feedback on Discord.

Major Frontend Update Now Live

Today a major update has been pushed to the Sui Bridge frontend. This update improves the transaction history tab by enabling faster loading through integration with the Bridge Indexer. As an open-source and permissionless software, the Bridge Indexer empowers anyone to collect comprehensive bridge data and build customizable dashboards. This enhancement not only improves user experience but also strengthens the transparency and accessibility of the Sui Bridge.

Special Testing Scenario

Starting today, we will initiate a special testing scenario to simulate scenarios where users may experience delays in claiming their assets. During this period, the bridge limit will be intentionally reduced, requiring users to wait and manually claim their tokens upon reset. While such occurrences will be rare on mainnet, it is essential to rigorously test these scenarios now to preemptively address any operational challenges. Keep a lookout on Discord for more information.

Stay Informed

For those interested in participating in the testnet incentive program, check out our previous blog article which covers the details of the program and how to participate. Rewards from the Sui Bridge incentive program will be distributed to participants after the incentive program closes. Keep an eye out for more information in the coming weeks on when distribution will occur.

Community efforts in testing and providing feedback are instrumental in shaping the future of the Sui Bridge. We’d like to thank everyone who is participating in creating a stronger Sui Bridge.

Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.
All About Closed-Loop TokensClosed-Loop Tokens (CLTs) allow for the creation of tokens on Sui that have defined rules and restrictions, enabling the creation of closed token systems. Unlike Sui’s Coin standard, which allows unrestricted usage and transfer, CLTs offer a more controlled and customizable approach. In Sui, the Coin standard can be used to create flexible, unrestricted, and universally recognized coins akin to cash that can be used anywhere by anyone. While this is advantageous for broad, general-use scenarios, it fails to meet the demands of use cases that require strict control over how, where, and by whom tokens are used.  CLTs are particularly valuable for apps using tokens for specifically defined purposes, such as rewarding loyal customers, complying with jurisdictional regulations, or creating a closed in-game economy. The need for Closed-Loop Tokens While the unrestricted nature of the Sui Coin standard proves extremely valuable for many uses, the free-flowing nature of a coin can actually be a limitation. These types of assets can function like cash; they are freely transferable, wrappable, and can be recognized and accepted in any app.  This open-loop system is beneficial for many scenarios but falls short in apps requiring specific constraints. For instance, certain services might need tokens that can only be used for a specific purpose, by authorized accounts which have completed KYC checks, or in-game currency which can only be spent within specified marketplaces. The need for such specific constraints arises in various scenarios. Loyalty programs, in-game currencies, and restricted marketplaces often work better in controlled environments where tokens cannot be traded or used outside their intended context. Regulatory compliance also demands restrictions on token usage to ensure only verified or authorized entities can hold and use these tokens. With the implementation of these controls, the potential for misuse, fraud, and regulatory breaches can be mitigated, which is essential in creating an economic system that can enforce specific rules and restrictions. Opportunities unlocked by Closed-Loop Tokens CLTs empower builders with a higher degree of control and customization over how tokens are used and transferred within their apps. Using the CLT standard in the Sui framework, developers can: Restrict token usage to authorized apps. Set up custom policies for transfers, spends, and conversions. Add arbitrary restrictions on token transfers between user addresses, spending tokens, and token usage in smart contracts. These capabilities open up a wide range of possibilities. For example, tokens can be designed to prevent onchain trading, making them ideal for loyalty programs or in-game currencies where speculation is undesirable. They can also ensure compliance with regulatory requirements by restricting usage to verified accounts or specific services. How Closed-Loop Tokens work Builders implement CLTs through the sui::token module, which distinguishes them from traditional coins by their lack of the store ability. This means CLTs cannot be wrapped, stored as dynamic fields, or freely transferred unless a custom policy allows it. They can only be owned by an account and not stored in an app, but they can be spent. The authorization mechanism for CLTs is called an ActionRequest, allowing the token owner to specify which actions (transfers, spends, conversions) are permitted and enforceable through predefined rules. A TokenPolicy is a shared object that the token creator can generate using the TreasuryCap, specifying the conditions for token transfers, spends, or conversions. These policies are enforced by programmable rules within the TokenPolicy, implemented as separate Move modules, allowing for modular and reusable policy definitions. To address token storage issues, CLTs utilize a spend method, where spent tokens can either be burned directly or delivered to the TokenPolicy as spent_balance. This balance cannot be reused and can only be burned, ensuring strict control over token lifecycle and usage. Closing the loop Closed-Loop Tokens offer a level of control and customization not possible with the Sui Coin standard or typical token standards found elsewhere on other blockchain protocols. By enabling developers to impose specific rules and restrictions on token usage, CLTs open up new possibilities for secure, compliant, and specialized apps. The adoption and implementation of CLTs will play a crucial role in shaping the future of DeFi and digital assets. Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.

All About Closed-Loop Tokens

Closed-Loop Tokens (CLTs) allow for the creation of tokens on Sui that have defined rules and restrictions, enabling the creation of closed token systems. Unlike Sui’s Coin standard, which allows unrestricted usage and transfer, CLTs offer a more controlled and customizable approach.

In Sui, the Coin standard can be used to create flexible, unrestricted, and universally recognized coins akin to cash that can be used anywhere by anyone. While this is advantageous for broad, general-use scenarios, it fails to meet the demands of use cases that require strict control over how, where, and by whom tokens are used. 

CLTs are particularly valuable for apps using tokens for specifically defined purposes, such as rewarding loyal customers, complying with jurisdictional regulations, or creating a closed in-game economy.

The need for Closed-Loop Tokens

While the unrestricted nature of the Sui Coin standard proves extremely valuable for many uses, the free-flowing nature of a coin can actually be a limitation. These types of assets can function like cash; they are freely transferable, wrappable, and can be recognized and accepted in any app. 

This open-loop system is beneficial for many scenarios but falls short in apps requiring specific constraints. For instance, certain services might need tokens that can only be used for a specific purpose, by authorized accounts which have completed KYC checks, or in-game currency which can only be spent within specified marketplaces.

The need for such specific constraints arises in various scenarios. Loyalty programs, in-game currencies, and restricted marketplaces often work better in controlled environments where tokens cannot be traded or used outside their intended context. Regulatory compliance also demands restrictions on token usage to ensure only verified or authorized entities can hold and use these tokens. With the implementation of these controls, the potential for misuse, fraud, and regulatory breaches can be mitigated, which is essential in creating an economic system that can enforce specific rules and restrictions.

Opportunities unlocked by Closed-Loop Tokens

CLTs empower builders with a higher degree of control and customization over how tokens are used and transferred within their apps. Using the CLT standard in the Sui framework, developers can:

Restrict token usage to authorized apps.

Set up custom policies for transfers, spends, and conversions.

Add arbitrary restrictions on token transfers between user addresses, spending tokens, and token usage in smart contracts.

These capabilities open up a wide range of possibilities. For example, tokens can be designed to prevent onchain trading, making them ideal for loyalty programs or in-game currencies where speculation is undesirable. They can also ensure compliance with regulatory requirements by restricting usage to verified accounts or specific services.

How Closed-Loop Tokens work

Builders implement CLTs through the sui::token module, which distinguishes them from traditional coins by their lack of the store ability. This means CLTs cannot be wrapped, stored as dynamic fields, or freely transferred unless a custom policy allows it. They can only be owned by an account and not stored in an app, but they can be spent. The authorization mechanism for CLTs is called an ActionRequest, allowing the token owner to specify which actions (transfers, spends, conversions) are permitted and enforceable through predefined rules.

A TokenPolicy is a shared object that the token creator can generate using the TreasuryCap, specifying the conditions for token transfers, spends, or conversions. These policies are enforced by programmable rules within the TokenPolicy, implemented as separate Move modules, allowing for modular and reusable policy definitions. To address token storage issues, CLTs utilize a spend method, where spent tokens can either be burned directly or delivered to the TokenPolicy as spent_balance. This balance cannot be reused and can only be burned, ensuring strict control over token lifecycle and usage.

Closing the loop

Closed-Loop Tokens offer a level of control and customization not possible with the Sui Coin standard or typical token standards found elsewhere on other blockchain protocols. By enabling developers to impose specific rules and restrictions on token usage, CLTs open up new possibilities for secure, compliant, and specialized apps. The adoption and implementation of CLTs will play a crucial role in shaping the future of DeFi and digital assets.

Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.
Sui Founders Share Knowledge Under Driving PressureDuring Sui Basecamp the original contributors to the Sui blockchain demonstrated their technical chops under pressure, answering questions about Sui while taking laps on the Oracle Red Bull Racing driving simulator.  Evan Cheng, aka Revvin' Evan, maintains his driving line while explaining that Mysticeti sets the record for blockchain finality. Sam Blackshear, aka Quickmove Quinn, succinctly explains dynamic objects on Sui while going wide in a turn. Kostas Chalkias, aka Byte Racer, calls Sui the most innovative blockchain in the world, keeping super cool in a hairpin. And Adeniyi Abiodun, aka Non-Fungible Fury, lays out how closed loop tokens let builders set the rules for assets as he takes a turn fast-in and fast-out. Learn everything about Sui and demonstrate the same killer focus under pressure as Evan, Sam, Kostas, and Adeniyi.

Sui Founders Share Knowledge Under Driving Pressure

During Sui Basecamp the original contributors to the Sui blockchain demonstrated their technical chops under pressure, answering questions about Sui while taking laps on the Oracle Red Bull Racing driving simulator. 

Evan Cheng, aka Revvin' Evan, maintains his driving line while explaining that Mysticeti sets the record for blockchain finality. Sam Blackshear, aka Quickmove Quinn, succinctly explains dynamic objects on Sui while going wide in a turn. Kostas Chalkias, aka Byte Racer, calls Sui the most innovative blockchain in the world, keeping super cool in a hairpin. And Adeniyi Abiodun, aka Non-Fungible Fury, lays out how closed loop tokens let builders set the rules for assets as he takes a turn fast-in and fast-out.

Learn everything about Sui and demonstrate the same killer focus under pressure as Evan, Sam, Kostas, and Adeniyi.
Copper Offers Custody, Staking for SUICopper, a digital asset infrastructure company, will offer custody and staking solutions for Sui. The move provides a gateway for institutional and enterprise users who want to access SUI. Copper's services, which focus on institutional investors, bridge the gap between traditional finance and digital assets. The company offers secure digital asset custody, offchain settlement services for cryptocurrencies, staking, and a DeFi stack, among other products. Founded in 2018, Copper provides custody services for over 50 blockchains and sees over $50 billion in monthly trading volume. As a custodian for SUI, Copper now offers customers an infrastructure-integrated wallet service for cryptocurrency storage that seamlessly enables transactions between its end users and those of exchanges.  The company is also in the process of expanding its SUI services to include staking and DeFi support.  Copper's support for SUI gives its customers a streamlined path to engage with the most performant blockchain, which has seen extraordinary DeFi growth over the last year. Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.

Copper Offers Custody, Staking for SUI

Copper, a digital asset infrastructure company, will offer custody and staking solutions for Sui. The move provides a gateway for institutional and enterprise users who want to access SUI.

Copper's services, which focus on institutional investors, bridge the gap between traditional finance and digital assets. The company offers secure digital asset custody, offchain settlement services for cryptocurrencies, staking, and a DeFi stack, among other products. Founded in 2018, Copper provides custody services for over 50 blockchains and sees over $50 billion in monthly trading volume.

As a custodian for SUI, Copper now offers customers an infrastructure-integrated wallet service for cryptocurrency storage that seamlessly enables transactions between its end users and those of exchanges. 

The company is also in the process of expanding its SUI services to include staking and DeFi support. 

Copper's support for SUI gives its customers a streamlined path to engage with the most performant blockchain, which has seen extraordinary DeFi growth over the last year.

Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.
Advancing Web3 Identity Structures With SuiNS SubnamesSuiNS Subnames, a powerful extension of the Sui Name Service, was recently released along with the new naming convention. Subnames allow users to create additional, customized identities under a primary SuiNS name—for no additional cost. A user @xi can create subnames such as gaming@xi or lending@xi, enhancing personal organization and supporting hierarchical structures for groups and organizations. This development is significant for both individuals and businesses. With subnames, companies, DAOs, and other organizations can issue branded account names for their users or employees, providing onchain identities that improve user experience with Sui's powerful features and utilities. Subnames are cost effective as they do not need to be purchased separately and only require gas to be created. Subnames can also be nested, creating subnames within subnames, for even deeper organizational structures. SuiNS Subnames allow users to organize independent accounts under one parent SuiNS name. What are SuiNS Subnames? SuiNS Subnames introduce an innovative layer to the Sui Name Service by enabling users to generate multiple personalized identities under a single primary SuiNS name. For instance, a business can hold its primary SuiNS name and assign subnames to employees or departments, enhancing brand consistency and identity management across different levels within the organization. Subnames can also be nested to create complex identity structures. For example, a gaming guild could have subnames from the game SuiNS identity to represent its group, such as guild@game. From there users can create their own subnames that represent their accounts within the guild, such as user.guild@game. Users can then create different characters or game sessions that are nested within their account subname, such as character.user.guild@game. This nesting capability allows for unique and powerful identity hierarchies.  Organizations can create hierarchical structures using SuiNS, perfect for establishing teams. Why subnames matter While SuiNS names allow individuals to establish their unique onchain identity, subnames take this benefit a step further by enabling the representation of groups, organizations, and intricate hierarchies. This feature is particularly valuable for companies, DAOs, and other entities looking to issue vanity names or usernames that reflect their onchain presence simply and effectively. Subnames enable businesses to maintain a cohesive onchain brand identity. A Web3 company like Mysten Labs, for instance, can issue @mystenlabs subdomains to its employees, akin to company email addresses. Another use for subnames is for an organization to create department-specific subnames like finance@company or hr@company, which can be used for managing finances or keeping records onchain.  Subnames tap into the growing demand for customized digital identities by individuals, making onchain interactions more human and relatable. For organizations, subnames allow for detailed categorization and management of entities within the organization while also offering unique avenues to strengthen brand presence onchain. The mechanics of subnames Subnames offer a robust, user-friendly, and efficient solution for managing digital identities. Platforms can generate an unlimited number of subdomains, without any costs aside from the gas fees required for the transaction, making this a highly scalable option for expanding organizations and communities. Each subdomain is secured and verified through NFT ownership, providing trustworthy control over digital identities. There are two types of subnames based on ownership. Node subnames grant the subname holder complete control via an ownership NFT. The parent SuiNS name can set specific guidelines for these subnames at the time of their creation, ensuring these rules are consistently enforced. On the other hand, leaf subnames represent the subname without transferring full control from the parent SuiNS name. This flexibility allows organizations to modify guidelines, reclaim, and reassign subnames as necessary, maintaining optimal control and organization. How-to Guide For those without a SuiNS name, review how to obtain and register a SuiNS name to an address.  From the SuiNS website, select ‘View names you own’ from the dropdown menu in the upper-right corner. On the SuiNS name that you want to create a subname, click the three-dots menu and select ‘Create Subname’. Here you can specify the expiration date and permissions of the subname. After selecting ‘Create Subname’, you will need to submit a transaction which generates the subname. Once complete, the newly created subname will be visible from the ‘Subnames’ tab from your SuiNS account. Enhanced identity The introduction of SuiNS Subnames marks a significant milestone in the evolution of digital identity management. By offering a flexible, scalable, and user-friendly way to create hierarchical identities, SuiNS not only addresses the current needs of the individuals within the community but also paves the way for innovations around identities within organizations. As the Sui ecosystem continues to grow, the importance of maintaining consistent and recognizable identities will only increase, making subnames an indispensable tool for users and organizations alike. SuiNS Subnames offer a new level of personalization and control in Web3 identity, allowing users and organizations to embrace the future of onchain identity with SuiNS. Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.

Advancing Web3 Identity Structures With SuiNS Subnames

SuiNS Subnames, a powerful extension of the Sui Name Service, was recently released along with the new naming convention. Subnames allow users to create additional, customized identities under a primary SuiNS name—for no additional cost. A user @xi can create subnames such as gaming@xi or lending@xi, enhancing personal organization and supporting hierarchical structures for groups and organizations.

This development is significant for both individuals and businesses. With subnames, companies, DAOs, and other organizations can issue branded account names for their users or employees, providing onchain identities that improve user experience with Sui's powerful features and utilities. Subnames are cost effective as they do not need to be purchased separately and only require gas to be created. Subnames can also be nested, creating subnames within subnames, for even deeper organizational structures.

SuiNS Subnames allow users to organize independent accounts under one parent SuiNS name. What are SuiNS Subnames?

SuiNS Subnames introduce an innovative layer to the Sui Name Service by enabling users to generate multiple personalized identities under a single primary SuiNS name. For instance, a business can hold its primary SuiNS name and assign subnames to employees or departments, enhancing brand consistency and identity management across different levels within the organization.

Subnames can also be nested to create complex identity structures. For example, a gaming guild could have subnames from the game SuiNS identity to represent its group, such as guild@game. From there users can create their own subnames that represent their accounts within the guild, such as user.guild@game. Users can then create different characters or game sessions that are nested within their account subname, such as character.user.guild@game. This nesting capability allows for unique and powerful identity hierarchies. 

Organizations can create hierarchical structures using SuiNS, perfect for establishing teams. Why subnames matter

While SuiNS names allow individuals to establish their unique onchain identity, subnames take this benefit a step further by enabling the representation of groups, organizations, and intricate hierarchies. This feature is particularly valuable for companies, DAOs, and other entities looking to issue vanity names or usernames that reflect their onchain presence simply and effectively.

Subnames enable businesses to maintain a cohesive onchain brand identity. A Web3 company like Mysten Labs, for instance, can issue @mystenlabs subdomains to its employees, akin to company email addresses. Another use for subnames is for an organization to create department-specific subnames like finance@company or hr@company, which can be used for managing finances or keeping records onchain. 

Subnames tap into the growing demand for customized digital identities by individuals, making onchain interactions more human and relatable. For organizations, subnames allow for detailed categorization and management of entities within the organization while also offering unique avenues to strengthen brand presence onchain.

The mechanics of subnames

Subnames offer a robust, user-friendly, and efficient solution for managing digital identities. Platforms can generate an unlimited number of subdomains, without any costs aside from the gas fees required for the transaction, making this a highly scalable option for expanding organizations and communities. Each subdomain is secured and verified through NFT ownership, providing trustworthy control over digital identities.

There are two types of subnames based on ownership. Node subnames grant the subname holder complete control via an ownership NFT. The parent SuiNS name can set specific guidelines for these subnames at the time of their creation, ensuring these rules are consistently enforced. On the other hand, leaf subnames represent the subname without transferring full control from the parent SuiNS name. This flexibility allows organizations to modify guidelines, reclaim, and reassign subnames as necessary, maintaining optimal control and organization.

How-to Guide

For those without a SuiNS name, review how to obtain and register a SuiNS name to an address. 

From the SuiNS website, select ‘View names you own’ from the dropdown menu in the upper-right corner.

On the SuiNS name that you want to create a subname, click the three-dots menu and select ‘Create Subname’.

Here you can specify the expiration date and permissions of the subname.

After selecting ‘Create Subname’, you will need to submit a transaction which generates the subname. Once complete, the newly created subname will be visible from the ‘Subnames’ tab from your SuiNS account.

Enhanced identity

The introduction of SuiNS Subnames marks a significant milestone in the evolution of digital identity management. By offering a flexible, scalable, and user-friendly way to create hierarchical identities, SuiNS not only addresses the current needs of the individuals within the community but also paves the way for innovations around identities within organizations.

As the Sui ecosystem continues to grow, the importance of maintaining consistent and recognizable identities will only increase, making subnames an indispensable tool for users and organizations alike. SuiNS Subnames offer a new level of personalization and control in Web3 identity, allowing users and organizations to embrace the future of onchain identity with SuiNS.

Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.
Access Crypto Market Data APIs on Sui With BirdeyeBirdeye, an onchain crypto trading data aggregator, began integrating Sui data in April, 2024.  Individual DeFi users will find a wealth of data on Birdeye's homepage, with in-depth information about tokens, trades, and traders’ wallets on major blockchains.  Through our Birdeye Data Services arm, Birdeye makes its APIs and WebSockets available for projects, including data such as token price and other DeFi metrics. Project builders can take advantage of Birdeye's onchain crypto trading data for decentralized exchanges (DEXes), crypto wallets, crypto trading bots, and other data-driven apps. Founded in 2022, Birdeye has become the go-to source for onchain crypto trading data, having served  over 28 million retail and professional traders worldwide. It aggregates crypto trading data across over 200 DEXes and AMMs on multiple blockchains including Sui, making it a comprehensive source for accurate price, trade, token, and market data. Through Birdeye Data Services, DEXes, wallets, and trading bots on Sui can access precise crypto trading data APIs and WebSockets. These services let users make better-informed trades with real-time information. Looking at Birdeye's key APIs, including Price, OHCLV, Token, and Trades, as well as WebSockets, including Price and Trades, you can see how easy it is to make use of this data in a project. Key APIs and WebSockets for Sui  Each API outlined here includes useful documentation, a brief description of the endpoint, and parameters to get the appropriate data and configure it for specific uses. Price APIs The Price API is available in three endpoints – individual token price, multiple token prices, and price history.  Price  – Token API The Token Price endpoint retrieves the current price of a token across different blockchain networks including Sui. Parameters: Token address (string): The specific address of a token to retrieve historical prices for. check_liquidity (float): The liquidity value to verify the price of a token.  include_liquidity (boolean): The indication of whether the liquidity data is included. If the input is ‘True’: Shows the liquidity number of the token. If the input is ‘False’: Does not show the liquidity number of a token.  Price – Multiple Tokens API The Multi Price endpoint facilitates retrieving price updates of multiple tokens in a single API call. Parameters: list_address (string): A comma-separated list of Solana token addresses to retrieve the current prices for. check_liquidity (float): The liquidity value to verify the price of a token.  include_liquidity (boolean): The indication of whether the liquidity data is included. If the input is ‘True’: Shows the liquidity number of the token. If the input is ‘False’: Does not show the liquidity number of a token.  Price – Price History API The Price History endpoint facilitates retrieving historical token prices based on specified parameters, allowing analysis and visualization of price trends over different intervals. Parameters: address (string): The Sui token address to retrieve historical prices for address_type (string): the type of address provided type (string): the OHCLV interval type time_from (integer): The Unix timestamp for the start of the desired time range. time_to (integer): The Unix timestamp for the end of the desired time range. OHCLV (real-time candle chart) APIs OHLCV or real-time candle chart APIs deliver up-to-date Open, High, Low, Close, and Volume data for any token or pair, enabling end-users to visualize price trends better for market analysis and trading decisions. The three available OHCLV endpoints for Sui provide candle charts for an individual token, a specific trading pair, and a base/quote pair. OHCLV – Token and OHCLV – Pair The OHLCV – Token endpoint fetches historical OHLCV data for a specific token, while the OHLCV – Pair endpoint retrieves similar data for a trading pair. Both use specified interval types and time ranges for technical analysis and price trend visualization across various blockchain networks, including Sui. Parameters: Token or trading pair’s token address (string): The token or trading pair address for which OHCLV data is requested. type (string): The interval for the OHCLV data, with available options being 1m, 3m, 5m, 15m, 30m, 1H, 2H, 4H, 6H, 8H, 12H, 1D, 3D, 1W, and 1M. time_from (integer): The Unix timestamp marking the start of the desired time range. time_to (integer): The Unix timestamp marking the end of the desired time range. OHCLV – Base/Quote The OHCLV – Base/Quote endpoint retrieves historical OHLCV data for a trading pair using the base and quote token addresses, interval type, and time range specified by Unix timestamps. Parameters: base_address (string): The Sui address of the base token in the trading pair. quote_address (string): The Sui address of the quote token in the trading pair. type (string): The interval type for OHLCV data (e.g., 15m for 15 minutes). time_from (integer): The Unix timestamp for the start of the desired time range. time_to (integer): The Unix timestamp for the end of the desired time range. Token APIs Our Token APIs offer two endpoints: one that pulls a list of tokens and another that provides a deep dive into a single token. Token – Token List The Token List endpoint allows you to retrieve a sorted list of tokens with details like market capitalization, trading volume, and price changes by specifying sorting methods, pagination, and blockchain network. This API provides a comprehensive overview of token metrics. Parameters: sort_by (string): Specifies the attribute to sort the tokens by (e.g., v24hUSD). sort_type (string): Determines the order of sorting, either descending (desc) or ascending (asc). offset (integer): Sets the starting point in the token list for pagination. limit (integer): Defines the maximum number of tokens to display, up to a limit of 50. Token – Token Overview Via the Token Overview API, our users can retrieve comprehensive details about a specific token, including metrics, price changes, and trading activity, using its address. Parameters:  Token address (string): Specifies the token's address for which an overview is requested. Trades APIs These APIs provide trading data for a token or a specific trading pair. Trades – Token The Trades – Token API retrieves a list of trades for a specific token. Parameters: Token address (string, required): The address of a token. offset (integer): The offset from which to start fetching transaction data. limit (integer): The maximum number of trades to retrieve data. tx_type (string, required): The type of transaction to retrieve data. Trades – Pair The Trades – Pair API provides a list of trades for a specific trading pair or market. Parameters: All the ones mentioned in the Trades – Token endpoint sort_type (string, required): The order in which transactions should be sorted. WebSockets These data sources deliver real-time data about tokens and token pairs, including price changes and transactions. WebSocket – Price The SUBSCRIBE_PRICE event lets you stream real-time updates about price changes for tokens or token pairs, allowing subscriptions to update for individual tokens, token pairs, or both. This is useful for tracking price movements and trends from the Birdeye platform.  You can use this WebSocket to get real-time price updates for: token prices,  pair or market prices, and  prices of multiple tokens/pairs (limit: 100 addresses at once). WebSocket – Txs The SUBSCRIBE_TXS event enables streaming real-time updates about token trades, with options to subscribe to transactions for individual tokens, token pairs, or both, aiding in tracking trading activities, transfers, and other pertinent transactions from the Birdeye platform.  Birdeye Data Services’ customers can access this WebSocket to obtain real-time transaction updates for:  token trades,  pair or market trades, and  trades involving multiple tokens/pairs (limit: 100 addresses at once). For the full list of supported APIs and beta APIs, check out our API documentation.   Unified dashboard for easy management Birdeye's dashboard offers an integrated hub for enterprise partners to manage API keys, subscriptions, and billing, track data usage, and facilitate payments. This dashboard offers a unified interface for streamlined operations and enhanced efficiency. Birdeye Data Services' Dashboard highlights several key sections for our customers, including API key generation and data usage tracking. For information on Birdeye Data Services’ plans, check out the pricing section of our API Documentation.  Access Sui crypto trading data APIs with Birdeye Data Services Birdeye Data Services stands poised to facilitate seamless access to precise crypto trading data for products on Sui, fostering innovation and growth within the ecosystem. By offering essential APIs (Price, OHCLV, Token, and Trades) and WebSockets, we empower builders to create robust applications while attracting a broader user base to Sui.  For trial usage and further inquiries, please reach out to our team using the details on our contact page.

Access Crypto Market Data APIs on Sui With Birdeye

Birdeye, an onchain crypto trading data aggregator, began integrating Sui data in April, 2024. 

Individual DeFi users will find a wealth of data on Birdeye's homepage, with in-depth information about tokens, trades, and traders’ wallets on major blockchains. 

Through our Birdeye Data Services arm, Birdeye makes its APIs and WebSockets available for projects, including data such as token price and other DeFi metrics. Project builders can take advantage of Birdeye's onchain crypto trading data for decentralized exchanges (DEXes), crypto wallets, crypto trading bots, and other data-driven apps.

Founded in 2022, Birdeye has become the go-to source for onchain crypto trading data, having served  over 28 million retail and professional traders worldwide. It aggregates crypto trading data across over 200 DEXes and AMMs on multiple blockchains including Sui, making it a comprehensive source for accurate price, trade, token, and market data. Through Birdeye Data Services, DEXes, wallets, and trading bots on Sui can access precise crypto trading data APIs and WebSockets. These services let users make better-informed trades with real-time information.

Looking at Birdeye's key APIs, including Price, OHCLV, Token, and Trades, as well as WebSockets, including Price and Trades, you can see how easy it is to make use of this data in a project.

Key APIs and WebSockets for Sui 

Each API outlined here includes useful documentation, a brief description of the endpoint, and parameters to get the appropriate data and configure it for specific uses.

Price APIs

The Price API is available in three endpoints – individual token price, multiple token prices, and price history. 

Price  – Token API

The Token Price endpoint retrieves the current price of a token across different blockchain networks including Sui.

Parameters:

Token address (string): The specific address of a token to retrieve historical prices for.

check_liquidity (float): The liquidity value to verify the price of a token. 

include_liquidity (boolean): The indication of whether the liquidity data is included. If the input is ‘True’: Shows the liquidity number of the token. If the input is ‘False’: Does not show the liquidity number of a token. 

Price – Multiple Tokens API

The Multi Price endpoint facilitates retrieving price updates of multiple tokens in a single API call.

Parameters:

list_address (string): A comma-separated list of Solana token addresses to retrieve the current prices for.

check_liquidity (float): The liquidity value to verify the price of a token. 

include_liquidity (boolean): The indication of whether the liquidity data is included. If the input is ‘True’: Shows the liquidity number of the token. If the input is ‘False’: Does not show the liquidity number of a token. 

Price – Price History API

The Price History endpoint facilitates retrieving historical token prices based on specified parameters, allowing analysis and visualization of price trends over different intervals.

Parameters:

address (string): The Sui token address to retrieve historical prices for

address_type (string): the type of address provided

type (string): the OHCLV interval type

time_from (integer): The Unix timestamp for the start of the desired time range.

time_to (integer): The Unix timestamp for the end of the desired time range.

OHCLV (real-time candle chart) APIs

OHLCV or real-time candle chart APIs deliver up-to-date Open, High, Low, Close, and Volume data for any token or pair, enabling end-users to visualize price trends better for market analysis and trading decisions. The three available OHCLV endpoints for Sui provide candle charts for an individual token, a specific trading pair, and a base/quote pair.

OHCLV – Token and OHCLV – Pair

The OHLCV – Token endpoint fetches historical OHLCV data for a specific token, while the OHLCV – Pair endpoint retrieves similar data for a trading pair. Both use specified interval types and time ranges for technical analysis and price trend visualization across various blockchain networks, including Sui.

Parameters:

Token or trading pair’s token address (string): The token or trading pair address for which OHCLV data is requested.

type (string): The interval for the OHCLV data, with available options being 1m, 3m, 5m, 15m, 30m, 1H, 2H, 4H, 6H, 8H, 12H, 1D, 3D, 1W, and 1M.

time_from (integer): The Unix timestamp marking the start of the desired time range.

time_to (integer): The Unix timestamp marking the end of the desired time range.

OHCLV – Base/Quote

The OHCLV – Base/Quote endpoint retrieves historical OHLCV data for a trading pair using the base and quote token addresses, interval type, and time range specified by Unix timestamps.

Parameters:

base_address (string): The Sui address of the base token in the trading pair.

quote_address (string): The Sui address of the quote token in the trading pair.

type (string): The interval type for OHLCV data (e.g., 15m for 15 minutes).

time_from (integer): The Unix timestamp for the start of the desired time range.

time_to (integer): The Unix timestamp for the end of the desired time range.

Token APIs

Our Token APIs offer two endpoints: one that pulls a list of tokens and another that provides a deep dive into a single token.

Token – Token List

The Token List endpoint allows you to retrieve a sorted list of tokens with details like market capitalization, trading volume, and price changes by specifying sorting methods, pagination, and blockchain network. This API provides a comprehensive overview of token metrics.

Parameters:

sort_by (string): Specifies the attribute to sort the tokens by (e.g., v24hUSD).

sort_type (string): Determines the order of sorting, either descending (desc) or ascending (asc).

offset (integer): Sets the starting point in the token list for pagination.

limit (integer): Defines the maximum number of tokens to display, up to a limit of 50.

Token – Token Overview

Via the Token Overview API, our users can retrieve comprehensive details about a specific token, including metrics, price changes, and trading activity, using its address.

Parameters: 

Token address (string): Specifies the token's address for which an overview is requested.

Trades APIs

These APIs provide trading data for a token or a specific trading pair.

Trades – Token

The Trades – Token API retrieves a list of trades for a specific token.

Parameters:

Token address (string, required): The address of a token.

offset (integer): The offset from which to start fetching transaction data.

limit (integer): The maximum number of trades to retrieve data.

tx_type (string, required): The type of transaction to retrieve data.

Trades – Pair

The Trades – Pair API provides a list of trades for a specific trading pair or market.

Parameters:

All the ones mentioned in the Trades – Token endpoint

sort_type (string, required): The order in which transactions should be sorted.

WebSockets

These data sources deliver real-time data about tokens and token pairs, including price changes and transactions.

WebSocket – Price

The SUBSCRIBE_PRICE event lets you stream real-time updates about price changes for tokens or token pairs, allowing subscriptions to update for individual tokens, token pairs, or both. This is useful for tracking price movements and trends from the Birdeye platform. 

You can use this WebSocket to get real-time price updates for:

token prices, 

pair or market prices, and 

prices of multiple tokens/pairs (limit: 100 addresses at once).

WebSocket – Txs

The SUBSCRIBE_TXS event enables streaming real-time updates about token trades, with options to subscribe to transactions for individual tokens, token pairs, or both, aiding in tracking trading activities, transfers, and other pertinent transactions from the Birdeye platform. 

Birdeye Data Services’ customers can access this WebSocket to obtain real-time transaction updates for: 

token trades, 

pair or market trades, and 

trades involving multiple tokens/pairs (limit: 100 addresses at once).

For the full list of supported APIs and beta APIs, check out our API documentation.  

Unified dashboard for easy management

Birdeye's dashboard offers an integrated hub for enterprise partners to manage API keys, subscriptions, and billing, track data usage, and facilitate payments. This dashboard offers a unified interface for streamlined operations and enhanced efficiency.

Birdeye Data Services' Dashboard highlights several key sections for our customers, including API key generation and data usage tracking.

For information on Birdeye Data Services’ plans, check out the pricing section of our API Documentation. 

Access Sui crypto trading data APIs with Birdeye Data Services

Birdeye Data Services stands poised to facilitate seamless access to precise crypto trading data for products on Sui, fostering innovation and growth within the ecosystem. By offering essential APIs (Price, OHCLV, Token, and Trades) and WebSockets, we empower builders to create robust applications while attracting a broader user base to Sui. 

For trial usage and further inquiries, please reach out to our team using the details on our contact page.
Sui's Fastcrypto Cryptography Library Sets Speed RecordsFastcrypto, the cryptography library used in Sui, has broken many speed records, and our work on benchmarks and security analysis fixed numerous security vulnerabilities while opening the door for innovation by identifying novel optimization tricks. A paper, Fastcrypto: Pioneering Cryptography Via Continuous Benchmarking, recently presented at the benchmarking workshop of International Conference on Performance Engineering (ICPE) at Imperial College in London, describes our continuous and systematic benchmarking of cryptographic functions in the Fastcrypto library. The presentation was part of a session called “Innovations in Performance Testing: Strategies and Technologies” in the Load Testing and Benchmarking of Software Systems workshop. The conference attracted guests from both academia and industry, including representatives from MongoDB and Amazon who also spoke in the same workshop. We highlighted the systematic and continuous benchmarking of the Fastcrypto library, which is a collection of cryptographic functions such as digital signatures, hash functions, and zero-knowledge proofs. In Fastcrypto, all functions are benchmarked continuously upon release and on-demand, and the results are published online. Similar functions can be easily compared and we maintain the historic data to be able to track performance over time. The presentation emphasized how these benchmarks have facilitated more informed decision-making in the development of Fastcrypto and Sui, influencing choices of dependencies and usage, as well as optimizing the focus of developer resources. Qualified decision making from benchmarks A case study from the paper addressed the challenge of selecting a signature scheme for validators in Sui. For a user to submit a transaction to Sui, the transaction must be signed by a quorum of validators, combined into a transaction certificate. With approximately 100 validators and an equally distributed stake, a quorum consists of 67 validators, meaning each validator must verify 67 signatures per transaction. The BLS signature scheme allows multiple signatures to be verified as if they were a single signature, but it is a lot slower than alternatives, such as EdDSA. Detailed benchmarking revealed that the break-even point between these two schemes is between 40 and 45 signatures. Hence, for Sui, using BLS is more efficient and this is indeed what is used today. Benchmarking of EdDSA and BLS signature schemes revealed a break-even point of 40 to 45 batched signatures, showing that, with Sui's validator pool, BLS is a performant choice. “You should also be worried if the software suddenly is a lot faster” The presentation also showcased how benchmarks can uncover unexpected software behaviors. One example involved libraries implementing the EdDSA signature scheme, which assumed that the public key should be cached and provided as input to the signing function. If an incorrect public key was provided, it could lead to the extraction of the private key (as shown in our ed25519-unsafe-libs GitHub). This issue was detected because some libraries exhibited unusually fast performance, bypassing the derivation of the public key and using the potentially incorrect one provided as an argument. While benchmarks often aim to accelerate software, “you should also be worried if the software suddenly is a lot faster,” as noted by an audience member at the workshop.

Sui's Fastcrypto Cryptography Library Sets Speed Records

Fastcrypto, the cryptography library used in Sui, has broken many speed records, and our work on benchmarks and security analysis fixed numerous security vulnerabilities while opening the door for innovation by identifying novel optimization tricks.

A paper, Fastcrypto: Pioneering Cryptography Via Continuous Benchmarking, recently presented at the benchmarking workshop of International Conference on Performance Engineering (ICPE) at Imperial College in London, describes our continuous and systematic benchmarking of cryptographic functions in the Fastcrypto library.

The presentation was part of a session called “Innovations in Performance Testing: Strategies and Technologies” in the Load Testing and Benchmarking of Software Systems workshop. The conference attracted guests from both academia and industry, including representatives from MongoDB and Amazon who also spoke in the same workshop.

We highlighted the systematic and continuous benchmarking of the Fastcrypto library, which is a collection of cryptographic functions such as digital signatures, hash functions, and zero-knowledge proofs. In Fastcrypto, all functions are benchmarked continuously upon release and on-demand, and the results are published online. Similar functions can be easily compared and we maintain the historic data to be able to track performance over time.

The presentation emphasized how these benchmarks have facilitated more informed decision-making in the development of Fastcrypto and Sui, influencing choices of dependencies and usage, as well as optimizing the focus of developer resources.

Qualified decision making from benchmarks

A case study from the paper addressed the challenge of selecting a signature scheme for validators in Sui. For a user to submit a transaction to Sui, the transaction must be signed by a quorum of validators, combined into a transaction certificate. With approximately 100 validators and an equally distributed stake, a quorum consists of 67 validators, meaning each validator must verify 67 signatures per transaction.

The BLS signature scheme allows multiple signatures to be verified as if they were a single signature, but it is a lot slower than alternatives, such as EdDSA. Detailed benchmarking revealed that the break-even point between these two schemes is between 40 and 45 signatures. Hence, for Sui, using BLS is more efficient and this is indeed what is used today.

Benchmarking of EdDSA and BLS signature schemes revealed a break-even point of 40 to 45 batched signatures, showing that, with Sui's validator pool, BLS is a performant choice.

“You should also be worried if the software suddenly is a lot faster”

The presentation also showcased how benchmarks can uncover unexpected software behaviors. One example involved libraries implementing the EdDSA signature scheme, which assumed that the public key should be cached and provided as input to the signing function. If an incorrect public key was provided, it could lead to the extraction of the private key (as shown in our ed25519-unsafe-libs GitHub).

This issue was detected because some libraries exhibited unusually fast performance, bypassing the derivation of the public key and using the potentially incorrect one provided as an argument. While benchmarks often aim to accelerate software, “you should also be worried if the software suddenly is a lot faster,” as noted by an audience member at the workshop.
SuiNS' New Naming Standard Simplifies Blockchain IdentitySuiNS updated its user-facing naming standard from .sui to @, letting users represent themselves in a manner that works in both the Web2 and Web3 worlds. With this update, users can have an @ before their chosen name, as opposed to .sui appended to their name. The Sui naming service launched last year to make addresses on Sui more human-readable and memorable. Similar to account abstraction features such as zkLogin, it makes Sui the most user-friendly blockchain around. Users with existing SuiNS names will experience a seamless transition, with complete interoperability between their .sui and @ names. However, NFTs will continue to show their .sui address. Introducing SuiNS' new naming standard To enhance usability and familiarity, SuiNS is transitioning from its earlier .sui extension to a more intuitive @ prefix. This change aligns with the widely accepted username conventions of Web2, allowing users to maintain a consistent identity across various apps, from Web2 social platforms to Web3 games. For example: chris.sui becomes @chris degen123.sui becomes @degen123 Both forms will be usable through Sui Wallet, RPC, and other ecosystem apps, ensuring a smooth transition and continued functionality. 0:00 / 0:27 1× With SuiNS, you can now drop the dot and use the more intuitive @ prefix for your onchain identity. Benefits of the @ The adoption of the @ symbol is not just a cosmetic update, it is a strategic move to enhance the user experience. In Web2, the @ symbol is a common way to refer to users, companies, or apps. By adopting this convention, SuiNS makes it simpler for Web2 users to engage with Web3 technologies, lowering the barrier to entry and fostering greater adoption of the Sui ecosystem. The transition from the .sui extension to the @ prefix offers key advantages that enhance both usability and technical integration: Enhanced user familiarity: By using the @ symbol, SuiNS allows users to maintain the same name across different platforms. Recognized widely from its presence on Web2-based social media, this familiarity helps users transition smoothly to Web3, ensuring a seamless and user-friendly onboarding process. Interchangeable usage: Both .sui and @ names will be used interchangeably within the Sui ecosystem. Whether a user inputs `chris.sui or @chris, the system will resolve it to the same address, ensuring flexibility and convenience for users without disrupting existing workflows. Technical details Despite the shift in naming convention, the underlying infrastructure remains robust and flexible. The .sui and @ names are interchangeable and will be treated as synonyms within the Sui ecosystem, allowing them to resolve to the same alpha-numeric address. All NFT metadata will retain the .sui notation, and NFT lookups will continue to display the .sui format. RPC lookups will support both the new @ notation and the existing .sui notation, providing backward compatibility and ease of use. Additionally, return values from RPC or contracts will continue to use the .sui notation, with clients responsible for converting these into the @ notation if needed.  This dual compatibility ensures that the transition is smooth and that users can continue to interact with the system in a manner that suits their preferences. These changes will be supported across all key platforms within the Sui ecosystem, including Sui Wallet, explorers, and various RPC and SDK tools, ensuring a seamless user experience throughout. Identity for a connected world As the Sui ecosystem continues to grow, the importance of maintaining consistent and recognizable identities becomes more crucial. The transition from .sui to @ in SuiNS is more than just a change in notation, it represents a forward-thinking approach to digital identity. By embracing familiar Web2 conventions, SuiNS ensures that users can seamlessly navigate and connect across the expanding landscape of Sui apps. This update is a significant step in making digital identities more accessible and intuitive, reinforcing the foundational role that identities play in online ecosystems. Stay tuned for more exciting announcements and updates from SuiNS in the coming weeks! To dive deeper into the details and explore the capabilities of SuiNS, visit the SuiNS docs. Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.

SuiNS' New Naming Standard Simplifies Blockchain Identity

SuiNS updated its user-facing naming standard from .sui to @, letting users represent themselves in a manner that works in both the Web2 and Web3 worlds. With this update, users can have an @ before their chosen name, as opposed to .sui appended to their name.

The Sui naming service launched last year to make addresses on Sui more human-readable and memorable. Similar to account abstraction features such as zkLogin, it makes Sui the most user-friendly blockchain around.

Users with existing SuiNS names will experience a seamless transition, with complete interoperability between their .sui and @ names. However, NFTs will continue to show their .sui address.

Introducing SuiNS' new naming standard

To enhance usability and familiarity, SuiNS is transitioning from its earlier .sui extension to a more intuitive @ prefix. This change aligns with the widely accepted username conventions of Web2, allowing users to maintain a consistent identity across various apps, from Web2 social platforms to Web3 games. For example:

chris.sui becomes @chris

degen123.sui becomes @degen123

Both forms will be usable through Sui Wallet, RPC, and other ecosystem apps, ensuring a smooth transition and continued functionality.

0:00 / 0:27 1×

With SuiNS, you can now drop the dot and use the more intuitive @ prefix for your onchain identity.

Benefits of the @

The adoption of the @ symbol is not just a cosmetic update, it is a strategic move to enhance the user experience. In Web2, the @ symbol is a common way to refer to users, companies, or apps. By adopting this convention, SuiNS makes it simpler for Web2 users to engage with Web3 technologies, lowering the barrier to entry and fostering greater adoption of the Sui ecosystem. The transition from the .sui extension to the @ prefix offers key advantages that enhance both usability and technical integration:

Enhanced user familiarity: By using the @ symbol, SuiNS allows users to maintain the same name across different platforms. Recognized widely from its presence on Web2-based social media, this familiarity helps users transition smoothly to Web3, ensuring a seamless and user-friendly onboarding process.

Interchangeable usage: Both .sui and @ names will be used interchangeably within the Sui ecosystem. Whether a user inputs `chris.sui or @chris, the system will resolve it to the same address, ensuring flexibility and convenience for users without disrupting existing workflows.

Technical details

Despite the shift in naming convention, the underlying infrastructure remains robust and flexible. The .sui and @ names are interchangeable and will be treated as synonyms within the Sui ecosystem, allowing them to resolve to the same alpha-numeric address. All NFT metadata will retain the .sui notation, and NFT lookups will continue to display the .sui format. RPC lookups will support both the new @ notation and the existing .sui notation, providing backward compatibility and ease of use. Additionally, return values from RPC or contracts will continue to use the .sui notation, with clients responsible for converting these into the @ notation if needed. 

This dual compatibility ensures that the transition is smooth and that users can continue to interact with the system in a manner that suits their preferences. These changes will be supported across all key platforms within the Sui ecosystem, including Sui Wallet, explorers, and various RPC and SDK tools, ensuring a seamless user experience throughout.

Identity for a connected world

As the Sui ecosystem continues to grow, the importance of maintaining consistent and recognizable identities becomes more crucial. The transition from .sui to @ in SuiNS is more than just a change in notation, it represents a forward-thinking approach to digital identity. By embracing familiar Web2 conventions, SuiNS ensures that users can seamlessly navigate and connect across the expanding landscape of Sui apps. This update is a significant step in making digital identities more accessible and intuitive, reinforcing the foundational role that identities play in online ecosystems.

Stay tuned for more exciting announcements and updates from SuiNS in the coming weeks! To dive deeper into the details and explore the capabilities of SuiNS, visit the SuiNS docs.

Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.
Unlocking the Power of Native Randomness on SuiAfter significant development, we've made secure randomness available on Sui Testnet. This crucial feature, powered by the sui::random module, opens up new possibilities for developers and builders on Sui. Why do we need randomness onchain? Apps and projects can use randomness in a wide range of different ways, from simulating a dice roll to assigning ticket numbers in a system that ensures fairness. There are more use cases for onchain randomness than one might initially think. Here are a few key examples: 1. Games of chance: The most obvious use case is for games like lotteries, card games, gacha, loot boxes, raffles, and casino games. Onchain native randomness allows these games to operate without requiring players to trust the game operator. The fairness of the game can be verified by anyone, ensuring transparency and trust. This use case extends to more complex games, such as determining if a character in an RPG scores a hit on an enemy. 2. Random sampling: Selecting a random subset from a larger group, which is useful in various domains such as governance and randomized audits. In dispute resolution, random sampling can be used to select an unbiased jury. Another example is random committee selection in oracles and DAOs for voting and decision-making processes to enhance fairness and transparency. 3. NFTs: Randomness enables the creation of random NFTs with different levels of rarity. For example, a crypto collectible might have various traits assigned probabilistically. Additionally, NFTs could incorporate genetic traits or random mutations in breeding scenarios, opening doors for creativity in the design and use of NFTs. 4. Contests and player matching: Interesting examples include randomly placing participants in tournament brackets, matching players for games and social interactions, determining the order of play in turn-based games, picking winners in the event of a draw, allocating players to teams and their order in drafts, assigning venue and referees on events. Mysten Labs’ Andrew Schran discussing Sui’s native randomness at Sui Basecamp. The technical side of decentralized randomness For onchain randomness to be secure, it must be unpredictable and unbiasable. Unpredictability ensures that no one can predict the random values before they are used, preventing attackers from manipulating apps by front-running transactions or only engaging when outcomes are favorable. Unbiasability guarantees that no single party can influence the outcome of the randomness generation process, preventing attackers from skewing results to their advantage. Existing solutions and their limitations Various existing solutions aim to provide secure randomness, each with its own trade-offs. Using an external source of randomness such as a local/non-distributed Verifiable Random Function (VRF) is simple but not truly decentralized, as trusting a few nodes operating the VRF can lead to predictability and bias issues if the source colludes with other parties. Verifiable Delay Functions (VDFs) ensure randomness cannot be predicted until a certain time has passed, but also tend to be too slow for many apps.  Other solutions use oracle-based randomness that might be predictable and biasable if the oracle colludes with nodes and can be slow to use in a secure way. For example, utilizing drand, a distributed randomness beacon, requires the process to wait for a randomness round that is far enough in the future to ensure it’s unpredictable. Sui's approach to randomness Mysten Labs has developed a solution that leverages threshold cryptography and Distributed Key Generation (DKG) to exhibit the qualities of being unpredictable, unbiasable, and fast. This solution appears on Sui as a randomness beacon supported by the validator network. At the start of each epoch, validators initiate a DKG protocol to generate secret shares of a distributed key. Then, continuously during the epoch, they use their shares of the key to produce randomness for apps to use.  This native randomness solution is much faster than existing solutions on Sui. Randomness generation operates parallel to the consensus mechanism, providing random values quickly after a transaction has been ordered but before execution. Additionally, Move and Programmable Transaction Blocks (PTBs) allow powerful compositions while preventing potential manipulation through built-in restrictions and compiler warnings. While there are important safety rails built-in, developers should ensure robust program designs to avoid inspection by other Move functions or PTB commands. Using the sui::random module The sui::random module provides access to pseudo-randomness within Sui, enabling a variety of apps. For example, developers can use this feature to implement a Move function that selects a random winner for a raffle. The source code for this and other examples can be found on our GitHub repository. entry set_winner(game: &mut Raffle, rnd: &Random, ctx: &TxContext) { assert!(is_none(game.winner), EWinnerAlreadySet); // winner is of type Option<u32> let gen = new_generator(rnd, ctx); game.winner = Some(gen.generate_u32_in_range(1, game.num_of_tickets)); // num_of_tickets is u32 that represents the number of participants } The second line of the function set_winner ensures that a winner has not already been selected. The function then initializes a new random generator, and a random number is generated within the range of ticket numbers. The result is a securely and unpredictably chosen winner, thanks to Sui’s robust random generation guarantees, which ensure that the value returned by generate_u32_in_range is random and unpredictable as long as less than one-third of the voting power of the network is corrupted. While randomness is generated globally by the network and not per transaction, Sui derives from that global randomness an unpredictable and unbiasable seeded pseudorandom function family every time  new_generator is invoked. Rounding up randomness on Sui The introduction of a secure and scalable source of randomness to Sui is a crucial advancement, enabling developers to create more robust and secure apps. We encourage our community to provide feedback and explore new ways to use randomness. For more detailed technical information, refer to the Onchain Randomness documentation. This feature is now available on Sui Testnet. We encourage developers to try it out and ensure their apps are ready to leverage secure and robust random values when native randomness is available on Mainnet. Thanks to our developers for contributing to a more secure and efficient Sui ecosystem!

Unlocking the Power of Native Randomness on Sui

After significant development, we've made secure randomness available on Sui Testnet. This crucial feature, powered by the sui::random module, opens up new possibilities for developers and builders on Sui.

Why do we need randomness onchain?

Apps and projects can use randomness in a wide range of different ways, from simulating a dice roll to assigning ticket numbers in a system that ensures fairness. There are more use cases for onchain randomness than one might initially think. Here are a few key examples:

1. Games of chance: The most obvious use case is for games like lotteries, card games, gacha, loot boxes, raffles, and casino games. Onchain native randomness allows these games to operate without requiring players to trust the game operator. The fairness of the game can be verified by anyone, ensuring transparency and trust. This use case extends to more complex games, such as determining if a character in an RPG scores a hit on an enemy.

2. Random sampling: Selecting a random subset from a larger group, which is useful in various domains such as governance and randomized audits. In dispute resolution, random sampling can be used to select an unbiased jury. Another example is random committee selection in oracles and DAOs for voting and decision-making processes to enhance fairness and transparency.

3. NFTs: Randomness enables the creation of random NFTs with different levels of rarity. For example, a crypto collectible might have various traits assigned probabilistically. Additionally, NFTs could incorporate genetic traits or random mutations in breeding scenarios, opening doors for creativity in the design and use of NFTs.

4. Contests and player matching: Interesting examples include randomly placing participants in tournament brackets, matching players for games and social interactions, determining the order of play in turn-based games, picking winners in the event of a draw, allocating players to teams and their order in drafts, assigning venue and referees on events.

Mysten Labs’ Andrew Schran discussing Sui’s native randomness at Sui Basecamp.

The technical side of decentralized randomness

For onchain randomness to be secure, it must be unpredictable and unbiasable. Unpredictability ensures that no one can predict the random values before they are used, preventing attackers from manipulating apps by front-running transactions or only engaging when outcomes are favorable. Unbiasability guarantees that no single party can influence the outcome of the randomness generation process, preventing attackers from skewing results to their advantage.

Existing solutions and their limitations

Various existing solutions aim to provide secure randomness, each with its own trade-offs. Using an external source of randomness such as a local/non-distributed Verifiable Random Function (VRF) is simple but not truly decentralized, as trusting a few nodes operating the VRF can lead to predictability and bias issues if the source colludes with other parties. Verifiable Delay Functions (VDFs) ensure randomness cannot be predicted until a certain time has passed, but also tend to be too slow for many apps. 

Other solutions use oracle-based randomness that might be predictable and biasable if the oracle colludes with nodes and can be slow to use in a secure way. For example, utilizing drand, a distributed randomness beacon, requires the process to wait for a randomness round that is far enough in the future to ensure it’s unpredictable.

Sui's approach to randomness

Mysten Labs has developed a solution that leverages threshold cryptography and Distributed Key Generation (DKG) to exhibit the qualities of being unpredictable, unbiasable, and fast. This solution appears on Sui as a randomness beacon supported by the validator network. At the start of each epoch, validators initiate a DKG protocol to generate secret shares of a distributed key. Then, continuously during the epoch, they use their shares of the key to produce randomness for apps to use. 

This native randomness solution is much faster than existing solutions on Sui. Randomness generation operates parallel to the consensus mechanism, providing random values quickly after a transaction has been ordered but before execution.

Additionally, Move and Programmable Transaction Blocks (PTBs) allow powerful compositions while preventing potential manipulation through built-in restrictions and compiler warnings. While there are important safety rails built-in, developers should ensure robust program designs to avoid inspection by other Move functions or PTB commands.

Using the sui::random module

The sui::random module provides access to pseudo-randomness within Sui, enabling a variety of apps. For example, developers can use this feature to implement a Move function that selects a random winner for a raffle. The source code for this and other examples can be found on our GitHub repository.

entry set_winner(game: &mut Raffle, rnd: &Random, ctx: &TxContext) { assert!(is_none(game.winner), EWinnerAlreadySet); // winner is of type Option<u32> let gen = new_generator(rnd, ctx); game.winner = Some(gen.generate_u32_in_range(1, game.num_of_tickets)); // num_of_tickets is u32 that represents the number of participants }

The second line of the function

set_winner

ensures that a winner has not already been selected. The function then initializes a new random generator, and a random number is generated within the range of ticket numbers. The result is a securely and unpredictably chosen winner, thanks to Sui’s robust random generation guarantees, which ensure that the value returned by generate_u32_in_range is random and unpredictable as long as less than one-third of the voting power of the network is corrupted.

While randomness is generated globally by the network and not per transaction, Sui derives from that global randomness an unpredictable and unbiasable seeded pseudorandom function family every time 

new_generator

is invoked.

Rounding up randomness on Sui

The introduction of a secure and scalable source of randomness to Sui is a crucial advancement, enabling developers to create more robust and secure apps. We encourage our community to provide feedback and explore new ways to use randomness. For more detailed technical information, refer to the Onchain Randomness documentation.

This feature is now available on Sui Testnet. We encourage developers to try it out and ensure their apps are ready to leverage secure and robust random values when native randomness is available on Mainnet. Thanks to our developers for contributing to a more secure and efficient Sui ecosystem!
Sui Bridge Goes Live on Testnet With Incentive ProgramSui Bridge, a native bridge purpose-built for bridging assets and data to and from Sui, launched on Testnet today. As a native protocol, Sui Bridge enables effortless and secure transfers of ETH, wBTC, USDC, and USDT between Ethereum and Sui, making it a key piece of Sui infrastructure. Leveraging the inherent security and speed of Sui, Sui Bridge offers a new path onto Sui powered by Sui network validators. As the Sui ecosystem progresses, diverse, secure, and dependable bridging options make up a fundamental component of a healthy DeFi ecosystem. Bridges facilitate interoperability between different blockchains, enabling assets and data to move across networks. This enhances liquidity and expands the utility of digital assets, making it easier for users to engage in various blockchain activities, such as DeFi and gaming. Sui Bridge security As a native bridge, Sui validators secure Sui Bridge, ensuring a high level of trust and reliability. Unlike third-party bridges, which rely on external validators, the Sui Bridge leverages the inherent security infrastructure of the Sui blockchain. This native approach means that bridging actions are safeguarded by the same robust mechanisms that protect the Sui network itself. Testing incentives To mark the launch of Sui Bridge, we created an incentive program focused on enhancing user experience and ensuring system security and reliability. We encourage participants to engage with the bridge frontend extensively to help us catch any edge cases and fix bugs in smart contracts, bridge nodes, and the user interface. A total of 100,000 SUI will be distributed on Mainnet to the addresses that contribute to testing Sui Bridge. Help us test To participate, users must interact with the Sui Bridge web interface on Testnet and ensure they complete the entire transaction flow, including claiming assets on the other side. This helps us track eligible activities and reward participants accurately. Using the bridge outside of the web interface, for example by directly calling the functions, will make the address ineligible for rewards. Other eligibility requirements will be set forth in the applicable terms of service.  For this testing program we encourage participants to explore the entire bridge flow. However, some of the most valuable feedback comes from those who encounter and report real issues. We encourage intentional testing to uncover edge cases. Before reporting an issue, participants should check the Sui Discord server and review the discussions in the sui-bridge specific channel. To report new issues, use the separate Sui Bridge forum. Feedback typically must include a video clip to help with reproducing the issue and the associated transaction hash/digest. If the reported issues are genuine, rewards will be allocated accordingly at the end of the program. Moderators will assist in reviewing submitted videos, ensuring accuracy and relevance. Participants are encouraged to submit only high-quality reports after consulting the FAQ and discord channel. It's crucial to note that low-quality and spam reports may adversely affect rewards. Bug bounty program In conjunction with the Testnet incentive program, we are also expanding the scope of the Sui bug bounty program to include Sui Bridge. We invite the community to help us identify and fix any potential bugs. From critical vulnerabilities such as permanently lost user funds to medium level risks like crashing the bridge node, every contribution matters in ensuring the security and reliability of Sui Bridge. Join us in making Sui Bridge as secure and resilient as possible. Other eligibility requirements will be set forth in the applicable terms of service. How-to guide Currently, the Sui Bridge web interface uses Sui Testnet and Ethereum Sepolia Testnet. Most wallets let users switch between networks in the same manner as the Sui Bridge web interface, which involves choosing the appropriate networks from a tab or drop-down. Users must request Testnet tokens from a faucet specific to that network. There are multiple options for faucets on both Sepolia and Sui Testnets. For example, Google Cloud offers an Ethereum Sepolia Testnet faucet and Sui Wallet provides a simple one-click process to claim Testnet SUI in both mobile and browser extension versions. There are many more methods to obtain Testnet SUI tokens noted in the Sui documentation. There are five types of token supported by Sui Bridge on Testnet: Native Sepolia Ethereum Wrapped ETH Wrapped BTC USDC USDT The following guide describes how to bridge an asset from Ethereum Sepolia to Sui Testnet, and then bridge the asset back to Ethereum Sepolia. Each roundtrip bridge is considered a full test case that is eligible for rewards. Go to the Sui Bridge Testnet web interface. Connect both an Ethereum and Sui wallet. For the destination chain, you can also choose to enter the address manually by clicking "Enter manually". Obtain/mint test coins from a faucet or token contracts: For native Sepolia Ethereum, use a faucet like the one linked above. For Wrapped Eth, on Etherscan, go to the "Contract" -> "Write Contract" tab, "Connect to Web3" then "write" a "deposit" transaction to wrap native Sepolia Ethereum to WETH. For WBTC, USDC, or USDT on Etherscan, go to the "Contract" -> "Write Contract" tab, "Connect to Web3", then "write" a mint transaction to get tokens. Note WBTC’s decimal place is 8 so the amount 1000000 equals 0.01 WBTC. USDC and USDT’s decimal place is 6. Now let’s test bridging tokens from Ethereum Sepolia to Sui Testnet. Select a token and enter the amount to bridge and select "Bridge assets". The interface may require approval of the ERC20 tokens allowance. After approving the transaction from the wallet, the user will be redirected to the transaction details page to follow the progress of the bridging transaction. Transfers from Sepolia to Sui Testnet may take around 10 minutes to finalize. This is because of Ethereum’s probabilistic finality. After Ethereum finalization, in most cases bridged tokens will be sent directly to recipient addresses on Sui Testnet without the recipient’s manual claim. In some edge cases, recipients may need to wait for a bit and claim manually on the user interface. During the incentives program, we may deliberately augment this scenario to test this behavior. Now let’s test bridging from Sui Testnet to Ethereum Sepolia. Click the switch button in the middle of the form to switch the direction. Choose the assets that just arrived at the Sui Testnet address and bridge it back (the amount does not matter) and submit the initialization transaction. Then users can instantly claim their assets on Ethereum Sepolia via the "Claim" button on the interface with the second transaction on Ethereum Sepolia. In some edge cases, recipients may need to wait for an extra amount of time before claiming the token. During the incentives campaign, we may deliberately augment this scenario to test this behavior. Ready, set, test! By participating in the Sui Bridge Testnet, users not only help us create a more secure and efficient bridge but also will experience a smooth transition when the bridge goes live on Sui Mainnet. We are excited to see the community’s engagement and look forward to any feedback. Join us in testing the Sui Bridge today and stay tuned for the launch of Sui Bridge on Mainnet! Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.

Sui Bridge Goes Live on Testnet With Incentive Program

Sui Bridge, a native bridge purpose-built for bridging assets and data to and from Sui, launched on Testnet today. As a native protocol, Sui Bridge enables effortless and secure transfers of ETH, wBTC, USDC, and USDT between Ethereum and Sui, making it a key piece of Sui infrastructure. Leveraging the inherent security and speed of Sui, Sui Bridge offers a new path onto Sui powered by Sui network validators.

As the Sui ecosystem progresses, diverse, secure, and dependable bridging options make up a fundamental component of a healthy DeFi ecosystem. Bridges facilitate interoperability between different blockchains, enabling assets and data to move across networks. This enhances liquidity and expands the utility of digital assets, making it easier for users to engage in various blockchain activities, such as DeFi and gaming.

Sui Bridge security

As a native bridge, Sui validators secure Sui Bridge, ensuring a high level of trust and reliability. Unlike third-party bridges, which rely on external validators, the Sui Bridge leverages the inherent security infrastructure of the Sui blockchain. This native approach means that bridging actions are safeguarded by the same robust mechanisms that protect the Sui network itself.

Testing incentives

To mark the launch of Sui Bridge, we created an incentive program focused on enhancing user experience and ensuring system security and reliability. We encourage participants to engage with the bridge frontend extensively to help us catch any edge cases and fix bugs in smart contracts, bridge nodes, and the user interface. A total of 100,000 SUI will be distributed on Mainnet to the addresses that contribute to testing Sui Bridge.

Help us test

To participate, users must interact with the Sui Bridge web interface on Testnet and ensure they complete the entire transaction flow, including claiming assets on the other side. This helps us track eligible activities and reward participants accurately. Using the bridge outside of the web interface, for example by directly calling the functions, will make the address ineligible for rewards. Other eligibility requirements will be set forth in the applicable terms of service. 

For this testing program we encourage participants to explore the entire bridge flow. However, some of the most valuable feedback comes from those who encounter and report real issues. We encourage intentional testing to uncover edge cases. Before reporting an issue, participants should check the Sui Discord server and review the discussions in the sui-bridge specific channel. To report new issues, use the separate Sui Bridge forum.

Feedback typically must include a video clip to help with reproducing the issue and the associated transaction hash/digest. If the reported issues are genuine, rewards will be allocated accordingly at the end of the program. Moderators will assist in reviewing submitted videos, ensuring accuracy and relevance. Participants are encouraged to submit only high-quality reports after consulting the FAQ and discord channel. It's crucial to note that low-quality and spam reports may adversely affect rewards.

Bug bounty program

In conjunction with the Testnet incentive program, we are also expanding the scope of the Sui bug bounty program to include Sui Bridge. We invite the community to help us identify and fix any potential bugs. From critical vulnerabilities such as permanently lost user funds to medium level risks like crashing the bridge node, every contribution matters in ensuring the security and reliability of Sui Bridge. Join us in making Sui Bridge as secure and resilient as possible. Other eligibility requirements will be set forth in the applicable terms of service.

How-to guide

Currently, the Sui Bridge web interface uses Sui Testnet and Ethereum Sepolia Testnet. Most wallets let users switch between networks in the same manner as the Sui Bridge web interface, which involves choosing the appropriate networks from a tab or drop-down.

Users must request Testnet tokens from a faucet specific to that network. There are multiple options for faucets on both Sepolia and Sui Testnets. For example, Google Cloud offers an Ethereum Sepolia Testnet faucet and Sui Wallet provides a simple one-click process to claim Testnet SUI in both mobile and browser extension versions. There are many more methods to obtain Testnet SUI tokens noted in the Sui documentation.

There are five types of token supported by Sui Bridge on Testnet:

Native Sepolia Ethereum

Wrapped ETH

Wrapped BTC

USDC

USDT

The following guide describes how to bridge an asset from Ethereum Sepolia to Sui Testnet, and then bridge the asset back to Ethereum Sepolia. Each roundtrip bridge is considered a full test case that is eligible for rewards.

Go to the Sui Bridge Testnet web interface.

Connect both an Ethereum and Sui wallet. For the destination chain, you can also choose to enter the address manually by clicking "Enter manually".

Obtain/mint test coins from a faucet or token contracts:

For native Sepolia Ethereum, use a faucet like the one linked above.

For Wrapped Eth, on Etherscan, go to the "Contract" -> "Write Contract" tab, "Connect to Web3" then "write" a "deposit" transaction to wrap native Sepolia Ethereum to WETH.

For WBTC, USDC, or USDT on Etherscan, go to the "Contract" -> "Write Contract" tab, "Connect to Web3", then "write" a mint transaction to get tokens.

Note WBTC’s decimal place is 8 so the amount 1000000 equals 0.01 WBTC. USDC and USDT’s decimal place is 6.

Now let’s test bridging tokens from Ethereum Sepolia to Sui Testnet. Select a token and enter the amount to bridge and select "Bridge assets". The interface may require approval of the ERC20 tokens allowance.

After approving the transaction from the wallet, the user will be redirected to the transaction details page to follow the progress of the bridging transaction. Transfers from Sepolia to Sui Testnet may take around 10 minutes to finalize. This is because of Ethereum’s probabilistic finality.

After Ethereum finalization, in most cases bridged tokens will be sent directly to recipient addresses on Sui Testnet without the recipient’s manual claim. In some edge cases, recipients may need to wait for a bit and claim manually on the user interface. During the incentives program, we may deliberately augment this scenario to test this behavior.

Now let’s test bridging from Sui Testnet to Ethereum Sepolia. Click the switch button in the middle of the form to switch the direction. Choose the assets that just arrived at the Sui Testnet address and bridge it back (the amount does not matter) and submit the initialization transaction. Then users can instantly claim their assets on Ethereum Sepolia via the "Claim" button on the interface with the second transaction on Ethereum Sepolia. In some edge cases, recipients may need to wait for an extra amount of time before claiming the token. During the incentives campaign, we may deliberately augment this scenario to test this behavior.

Ready, set, test!

By participating in the Sui Bridge Testnet, users not only help us create a more secure and efficient bridge but also will experience a smooth transition when the bridge goes live on Sui Mainnet. We are excited to see the community’s engagement and look forward to any feedback.

Join us in testing the Sui Bridge today and stay tuned for the launch of Sui Bridge on Mainnet!

Note: This content is for general educational and informational purposes only and should not be construed or relied upon as an endorsement or recommendation to buy, sell, or hold any asset, investment or financial product and does not constitute financial, legal, or tax advice.
Sui Funds University Researchers Exploring Scalability, Privacy, and AI-based ToolsThe Sui Foundation is thrilled to announce the awardees of the fourth cohort of the Sui Academic Research Awards. This program funds groundbreaking research that advances Web3, particularly focusing on blockchain technology, smart contract programming, and products built on Sui. In this cohort, we accepted 20 exceptional proposals from prestigious universities such as UC Berkeley, Yale, NYU, EPFL, and the National University of Singapore. These leading researchers will drive innovation in the Sui ecosystem. Due to the outstanding quality of proposals, the Sui Foundation committed an additional $1 million in funding for 2024 to support further research that accelerates blockchain innovation and adoption. The next call for proposals closes on July 5, 2024. Accelerating ZKP with Caching   Fan Zhang (Yale University) Zero-knowledge proofs (zk-proofs) are crucial for blockchain scalability, privacy, and identity, such as Sui’s zkLogin primitive. However, generating zk-proofs is slow due to resource-intensive computations. This research enhances zk-proof generation with caching to store intermediate results of repetitive calculations, like multi-scalar multiplications and fast fourier transforms. This approach leverages patterns in user inputs to significantly speed up zk-proof generation, improving efficiency in real-world applications. AIChain: An LLM to Connect Static Analysis and Fuzzing for More Secure Smart Contracts  Vijay Ganesh (Georgia Institute of Technology) AIChain addresses the challenge of smart contract security by employing AI for static analysis and fuzzing to eliminate manual work. AIChain is a Large Language Model (LLM) used to process smart contracts and a static analysis report to generate code for fuzzing to verify potential vulnerabilities. Initial tests with OpenAI’s GPT-3.5-Turbo have shown effective results, and the tool is being expanded to detect more vulnerabilities. At-home Key Custody for Web3 Platforms Tushar Jois (The Research Foundation of CUNY) Web3 platforms offer unprecedented control over digital assets, but key custody remains a major point of friction. Traditional solutions like hardware wallets and third-party escrow are costly, deterring potential users. This research explores using existing internet of things devices in smart homes for key custody, leveraging the collective security of multiple fixed-in-place devices. The system, SocIoTy, will use smart home devices to perform cryptographic operations and two-factor authentication, ensuring key material remains secure within the home. This approach provides a cost-effective, secure method for Web3 key custody, enhancing user confidence and accessibility. Autobahn: How to Make Partially Synchronous BFT Protocols Robust to Partial Synchrony Natacha Crooks (University of California, Berkeley) Traditional Byzantine Fault Tolerant (BFT) protocols must balance low latency and network robustness but on occasion falter during network blips, leading to “asynchrony hangovers.” DAG-based BFT protocols, while robust, often experience higher latency. This research will develop Autobahn, a new consensus protocol combining DAG-based data dissemination with a traditional partially synchronous consensus mechanism. Autobahn maintains low latency during normal operation and robustness during network blips by decoupling consensus from data dissemination, ensuring efficient recovery and high performance. Automated Risk Management for the Sui DeFi Ecosystem Lukasz Szpruch and David Siska (University of Edinburgh) This project aims to develop automated risk management systems to enhance economic security in Sui’s DeFi ecosystem using quantitative finance and agent-based simulations. Current DAO governance struggles with real-time risk management, often relying on offchain, centralized third-party recommendations. This research will create a verifiable, real-time data-driven risk management framework, automating protocol parameter settings and stress testing with agent-based simulations. The initial focus will be on decentralized lending protocols providing open-source tools to enable transparent, scalable, and accountable risk assessments. Behavioral Abstractions to Support Smart Contract Auditors Diego Garbervetsky (Universidad de Buenos Aires) Auditing is a human-intensive task that often relies on tools like linters and fuzzers, which lack domain-specific insights. This research will build tools using predicate abstraction to construct models (automata) that help auditors explore and validate smart contract behavior. By gradually understanding contract behavior through proposed predicates, auditors can use these models to identify functional and implementation bugs more effectively. The goal is to automate the generation of these models, improving audit efficiency and the overall security of smart contracts. Benchmarking Sui Through Parallel Execution Perspective Ooi Beng Chin (National University of Singapore) This project addresses the execution engine bottleneck in modern blockchains, moving beyond the limitations of consensus algorithms. By designing Web3-native workloads for parallel execution, the team aims to benchmark popular apps like DEXes, NFT marketplaces, and games. This research will provide valuable insights into the scalability and performance of modern blockchains, enhancing the efficiency of parallel execution strategies. Beyond Space and Time: Experimental Economics via Smart Contracts Yang You (The University of Hong Kong), Lin William Cong (Cornell University) Traditional social science experiments face limitations due to artificial treatments and short durations in lab settings. This research introduces a decentralized event contract trading platform powered by automated market-making, where participants trade based on real-world events, providing more reliable data. By continuously engaging participants with platform tokens convertible to USDC for correct predictions, this approach allows for long-term studies of expectations, demonstrated through an experiment on interest rate expectations influenced by US Federal Reserve announcements. Blockchain Address Poisoning   Nicolas Christin (Carnegie Mellon University) This research tackles the issue of blockchain address poisoning, where attackers create “look-alike” addresses to trick users into sending funds to the wrong recipient, commonly referred to as address poisoning. Blockchain transactions are irreversible, making such attacks particularly harmful. This project will formalize the threat model, measure the prevalence across multiple blockchains, characterize attacker behavior, and develop mitigations. The goal is to create a rigorous framework for Web3 UI design that enhances user safety and confidence on Sui and other platforms. Catching the Risk-free Yield on Sui: A Deep Hedging Approach Using Options and Futures Dimitrios Karyampas and Walid Sofiane (École Polytechnique Fédérale de Lausanne), Adam Bouabda (ETH Zurich) Stable, near risk-free yields are crucial for investor confidence in the highly volatile cryptocurrency market. This project employs innovative hedging strategies inspired by synthetic stablecoins to enhance current methods. By integrating perpetual contracts with advanced options strategies, particularly box spreads, and utilizing reinforcement learning, the project aims to develop a dynamic trading strategy that adapts to market conditions, maximizing yields while minimizing risks. Compositional Specification and Verification of Blockchain Consensus Protocols Zhong Shao (Yale University) Byzantine State Machine Replication (SMR) protocols ensure a linear, tamper-proof history by making participating nodes agree on a single consensus. However, implementing these protocols correctly to maintain both safety and liveness remains a complex challenge. By introducing an intermediate model of consensus protocols that includes the pacemaker component, this work supports proving both safety and liveness through refinement. The goal is to develop a Linearizable Byzantine Distributed Objects (LiDO) model to simplify and improve the verification of consensus protocols, ensuring robust and reliable blockchain implementations. Concurrent Smart Contract Execution Paradigm Mohammad Sadoghi (University of California, Davis) Over the past decade, ResilientDB has pioneered a resilient and sustainable data platform that unifies secure transactional and real-time analytical processing. As an Apache Incubator project, ResilientDB has made significant contributions, including developing a geo-scale consensus protocol (GeoBFT) and hybrid sharding protocols (Cerberus, RingBFT). Building on this foundation, the team now aims to develop high-throughput, low-latency concurrency control protocols optimized for concurrent smart contract execution. Efficient Post-Quantum Multi-Party Computation using Lightweight Cryptography Aniket Kate (Purdue University) Multi-Party Computation (MPC) allows multiple parties to compute functions on private inputs while maintaining privacy, essential for Web3 applications like privacy-preserving AI and healthcare analytics. This research aims to develop hash-based MPC protocols that are scalable and post-quantum secure, overcoming the limitations of current protocols that rely on computationally expensive cryptographic operations. Preliminary results with the HashRand protocol show significant performance improvements, achieving 11,000 beacons per minute with 16 participants, vastly outperforming existing solutions. Encryption on Chain Yevgeniy Dodis (New York University) Blockchains like Bitcoin and Ethereum offer pseudonymity but lack strong privacy guarantees natively, allowing user transactions to be traceable. This research aims to address this by exploring “encryption on chain” for private storage, as opposed to zk-proofs, to ensure data privacy and availability on blockchains. Drawing on expertise from developing secure messaging protocols like Signal and Zoom, this project seeks to develop robust privacy solutions for blockchain transactions. Evaluating Sui’s Resilience to Network Attacks Prateek Mittal (Princeton University) This research investigates the resilience of the Sui validator network to network-level routing attacks, particularly Border Gateway Protocol (BGP) hijacks and DDoS attacks. The study will assess validator nodes’ resilience to these threats, with the ultimate goal of developing a resilience “score” function to adjust validation payouts accordingly and incentivize secure connectivity via the next-generation network architecture SCION. This research will be the most detailed simulation of BGP hijack resilience to date, incorporating real-world routing aspects to ensure the robustness and reliability of Sui. Faster zk-SNARKs from Accumulation Benedikt Bünz (New York University) This research aims to improve Zero-Knowledge Succinct Non-Interactive Arguments of Knowledge (zk-SNARKs), enhancing blockchain privacy and efficiency. By using “accumulation” techniques, computations are broken into small steps and combined, simplifying verification. This method can improve signature aggregation in systems like Bullshark and Narwhal, offering more efficient verification. The project seeks to make zk-SNARKs faster and easier to generate for practical applications. Fully Decentralized zkLogin with Biometric Login Methods and Switchable Login Providers Jieliang Yin (The Hong Kong University of Science and Technology) Current blockchain systems face challenges in user identity authentication, relying heavily on users to manage passwords or specific devices, which can be inconvenient and insecure. This proposed research addresses this issue by introducing a decentralized zkLogin solution that utilizes biometric identification methods such as voiceprint, fingerprint, face, and iris recognition. This approach eliminates the need for users to remember or carry anything and allows them to switch between different service providers, enhancing both convenience and security while ensuring continuous access to their blockchain accounts. MoveGen: Generating Secure Smart Contracts Based on Natural Language and Security Specifications Weidong Shi and Rabimba Karanjai (University Of Houston) This project aims to enhance SolMover, a tool for generating Move code, by improving its task generator LLM, expanding the Move code dataset, and integrating error correction mechanisms. The research will explore the direct generation of Move code from natural language specifications, using compiler feedback to iteratively improve code accuracy and quality. Additionally, advanced safety alignment techniques, linter-based patching, and automatic unit test generation will be employed to ensure the correctness and reliability of the generated Move contracts.  Scalability from Zero-Knowledge Virtual Machines Sanjam Garg (University of California, Berkeley) zk-proofs are a powerful cryptographic tool that ensures security and privacy in blockchain applications. zk-proofs certify the correct execution of computations without revealing any input data, making them crucial for applications like verifiable databases, private voting, and anonymous credentials. Implementing zk-proofs for the Move virtual machine would allow clients to execute smart contracts locally and submit proof, reducing miners’ workloads and supporting computationally-intensive contracts. This would also help enable privacy-preserving applications on Sui. SuiGPT AutoTest: Generate Comprehensive Move Unit Tests with Large Language Models Ken Koedinger and Eason Chen (Carnegie Mellon University) While testing is crucial for maintaining smart contract integrity, crafting unit tests is very time-consuming. This research explores using LLMs to assist in writing these tests. Initial successes with prompt engineering show LLMs can generate effective, compilable test code. This research will develop an SDK and a Visual Studio Code extension to help Move developers easily create comprehensive unit tests, enhancing efficiency and reliability. We would like to thank all those who submitted proposals for the Sui Academic Research Awards program.  For those who are interested in the program, please submit your proposals for the next round by July 5, 2024.

Sui Funds University Researchers Exploring Scalability, Privacy, and AI-based Tools

The Sui Foundation is thrilled to announce the awardees of the fourth cohort of the Sui Academic Research Awards. This program funds groundbreaking research that advances Web3, particularly focusing on blockchain technology, smart contract programming, and products built on Sui.

In this cohort, we accepted 20 exceptional proposals from prestigious universities such as UC Berkeley, Yale, NYU, EPFL, and the National University of Singapore. These leading researchers will drive innovation in the Sui ecosystem. Due to the outstanding quality of proposals, the Sui Foundation committed an additional $1 million in funding for 2024 to support further research that accelerates blockchain innovation and adoption. The next call for proposals closes on July 5, 2024.

Accelerating ZKP with Caching  

Fan Zhang (Yale University)

Zero-knowledge proofs (zk-proofs) are crucial for blockchain scalability, privacy, and identity, such as Sui’s zkLogin primitive. However, generating zk-proofs is slow due to resource-intensive computations. This research enhances zk-proof generation with caching to store intermediate results of repetitive calculations, like multi-scalar multiplications and fast fourier transforms. This approach leverages patterns in user inputs to significantly speed up zk-proof generation, improving efficiency in real-world applications.

AIChain: An LLM to Connect Static Analysis and Fuzzing for More Secure Smart Contracts 

Vijay Ganesh (Georgia Institute of Technology)

AIChain addresses the challenge of smart contract security by employing AI for static analysis and fuzzing to eliminate manual work. AIChain is a Large Language Model (LLM) used to process smart contracts and a static analysis report to generate code for fuzzing to verify potential vulnerabilities. Initial tests with OpenAI’s GPT-3.5-Turbo have shown effective results, and the tool is being expanded to detect more vulnerabilities.

At-home Key Custody for Web3 Platforms

Tushar Jois (The Research Foundation of CUNY)

Web3 platforms offer unprecedented control over digital assets, but key custody remains a major point of friction. Traditional solutions like hardware wallets and third-party escrow are costly, deterring potential users. This research explores using existing internet of things devices in smart homes for key custody, leveraging the collective security of multiple fixed-in-place devices. The system, SocIoTy, will use smart home devices to perform cryptographic operations and two-factor authentication, ensuring key material remains secure within the home. This approach provides a cost-effective, secure method for Web3 key custody, enhancing user confidence and accessibility.

Autobahn: How to Make Partially Synchronous BFT Protocols Robust to Partial Synchrony

Natacha Crooks (University of California, Berkeley)

Traditional Byzantine Fault Tolerant (BFT) protocols must balance low latency and network robustness but on occasion falter during network blips, leading to “asynchrony hangovers.” DAG-based BFT protocols, while robust, often experience higher latency. This research will develop Autobahn, a new consensus protocol combining DAG-based data dissemination with a traditional partially synchronous consensus mechanism. Autobahn maintains low latency during normal operation and robustness during network blips by decoupling consensus from data dissemination, ensuring efficient recovery and high performance.

Automated Risk Management for the Sui DeFi Ecosystem

Lukasz Szpruch and David Siska (University of Edinburgh)

This project aims to develop automated risk management systems to enhance economic security in Sui’s DeFi ecosystem using quantitative finance and agent-based simulations. Current DAO governance struggles with real-time risk management, often relying on offchain, centralized third-party recommendations. This research will create a verifiable, real-time data-driven risk management framework, automating protocol parameter settings and stress testing with agent-based simulations. The initial focus will be on decentralized lending protocols providing open-source tools to enable transparent, scalable, and accountable risk assessments.

Behavioral Abstractions to Support Smart Contract Auditors

Diego Garbervetsky (Universidad de Buenos Aires)

Auditing is a human-intensive task that often relies on tools like linters and fuzzers, which lack domain-specific insights. This research will build tools using predicate abstraction to construct models (automata) that help auditors explore and validate smart contract behavior. By gradually understanding contract behavior through proposed predicates, auditors can use these models to identify functional and implementation bugs more effectively. The goal is to automate the generation of these models, improving audit efficiency and the overall security of smart contracts.

Benchmarking Sui Through Parallel Execution Perspective

Ooi Beng Chin (National University of Singapore)

This project addresses the execution engine bottleneck in modern blockchains, moving beyond the limitations of consensus algorithms. By designing Web3-native workloads for parallel execution, the team aims to benchmark popular apps like DEXes, NFT marketplaces, and games. This research will provide valuable insights into the scalability and performance of modern blockchains, enhancing the efficiency of parallel execution strategies.

Beyond Space and Time: Experimental Economics via Smart Contracts

Yang You (The University of Hong Kong), Lin William Cong (Cornell University)

Traditional social science experiments face limitations due to artificial treatments and short durations in lab settings. This research introduces a decentralized event contract trading platform powered by automated market-making, where participants trade based on real-world events, providing more reliable data. By continuously engaging participants with platform tokens convertible to USDC for correct predictions, this approach allows for long-term studies of expectations, demonstrated through an experiment on interest rate expectations influenced by US Federal Reserve announcements.

Blockchain Address Poisoning  

Nicolas Christin (Carnegie Mellon University)

This research tackles the issue of blockchain address poisoning, where attackers create “look-alike” addresses to trick users into sending funds to the wrong recipient, commonly referred to as address poisoning. Blockchain transactions are irreversible, making such attacks particularly harmful. This project will formalize the threat model, measure the prevalence across multiple blockchains, characterize attacker behavior, and develop mitigations. The goal is to create a rigorous framework for Web3 UI design that enhances user safety and confidence on Sui and other platforms.

Catching the Risk-free Yield on Sui: A Deep Hedging Approach Using Options and Futures

Dimitrios Karyampas and Walid Sofiane (École Polytechnique Fédérale de Lausanne), Adam Bouabda (ETH Zurich)

Stable, near risk-free yields are crucial for investor confidence in the highly volatile cryptocurrency market. This project employs innovative hedging strategies inspired by synthetic stablecoins to enhance current methods. By integrating perpetual contracts with advanced options strategies, particularly box spreads, and utilizing reinforcement learning, the project aims to develop a dynamic trading strategy that adapts to market conditions, maximizing yields while minimizing risks.

Compositional Specification and Verification of Blockchain Consensus Protocols

Zhong Shao (Yale University)

Byzantine State Machine Replication (SMR) protocols ensure a linear, tamper-proof history by making participating nodes agree on a single consensus. However, implementing these protocols correctly to maintain both safety and liveness remains a complex challenge. By introducing an intermediate model of consensus protocols that includes the pacemaker component, this work supports proving both safety and liveness through refinement. The goal is to develop a Linearizable Byzantine Distributed Objects (LiDO) model to simplify and improve the verification of consensus protocols, ensuring robust and reliable blockchain implementations.

Concurrent Smart Contract Execution Paradigm

Mohammad Sadoghi (University of California, Davis)

Over the past decade, ResilientDB has pioneered a resilient and sustainable data platform that unifies secure transactional and real-time analytical processing. As an Apache Incubator project, ResilientDB has made significant contributions, including developing a geo-scale consensus protocol (GeoBFT) and hybrid sharding protocols (Cerberus, RingBFT). Building on this foundation, the team now aims to develop high-throughput, low-latency concurrency control protocols optimized for concurrent smart contract execution.

Efficient Post-Quantum Multi-Party Computation using Lightweight Cryptography

Aniket Kate (Purdue University)

Multi-Party Computation (MPC) allows multiple parties to compute functions on private inputs while maintaining privacy, essential for Web3 applications like privacy-preserving AI and healthcare analytics. This research aims to develop hash-based MPC protocols that are scalable and post-quantum secure, overcoming the limitations of current protocols that rely on computationally expensive cryptographic operations. Preliminary results with the HashRand protocol show significant performance improvements, achieving 11,000 beacons per minute with 16 participants, vastly outperforming existing solutions.

Encryption on Chain

Yevgeniy Dodis (New York University)

Blockchains like Bitcoin and Ethereum offer pseudonymity but lack strong privacy guarantees natively, allowing user transactions to be traceable. This research aims to address this by exploring “encryption on chain” for private storage, as opposed to zk-proofs, to ensure data privacy and availability on blockchains. Drawing on expertise from developing secure messaging protocols like Signal and Zoom, this project seeks to develop robust privacy solutions for blockchain transactions.

Evaluating Sui’s Resilience to Network Attacks

Prateek Mittal (Princeton University)

This research investigates the resilience of the Sui validator network to network-level routing attacks, particularly Border Gateway Protocol (BGP) hijacks and DDoS attacks. The study will assess validator nodes’ resilience to these threats, with the ultimate goal of developing a resilience “score” function to adjust validation payouts accordingly and incentivize secure connectivity via the next-generation network architecture SCION. This research will be the most detailed simulation of BGP hijack resilience to date, incorporating real-world routing aspects to ensure the robustness and reliability of Sui.

Faster zk-SNARKs from Accumulation

Benedikt Bünz (New York University)

This research aims to improve Zero-Knowledge Succinct Non-Interactive Arguments of Knowledge (zk-SNARKs), enhancing blockchain privacy and efficiency. By using “accumulation” techniques, computations are broken into small steps and combined, simplifying verification. This method can improve signature aggregation in systems like Bullshark and Narwhal, offering more efficient verification. The project seeks to make zk-SNARKs faster and easier to generate for practical applications.

Fully Decentralized zkLogin with Biometric Login Methods and Switchable Login Providers

Jieliang Yin (The Hong Kong University of Science and Technology)

Current blockchain systems face challenges in user identity authentication, relying heavily on users to manage passwords or specific devices, which can be inconvenient and insecure. This proposed research addresses this issue by introducing a decentralized zkLogin solution that utilizes biometric identification methods such as voiceprint, fingerprint, face, and iris recognition. This approach eliminates the need for users to remember or carry anything and allows them to switch between different service providers, enhancing both convenience and security while ensuring continuous access to their blockchain accounts.

MoveGen: Generating Secure Smart Contracts Based on Natural Language and Security Specifications

Weidong Shi and Rabimba Karanjai (University Of Houston)

This project aims to enhance SolMover, a tool for generating Move code, by improving its task generator LLM, expanding the Move code dataset, and integrating error correction mechanisms. The research will explore the direct generation of Move code from natural language specifications, using compiler feedback to iteratively improve code accuracy and quality. Additionally, advanced safety alignment techniques, linter-based patching, and automatic unit test generation will be employed to ensure the correctness and reliability of the generated Move contracts. 

Scalability from Zero-Knowledge Virtual Machines

Sanjam Garg (University of California, Berkeley)

zk-proofs are a powerful cryptographic tool that ensures security and privacy in blockchain applications. zk-proofs certify the correct execution of computations without revealing any input data, making them crucial for applications like verifiable databases, private voting, and anonymous credentials. Implementing zk-proofs for the Move virtual machine would allow clients to execute smart contracts locally and submit proof, reducing miners’ workloads and supporting computationally-intensive contracts. This would also help enable privacy-preserving applications on Sui.

SuiGPT AutoTest: Generate Comprehensive Move Unit Tests with Large Language Models

Ken Koedinger and Eason Chen (Carnegie Mellon University)

While testing is crucial for maintaining smart contract integrity, crafting unit tests is very time-consuming. This research explores using LLMs to assist in writing these tests. Initial successes with prompt engineering show LLMs can generate effective, compilable test code. This research will develop an SDK and a Visual Studio Code extension to help Move developers easily create comprehensive unit tests, enhancing efficiency and reliability.

We would like to thank all those who submitted proposals for the Sui Academic Research Awards program. 

For those who are interested in the program, please submit your proposals for the next round by July 5, 2024.
Gas Friendly Post-Quantum Signatures With TruncatorEvery transaction and piece of stored data incurs a cost on a blockchain. Whether it's the fees to make payments, gas costs to execute smart contract operations, or the resources required to store data, the size of the variables involved plays a crucial role in determining these costs. Reducing the size of these variables without compromising their functionality or security can lead to significant savings in communication, storage, and transaction fees. Introducing Truncator Truncator is a mining-based technique designed to reduce the size of various cryptographic outputs frequently encountered in blockchain systems. Truncator's key innovation involves achieving this reduction without sacrificing security. How Truncator works Truncator adds a few extra steps during transaction composition in return for significant benefits in reducing transaction size and associated gas costs. While this addition time is typically on the order of seconds rather than milliseconds, it is particularly beneficial for transactions where reduced variable size outweighs the need for speed. By adopting this approach, the transaction sender realizes advantages, such as reduced transaction fees, and the entire ecosystem benefits through reduced storage and communication costs. The technique behind Truncator This approach involves an iterative search (or mining) in the cryptographic primitives inputs or randomness to find a more efficient encrypted output. This method crafts each primitive’s output in a specific way that satisfies the modified system’s public parameters, such as requiring some specific bits of the output to be constant. This is similar to how proof-of-work mechanisms require miners to continually digest the same data with different random values until meeting a specific system need. In the case of Truncator, the system goal is to simplify the output to a certain degree. For example, consider applying Truncator in the key generation algorithm for discrete logarithm (dlog)-based keys. Assuming all acceptable public keys have a pre-determined ℓ-bit prefix, we can perform an iterative search for a secret key \( sk \) such that the format of its derived public key \( pk = g^{sk} \) satisfies the predetermined ℓ-bit prefix. The resulting public keys would be ℓ bits smaller, thus offering reduced communication and storage costs. Ensuring security Security is paramount, of course, and the bit-security framework shows that Truncator does not reduce the security of the keys. The bit-security framework states that a primitive \( P \) has κ-bit security if it takes an adversary \( 2^{κ} \) operations to break it. This implies that for any attack with computational cost \( T \) and success probability \( ϵ \), it must hold that \( T /ϵ > 2^{κ} \). The intuition here is that the mining approach for truncation incurs higher attack costs, which overall offsets the reduced key space, maintaining the same level of security. Real-world applications The idea of an iterative search to reduce the size of keys and addresses has appeared before in the blockchain space, most notably in Ethereum proposals for addresses with a prefix of many zeroes to reduce gas fees (known as “gas golfing”). In this Truncator work, we formalize and expand this idea to multiple cryptographic primitives such as hash digests, elliptic curve cryptography (ECC) public keys, and signature outputs. For example, about 7 percent compression (2 bytes less) has been achieved in less than a second for ed25519 signatures and less than 10 milliseconds for compressed Blake3 digests. We have also explored truncation in ElGamal encryption and Diffie-Hellman-based encryption, commonly used for blockchain stealth addresses. A new approach for hash-based post-quantum signatures There is an exciting opportunity to construct new cryptographic schemes that leverage Truncator’s techniques during the protocol design phase, particularly in the context of post-quantum security. Hash-based signature schemes, such as Lamport signatures and their variants, are inherently quantum-resistant because their security relies on the properties of hash functions rather than on the hardness of problems like factoring large integers or computing discrete logarithms, which quantum computers can efficiently solve. Future schemes could consider mining feasibility and securely adjust key generation or other cryptographic operations to accommodate it, thus enhancing resistance to quantum computing attacks. By optimizing the key derivation process in hash-based signature schemes, it is possible to achieve better performance and efficiency. This involves reducing the computational load and storage requirements, which is crucial for maintaining the security and usability of cryptographic systems in a post-quantum world. High-performance mining techniques can lead to more efficient generation and verification of signatures, ensuring that cryptographic systems remain robust and scalable in the face of emerging quantum threats. Optimizing Lamport signatures One intriguing direction involves optimizing hash-based signatures at the key derivation level, aiming for high-performance mining with significantly better results than brute forcing. For example, in traditional Lamport signatures, the private key comprises 256 independent pairs of 256-bit random values (seeds), totaling 512 elements and 16 KiB. Each sub-private key corresponds to a public key, its hash, resulting in a total of 512 elements. Typically, we sign hashed messages, where each bit in the hash corresponds to a sub-private value. While compressing Lamport signatures typically requires techniques such as the Winternitz hash-chain variant, it can also be achieved by deriving private parts in a tree fashion structure rather than selecting them independently. Consider signing a message consisting of all zeros. Using the top key, verifiers can derive all sub-keys via Merkle tree operations. For adjacent similar bits, we can use the corresponding tree path to reduce the number of keys required for submission. This principle also applies to adjacent set bits. By maximizing the number of adjacent bits through hash retries, we can reduce the signature payload, resulting in more optimized Lamport verification and shorter proofs. By maximizing the number of adjacent bits through hash retries, we can reduce the signature payload, resulting in more optimized Lamport verification and shorter proofs. Conclusion Truncator presents an innovative approach to truncating the output size of cryptographic primitives, offering a computational trade-off that opens new avenues for exploration. We've highlighted its application to basic cryptographic primitives and introduced an exciting direction for optimizing hash-based signatures at the key derivation level. Looking ahead, we see potential in extending Truncator to more advanced cryptographic primitives and crafting novel protocols that leverage mining techniques across various cryptographic protocols. These efforts hold the promise of enhancing efficiency and reducing storage costs in the blockchain ecosystem and beyond. At Sui, we’re particularly excited about incorporating such optimizations into our roadmap for post-quantum security, ensuring that our platform remains at the forefront of innovation while maintaining robust security standards. Truncator can potentially help in more gas-friendly post-quantum signatures, contributing to a more efficient and secure blockchain environment. To explore Truncator more deeply, check out our GitHub.

Gas Friendly Post-Quantum Signatures With Truncator

Every transaction and piece of stored data incurs a cost on a blockchain. Whether it's the fees to make payments, gas costs to execute smart contract operations, or the resources required to store data, the size of the variables involved plays a crucial role in determining these costs. Reducing the size of these variables without compromising their functionality or security can lead to significant savings in communication, storage, and transaction fees.

Introducing Truncator

Truncator is a mining-based technique designed to reduce the size of various cryptographic outputs frequently encountered in blockchain systems. Truncator's key innovation involves achieving this reduction without sacrificing security.

How Truncator works

Truncator adds a few extra steps during transaction composition in return for significant benefits in reducing transaction size and associated gas costs. While this addition time is typically on the order of seconds rather than milliseconds, it is particularly beneficial for transactions where reduced variable size outweighs the need for speed. By adopting this approach, the transaction sender realizes advantages, such as reduced transaction fees, and the entire ecosystem benefits through reduced storage and communication costs.

The technique behind Truncator

This approach involves an iterative search (or mining) in the cryptographic primitives inputs or randomness to find a more efficient encrypted output. This method crafts each primitive’s output in a specific way that satisfies the modified system’s public parameters, such as requiring some specific bits of the output to be constant. This is similar to how proof-of-work mechanisms require miners to continually digest the same data with different random values until meeting a specific system need. In the case of Truncator, the system goal is to simplify the output to a certain degree.

For example, consider applying Truncator in the key generation algorithm for discrete logarithm (dlog)-based keys. Assuming all acceptable public keys have a pre-determined ℓ-bit prefix, we can perform an iterative search for a secret key \( sk \) such that the format of its derived public key \( pk = g^{sk} \) satisfies the predetermined ℓ-bit prefix. The resulting public keys would be ℓ bits smaller, thus offering reduced communication and storage costs.

Ensuring security

Security is paramount, of course, and the bit-security framework shows that Truncator does not reduce the security of the keys. The bit-security framework states that a primitive \( P \) has κ-bit security if it takes an adversary \( 2^{κ} \) operations to break it. This implies that for any attack with computational cost \( T \) and success probability \( ϵ \), it must hold that \( T /ϵ > 2^{κ} \). The intuition here is that the mining approach for truncation incurs higher attack costs, which overall offsets the reduced key space, maintaining the same level of security.

Real-world applications

The idea of an iterative search to reduce the size of keys and addresses has appeared before in the blockchain space, most notably in Ethereum proposals for addresses with a prefix of many zeroes to reduce gas fees (known as “gas golfing”). In this Truncator work, we formalize and expand this idea to multiple cryptographic primitives such as hash digests, elliptic curve cryptography (ECC) public keys, and signature outputs. For example, about 7 percent compression (2 bytes less) has been achieved in less than a second for ed25519 signatures and less than 10 milliseconds for compressed Blake3 digests. We have also explored truncation in ElGamal encryption and Diffie-Hellman-based encryption, commonly used for blockchain stealth addresses.

A new approach for hash-based post-quantum signatures

There is an exciting opportunity to construct new cryptographic schemes that leverage Truncator’s techniques during the protocol design phase, particularly in the context of post-quantum security. Hash-based signature schemes, such as Lamport signatures and their variants, are inherently quantum-resistant because their security relies on the properties of hash functions rather than on the hardness of problems like factoring large integers or computing discrete logarithms, which quantum computers can efficiently solve.

Future schemes could consider mining feasibility and securely adjust key generation or other cryptographic operations to accommodate it, thus enhancing resistance to quantum computing attacks. By optimizing the key derivation process in hash-based signature schemes, it is possible to achieve better performance and efficiency. This involves reducing the computational load and storage requirements, which is crucial for maintaining the security and usability of cryptographic systems in a post-quantum world. High-performance mining techniques can lead to more efficient generation and verification of signatures, ensuring that cryptographic systems remain robust and scalable in the face of emerging quantum threats.

Optimizing Lamport signatures

One intriguing direction involves optimizing hash-based signatures at the key derivation level, aiming for high-performance mining with significantly better results than brute forcing. For example, in traditional Lamport signatures, the private key comprises 256 independent pairs of 256-bit random values (seeds), totaling 512 elements and 16 KiB. Each sub-private key corresponds to a public key, its hash, resulting in a total of 512 elements. Typically, we sign hashed messages, where each bit in the hash corresponds to a sub-private value.

While compressing Lamport signatures typically requires techniques such as the Winternitz hash-chain variant, it can also be achieved by deriving private parts in a tree fashion structure rather than selecting them independently.

Consider signing a message consisting of all zeros. Using the top key, verifiers can derive all sub-keys via Merkle tree operations. For adjacent similar bits, we can use the corresponding tree path to reduce the number of keys required for submission. This principle also applies to adjacent set bits. By maximizing the number of adjacent bits through hash retries, we can reduce the signature payload, resulting in more optimized Lamport verification and shorter proofs.

By maximizing the number of adjacent bits through hash retries, we can reduce the signature payload, resulting in more optimized Lamport verification and shorter proofs. Conclusion

Truncator presents an innovative approach to truncating the output size of cryptographic primitives, offering a computational trade-off that opens new avenues for exploration. We've highlighted its application to basic cryptographic primitives and introduced an exciting direction for optimizing hash-based signatures at the key derivation level.

Looking ahead, we see potential in extending Truncator to more advanced cryptographic primitives and crafting novel protocols that leverage mining techniques across various cryptographic protocols. These efforts hold the promise of enhancing efficiency and reducing storage costs in the blockchain ecosystem and beyond.

At Sui, we’re particularly excited about incorporating such optimizations into our roadmap for post-quantum security, ensuring that our platform remains at the forefront of innovation while maintaining robust security standards. Truncator can potentially help in more gas-friendly post-quantum signatures, contributing to a more efficient and secure blockchain environment.

To explore Truncator more deeply, check out our GitHub.
Explora las últimas noticias sobre criptos
⚡️ Participa en los últimos debates del mundo cripto
💬 Interactúa con tus creadores favoritos
👍 Disfruta contenido de tu interés
Email/número de teléfono

Lo más reciente

--
Ver más
Mapa del sitio
Cookie Preferences
Términos y condiciones de la plataforma