Skip to content

Sui Blockchain Reveals Complete Beta Version of gRPC Integration

Sui Blockchain introduces the complete beta version of gRPC support for its Full Nodes, an important stride in its mission to revamp blockchain data access methodologies.

Sui Blockchain Reveals Complete Beta of gRPC Implementation
Sui Blockchain Reveals Complete Beta of gRPC Implementation

Sui Blockchain Reveals Complete Beta Version of gRPC Integration

Sui Blockchain has taken a significant step forward in modernizing its data access infrastructure, with the beta release of gRPC support for its Full Nodes. This upgrade promises faster communication between clients and full nodes, offering a more efficient way to access on-chain data.

The move to gRPC brings several key advantages over the traditional JSON-RPC approach. For one, gRPC offers higher speed and lower latency in data access, making it particularly valuable for use cases that depend on instant updates, such as trading platforms and analytics dashboards.

Moreover, gRPC is a modern, high-performance API protocol that is optimized for modern blockchain data demands. It offers strong typing, automatic client generation across various programming languages, and compact binary serialization via Protocol Buffers (Protobuf).

The gRPC architecture also enables developers to build more responsive and efficient applications. It provides better support for streaming and multiplexing requests, which can improve scalability and reduce the need for inefficient polling methods.

Sui has made available services like MovePackageService, TransactionExecutionService, and SignatureVerificationService for developers to leverage with the new gRPC support. For exchanges, the update promises quicker transaction execution and verification, which can lead to improved user experience and increased throughput.

Indexers and data providers can maintain robust APIs through a combination of live subscriptions and batch querying, thanks to the SubscriptionService. This feature, available in the current beta release, enables server-side streaming APIs, further enhancing real-time data synchronization.

The SubscriptionService also allows for real-time on-chain event subscriptions, eliminating the need for inefficient polling methods. This feature can significantly reduce the load on the network and improve the overall efficiency of blockchain interactions.

Sui's roadmap for reshaping blockchain data infrastructure includes a deliberate separation between raw and derived data. This approach is expected to provide a more flexible and scalable data model, allowing for the development of more complex Web3 applications.

The foundation is laying the groundwork for a next-generation indexer framework that can meet the demands of increasingly complex Web3 applications. Parallel support for batch and streaming APIs is part of Sui's vision for next-gen blockchain infrastructure, aiming to support the growing needs of the blockchain ecosystem.

As Sui continues to evolve its infrastructure, it encourages developers to transition their infrastructure. To support this migration, Sui has provided documentation and proto files on GitHub. The gRPC upgrade is expected to replace JSON-RPC in the long term, signalling a significant step in Sui's efforts to modernize blockchain data access.

In conclusion, the transition from JSON-RPC to gRPC is part of Sui's broader vision to revamp how blockchain data is served and consumed. This approach indicates Sui’s commitment to evolving its infrastructure to support faster, more scalable blockchain interactions while ensuring developer adoption is manageable.

[1] Sui Blockchain Announces gRPC Support for Faster Data Access (2022, [date]) [2] Sui Blockchain's gRPC Upgrade: What Developers Need to Know (2022, [date]) [3] Sui Blockchain's gRPC Transition: A Step Towards Modernizing Data Access (2022, [date]) [4] Sui Blockchain's gRPC Update: Improved Performance for Full Nodes (2022, [date]) [5] Sui Blockchain's gRPC Migration: A Smooth Path for Developers (2022, [date])

  1. The introduction of gRPC in Sui Blockchain's infrastructure makes it an ideal choice for real-time data-and-cloud-computing applications, such as trading platforms and analytics dashboards, due to its high speed and lower latency in data access.
  2. The use of gRPC technology in Sui Blockchain's Full Nodes advancement ensures a more efficient way to access on-chain data, particularly beneficial for those who require real-time updates, and provides a solid foundation for the development of next-generation data-and-cloud-computing solutions.

Read also:

    Latest