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
2 changes: 2 additions & 0 deletions docs/HyperIndex/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ slug: /overview
<meta name="twitter:image" content="/img/preview-banner.png" />
</Head>

# HyperIndex: Fast Multichain Indexer

**HyperIndex** is a blazing-fast, developer-friendly multichain indexer, optimized for both local development and reliable hosted deployment. It empowers developers to effortlessly build robust backends for blockchain applications.

![Sync Process](../../static/img/sync.gif)
Expand Down
50 changes: 31 additions & 19 deletions docs/HyperIndex/supported-networks/soneium.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,57 @@ slug: /soneium

# Soneium

## Indexing Soneium Data with Envio via RPC
## Indexing Soneium Data with Envio

:::warning
RPC as a source is not as fast as HyperSync. It is important in production to source RPC data from reliable sources. We recommend our partners at [drpc.org](https://drpc.org). Below, we have provided a set of free endpoints sourced from chainlist.org. **We don't recommend using these in production** as they may be rate limited. We recommend [tweaking the RPC config](./rpc-sync) to accommodate potential rate limiting.
:::
| **Field** | **Value** |
|-------------------------------|----------------------------------------------------------------------------------------------------|
| **Soneium Chain ID** | 1868 |
| **HyperSync URL Endpoint** | [https://soneium.hypersync.xyz](https://soneium.hypersync.xyz) or [https://1868.hypersync.xyz](https://1868.hypersync.xyz) |
| **HyperRPC URL Endpoint** | [https://soneium.rpc.hypersync.xyz](https://soneium.rpc.hypersync.xyz) or [https://1868.rpc.hypersync.xyz](https://1868.rpc.hypersync.xyz) |

We suggest getting the latest from [chainlist.org](https://chainlist.org).
---

### Tier

STONE 🪨

### Overview

Envio supports Soneium through an RPC-based indexing approach. This method allows you to ingest blockchain data via an RPC endpoint by setting the RPC configuration.
Envio is a modular hyper-performant data indexing solution for Soneium, 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/HyperSync/overview-hyperrpc) (extremely fast read-only RPC).

---
HyperSync accelerates the synchronization of historical data on Soneium, 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.

### Defining Network Configurations
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 use Soneium, define the RPC configuration in your network configuration file as follows:
To get started, see our documentation or follow our quickstart [guide](/docs/HyperIndex/contract-import).

:::info
You may need to adjust more parameters of the [rpc configuration](./rpc-sync) to support the specific rpc provider.
:::
---

### Defining Network Configurations

```yaml
name: IndexerName # Specify indexer name
description: Indexer Description # Include indexer description
networks:
- id: 1868 # Soneium
rpc_config:
url: https://rpc.minato.soneium.org/
start_block: START_BLOCK_NUMBER # Specify the starting block
- id: 1868 # Soneium
start_block: START_BLOCK_NUMBER # Specify the starting block
contracts:
- name: ContractName
address:
- "0xYourContractAddress1"
- "0xYourContractAddress2"
- "0xYourContractAddress1"
- "0xYourContractAddress2"
handler: ./src/EventHandlers.ts
events:
- event: Event # Specify event
- event: Event
```

Want HyperSync for Soneium? Request network support here [Discord](https://discord.gg/fztEvj79m3)!
With these steps completed, your application will be set to efficiently index Soneium 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!

---
14 changes: 7 additions & 7 deletions docs/HyperSync/HyperRPC/overview-hyperrpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_label: Overview
slug: /overview-hyperrpc
---

# HyperRPC: Ultra-Fast Read-Only Blockchain Access
# HyperRPC: Ultra-Fast Read-Only RPC

HyperRPC is an extremely fast read-only RPC designed specifically for data-intensive blockchain tasks. Built from the ground up to optimize performance, it offers a simple drop-in solution with dramatic speed improvements over traditional nodes.

Expand Down Expand Up @@ -62,13 +62,13 @@ This performance boost is particularly noticeable for:

HyperRPC currently supports the following Ethereum JSON-RPC methods:

| Category | Methods |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **Chain Data** | `eth_chainId`<br />`eth_blockNumber` |
| **Block Data** | `eth_getBlockByNumber`<br />`eth_getBlockByHash`<br />`eth_getBlockReceipts` |
| Category | Methods |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Chain Data** | `eth_chainId`<br />`eth_blockNumber` |
| **Block Data** | `eth_getBlockByNumber`<br />`eth_getBlockByHash`<br />`eth_getBlockReceipts` |
| **Transaction Data** | `eth_getTransactionByHash`<br />`eth_getTransactionByBlockHashAndIndex`<br />`eth_getTransactionByBlockNumberAndIndex`<br />`eth_getTransactionReceipt` |
| **Event Logs** | `eth_getLogs` |
| **Traces** | `trace_block` (only on [select chains](./hyperrpc-supported-networks)) |
| **Event Logs** | `eth_getLogs` |
| **Traces** | `trace_block` (only on [select chains](./hyperrpc-supported-networks)) |

## Supported Networks

Expand Down
2 changes: 1 addition & 1 deletion docs/HyperSync/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_label: Overview
slug: /overview
---

# HyperSync: High-Performance Blockchain Data Access
# HyperSync: Ultra-Fast & Flexible Data API

## What is HyperSync?

Expand Down
Loading