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, symbolizing a significant advancement in its campaign to modernize blockchain data retrieval.

Sui Blockchain Delivers gRPC Functionality in Full Beta Version
Sui Blockchain Delivers gRPC Functionality in Full Beta Version

Sui Blockchain Reveals Complete Beta Version of gRPC Integration

Sui Blockchain has announced the introduction of gRPC support for its Full Nodes, enabling faster, more efficient, and real-time blockchain data access for developers. This update lays the groundwork for a next-generation indexer framework, meeting the demands of increasingly complex Web3 applications.

The gRPC interface allows developers to stream and filter live blockchain data with minimal delay and overhead, enabling real-time event tracking and on-chain analytics without the need for custom parsing or managing complex infrastructure.

Advantages of gRPC Support

  • High-performance data streaming: gRPC supports bi-directional streaming, reducing latency dramatically and improving responsiveness to on-chain events.
  • Structured and consistent data format: gRPC outputs data in a well-defined format, making it easier to parse and integrate into applications.
  • Cross-language support: gRPC works seamlessly with many common programming languages, allowing developers to build applications on Sui using their preferred technology stacks.
  • Reduced load on RPC servers: By efficiently streaming only relevant data in real time, the system avoids excessive RPC calls and load on blockchain nodes.

Real-time Data Synchronization and Analytics

The SubscriptionService eliminates the need for inefficient polling methods, enhancing real-time data synchronization. This service is particularly valuable for use cases that depend on instant updates, such as trading platforms and analytics dashboards.

Indexers and data providers can maintain robust APIs through a combination of live subscriptions and batch querying. Sui's roadmap for reshaping blockchain data infrastructure includes a deliberate separation between raw and derived data, parallel support for batch and streaming APIs, and a next-generation indexer framework for Web3 applications.

A New Era for Sui Blockchain

The transition from JSON-RPC to gRPC is part of Sui's broader vision to revamp blockchain data serving and consumption. The Sui Foundation considers gRPC as the canonical API standard for Full Nodes, replacing JSON-RPC over time.

The beta version of gRPC support for Sui Full Nodes has been released, offering a variety of developer-focused services, including MovePackageService, TransactionExecutionService, SignatureVerificationService, and SubscriptionService.

Exchanges can expect quicker transaction execution and verification with this update. The beta release of gRPC support is a foundational milestone in Sui's evolution, positioning the platform for better support of future decentralized applications and services within the Web3 ecosystem.

Developers are encouraged to transition their infrastructure, and Sui provides documentation and proto files on GitHub to support this migration. The gRPC architecture opens up new possibilities for application design, including simulating and executing transactions in real time.

[1] [Source] [3] [Source]

  • Developers can leverage the gRPC interface for streamlining real-time blockchain data access with Sui Blockchain, allowing for high-performance data streaming, reduced latency, and cross-language support.
  • With the SubscriptionService, Sui Blockchain offers enhanced real-time data synchronization for instances like trading platforms and analytics dashboards, further promoting the adoption of data-and-cloud-computing technologies.

Read also:

    Latest