Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions docs/HyperIndex/supported-networks/citrea.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
id: citrea
title: Citrea
description: Start indexing Citrea data with Envio. A blazing-fast, developer-friendly multichain blockchain indexer.
sidebar_label: Citrea
slug: /citrea
---

# Citrea

## Indexing Citrea Data with Envio

| **Field** | **Value** |
|-------------------------------|----------------------------------------------------------------------------------------------------|
| **Citrea Chain ID** | 4114 |
| **HyperSync URL Endpoint** | [https://citrea.hypersync.xyz](https://citrea.hypersync.xyz) or [https://4114.hypersync.xyz](https://4114.hypersync.xyz) |
| **HyperRPC URL Endpoint** | [https://citrea.rpc.hypersync.xyz](https://citrea.rpc.hypersync.xyz) or [https://4114.rpc.hypersync.xyz](https://4114.rpc.hypersync.xyz) |

---

### Tier

BRONZE 🥉

### Overview

Envio is a modular hyper-performant data indexing solution for Citrea, 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](/docs/HyperIndex/overview) (a customizable indexing framework), [HyperSync](/docs/HyperSync/overview) (a real-time indexed data layer), and [HyperRPC](/docs/HyperRPC/overview-hyperrpc) (extremely fast read-only RPC).

HyperSync accelerates the synchronization of historical data on Citrea, enabling what usually takes hours to sync millions of events to be completed in under a minute—up to 2000x 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](/docs/HyperIndex/contract-import).

---

### Defining Network Configurations

