XDC
Indexing XDC Data with Envio
HyperSync support for XDC is available on a request basis. To get access, reach out to us on Discord and we'll enable it for your project.
| Field | Value |
|---|---|
| XDC Chain ID | 50 |
| HyperSync Access | On request — reach out on Discord |
Overview
Envio is a modular hyper-performant data indexing solution for XDC, enabling applications and developers to efficiently index and aggregate real-time and historical blockchain data. Envio offers three primary solutions for indexing and accessing large amounts of data: HyperIndex (a customizable indexing framework), HyperSync (a real-time indexed data layer), and HyperRPC (extremely fast read-only RPC).
XDC is supported through HyperSync on a request basis. Once access has been granted, HyperIndex uses HyperSync as the data source for XDC, enabling sync speeds up to 2000x faster than traditional RPC methods.
To get started, see our documentation or follow our quickstart guide.
Defining Chain Configurations
name: IndexerName # Specify indexer name
description: Indexer Description # Include indexer description
chains:
- id: 50 # XDC
start_block: START_BLOCK_NUMBER # Specify the starting block
contracts:
- name: ContractName
address:
- "0xYourContractAddress1"
- "0xYourContractAddress2"
events:
- event: Event # Specify event
- event: Event
With these steps completed, your application will be set to efficiently index XDC data using Envio’s blockchain indexer.
For more information on how to set up your config, define a schema, and write event handlers, refer to the guides section in our documentation.
Support
Request access to XDC, or ask us anything, on Discord; we’re always happy to help!