> ## Documentation Index
> Fetch the complete documentation index at: https://seilabs-docs-evm-cookbook.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Envio

> Index Sei smart contract data using Envio, a modular hyper-performant data indexing solution.

## Envio

Use Envio, a modular data indexing solution, to index Sei smart contract data. Envio has three products. You can use them individually or together, depending on your data needs on Sei.

1. [HyperIndex](https://docs.envio.dev/docs/HyperIndex/overview), a fully customizable blockchain indexing framework that powers GraphQL APIs over Postgres
2. [HyperSync](https://docs.envio.dev/docs/HyperSync/overview), a real-time data retrieval layer up to 2000x faster than traditional RPC
3. [HyperRPC](https://docs.envio.dev/docs/HyperRPC/overview-hyperrpc), a fast RPC for data-intensive queries

> If you are new to Envio, start with [How to Index Sei Smart Contract Data in Minutes using Envio](https://docs.envio.dev/blog/index-sei-smart-contracts-envio). This step-by-step walkthrough builds a USDC indexer on Sei in under five minutes.

| Field | Value |
| - | - |
| Sei Chain ID | 1329 |
| HyperSync URL Endpoint | `https://sei.hypersync.xyz` or `https://1329.hypersync.xyz` |
| HyperRPC URL Endpoint | `https://sei.rpc.hypersync.xyz` or `https://1329.rpc.hypersync.xyz` |

> Envio also supports Sei Testnet. HyperSync is at `https://sei-testnet.hypersync.xyz`, and HyperRPC is at `https://sei-testnet.rpc.hypersync.xyz`.

## Choosing a product

### HyperIndex

**Best for:** projects that need a complete indexing solution with schema management, event handling, and a GraphQL API.

* An indexing framework that transforms on-chain events into structured, queryable databases with GraphQL APIs
* Configured with a YAML file, a GraphQL schema, and event handlers in TypeScript, JavaScript, or ReScript
* Supports multichain indexing, real-time indexing, reorg handling, and factory (dynamic) contracts
* Uses HyperSync for historical backfill

### HyperSync

**Best for:** new projects that design their own data access layer, performance-critical workloads, advanced filtering, and full control over data formatting.

* A high-performance data retrieval layer, written from scratch in Rust as an alternative to traditional JSON-RPC endpoints
* The raw blockchain data access layer that HyperIndex uses. It is up to 2000x faster than traditional RPC endpoints.
* Client libraries for Python, Rust, Node.js, and Go
* Query options that let you filter, select, and process exactly the data that you need

Common use cases include custom indexers, data analytics, block explorers, monitoring tools, cross-chain applications, and ETL pipelines.

### HyperRPC

**Best for:** drop-in replacements for existing RPC-based code, projects that need standard JSON-RPC interfaces, and teams without time for a deeper integration.

* A fast RPC designed for data-intensive blockchain tasks
* A specialized JSON-RPC endpoint optimized for data retrieval workflows
* Drop-in compatible with existing tooling that uses standard RPC methods
* Up to 5x faster than traditional nodes for data-intensive operations. It uses HyperSync to fulfill requests.

Common use cases include historical data queries, log event filtering, block and transaction retrievals, and analytics applications.

## Getting started

Make sure that you have installed the [prerequisites](https://docs.envio.dev/docs/HyperIndex/quickstart#prerequisites). Then initialize a new indexer:

```bash theme={"dark"} theme={null}
pnpx envio init
```

Follow the interactive prompts to customize your indexer for Sei. A minimal Sei `config.yaml` looks like this:

```yaml theme={"dark"} theme={null}
name: IndexerName
description: Indexer Description
chains:
  - id: 1329 # Sei
    start_block: START_BLOCK_NUMBER
    contracts:
      - name: ContractName
        address:
          - "0xYourContractAddress1"
        events:
          - event: Event
```

For more detail on configuring chains, schemas, and event handlers, see the [HyperIndex configuration guide](https://docs.envio.dev/docs/HyperIndex/configuration-file) and [Indexing Sei on Envio](https://docs.envio.dev/docs/HyperIndex/sei).

## Built with Envio

* [Indexer Explorer](https://envio.dev/explorer): browse public real-time indexers built on Envio
* [Case studies](https://docs.envio.dev/blog/tags/case-studies): see real-world deployments and migrations
* [Showcase](https://docs.envio.dev/showcase): explore live demos built with HyperIndex and HyperSync

## More resources

* [HyperIndex Quickstart](https://docs.envio.dev/docs/HyperIndex/quickstart)
* [Quickstart with AI](https://docs.envio.dev/docs/HyperIndex/quickstart-with-ai)
* [Envio Cloud](https://docs.envio.dev/docs/HyperIndex/hosted-service)
* [GitHub](https://github.com/enviodev/hyperindex)

## Support

For help, contact the Envio team on [Discord](https://discord.gg/envio) or [Telegram](https://t.me/+kAIGElzPjApiMjI0).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.