```yaml
name: IndexerName # Specify indexer name
description: Indexer Description # Include indexer description
networks:
- id: 4114 # Citrea
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 Citrea 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](/docs/HyperIndex/configuration-file).

### Support

Can’t find what you’re looking for or need support? Reach out to us on [Discord](https://discord.com/invite/Q9qt8gZ2fX); we’re always happy to help!

---
2 changes: 1 addition & 1 deletion docs/HyperRPC/hyperrpc-supported-networks.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Here is a table of the currently supported networks on HyperRPC and their respec
| Bsc Testnet | 97 | https://bsc-testnet.rpc.hypersync.xyz or https://97.rpc.hypersync.xyz |
| Celo | 42220 | https://celo.rpc.hypersync.xyz or https://42220.rpc.hypersync.xyz |
| Chiliz | 88888 | https://chiliz.rpc.hypersync.xyz or https://88888.rpc.hypersync.xyz |
| Citrea | 4114 | https://citrea.rpc.hypersync.xyz or https://4114.rpc.hypersync.xyz |
| Citrea Testnet | 5115 | https://citrea-testnet.rpc.hypersync.xyz or https://5115.rpc.hypersync.xyz |
| Curtis | 33111 | https://curtis.rpc.hypersync.xyz or https://33111.rpc.hypersync.xyz |
| Cyber | 7560 | https://cyber.rpc.hypersync.xyz or https://7560.rpc.hypersync.xyz |
Expand Down Expand Up @@ -78,7 +79,6 @@ Here is a table of the currently supported networks on HyperRPC and their respec
| Mode | 34443 | https://mode.rpc.hypersync.xyz or https://34443.rpc.hypersync.xyz |
| Monad | 143 | https://monad.rpc.hypersync.xyz or https://143.rpc.hypersync.xyz |
| Monad Testnet | 10143 | https://monad-testnet.rpc.hypersync.xyz or https://10143.rpc.hypersync.xyz |
| Moonbase Alpha | 1287 | https://moonbase-alpha.rpc.hypersync.xyz or https://1287.rpc.hypersync.xyz |
| Moonbeam | 1284 | https://moonbeam.rpc.hypersync.xyz or https://1284.rpc.hypersync.xyz |
| Morph | 2818 | https://morph.rpc.hypersync.xyz or https://2818.rpc.hypersync.xyz |
| Opbnb | 204 | https://opbnb.rpc.hypersync.xyz or https://204.rpc.hypersync.xyz |
Expand Down
2 changes: 1 addition & 1 deletion docs/HyperSync/hypersync-supported-networks.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ If you are a network operator or user and would like improved service support or
| Bsc Testnet | 97 | https://bsc-testnet.hypersync.xyz or https://97.hypersync.xyz | https://bsc-testnet.rpc.hypersync.xyz or https://97.rpc.hypersync.xyz | 🎒 |
| Celo | 42220 | https://celo.hypersync.xyz or https://42220.hypersync.xyz | https://celo.rpc.hypersync.xyz or https://42220.rpc.hypersync.xyz | 🪨 |
| Chiliz | 88888 | https://chiliz.hypersync.xyz or https://88888.hypersync.xyz | https://chiliz.rpc.hypersync.xyz or https://88888.rpc.hypersync.xyz | 🪨 |
| Citrea | 4114 | https://citrea.hypersync.xyz or https://4114.hypersync.xyz | https://citrea.rpc.hypersync.xyz or https://4114.rpc.hypersync.xyz | 🥉 |
| Citrea Testnet | 5115 | https://citrea-testnet.hypersync.xyz or https://5115.hypersync.xyz | https://citrea-testnet.rpc.hypersync.xyz or https://5115.rpc.hypersync.xyz | 🥉 |
| Curtis | 33111 | https://curtis.hypersync.xyz or https://33111.hypersync.xyz | https://curtis.rpc.hypersync.xyz or https://33111.rpc.hypersync.xyz | 🪨 |
| Cyber | 7560 | https://cyber.hypersync.xyz or https://7560.hypersync.xyz | https://cyber.rpc.hypersync.xyz or https://7560.rpc.hypersync.xyz | 🪨 |
Expand Down Expand Up @@ -81,7 +82,6 @@ If you are a network operator or user and would like improved service support or
| Mode | 34443 | https://mode.hypersync.xyz or https://34443.hypersync.xyz | https://mode.rpc.hypersync.xyz or https://34443.rpc.hypersync.xyz | 🪨 |
| Monad | 143 | https://monad.hypersync.xyz or https://143.hypersync.xyz | https://monad.rpc.hypersync.xyz or https://143.rpc.hypersync.xyz | 🏅 |
| Monad Testnet | 10143 | https://monad-testnet.hypersync.xyz or https://10143.hypersync.xyz | https://monad-testnet.rpc.hypersync.xyz or https://10143.rpc.hypersync.xyz | 🏅 |
| Moonbase Alpha | 1287 | https://moonbase-alpha.hypersync.xyz or https://1287.hypersync.xyz | https://moonbase-alpha.rpc.hypersync.xyz or https://1287.rpc.hypersync.xyz | 🪨 |
| Moonbeam | 1284 | https://moonbeam.hypersync.xyz or https://1284.hypersync.xyz | https://moonbeam.rpc.hypersync.xyz or https://1284.rpc.hypersync.xyz | 🪨 |
| Morph | 2818 | https://morph.hypersync.xyz or https://2818.hypersync.xyz | https://morph.rpc.hypersync.xyz or https://2818.rpc.hypersync.xyz | 🪨 |
| Opbnb | 204 | https://opbnb.hypersync.xyz or https://204.hypersync.xyz | https://opbnb.rpc.hypersync.xyz or https://204.rpc.hypersync.xyz | 🪨 |
Expand Down
2 changes: 1 addition & 1 deletion supported-networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"supported-networks/celo-alfajores-testnet",
"supported-networks/chiliz",
"supported-networks/chiliz-testnet-spicy",
"supported-networks/citrea",
"supported-networks/citrea-devnet",
"supported-networks/citrea-testnet",
"supported-networks/core",
Expand Down Expand Up @@ -118,7 +119,6 @@
"supported-networks/mode",
"supported-networks/monad",
"supported-networks/monad-testnet",
"supported-networks/moonbase-alpha",
"supported-networks/moonbeam",
"supported-networks/morph",
"supported-networks/nautilus",
Expand Down