Rootstock
Indexing Rootstock Data with Envio​
Field | Value |
---|---|
Rootstock Chain ID | 30 |
HyperSync URL Endpoint | https://rootstock.hypersync.xyz or https://30.hypersync.xyz |
HyperRPC URL Endpoint | https://rootstock.rpc.hypersync.xyz or https://30.rpc.hypersync.xyz |
Tier​
SILVER 🥈
Overview​
Envio is a modular hyper-performant data indexing solution for Rootstock, 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).
HyperSync accelerates the synchronization of historical data on Rootstock, enabling what usually takes hours to sync millions of events to be completed in under a minute—up to 1000x faster than traditional RPC methods.
Designed to optimize the user experience, Envio offers automatic code generation, flexible language support, multi-chain data aggregation, and a reliable, cost-effective hosted service.
To get started, see our documentation or follow our quickstart guide.
Defining Network Configurations​
name: IndexerName # Specify indexer name
description: Indexer Description # Include indexer description
networks:
- id: 30 # Rootstock
start_block: START_BLOCK_NUMBER # Specify the starting block
contracts:
- name: ContractName
address:
- "0xYourContractAddress1"
- "0xYourContractAddress2"
handler: ./src/EventHandlers.ts
events:
- event: Event # Specify event
- event: Event
With these steps completed, your application will be set to efficiently index Rootstock 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​
Can’t find what you’re looking for or need support? Reach out to us on Discord; we’re always happy to help!