Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds envio to data indexers #272

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
52 changes: 52 additions & 0 deletions docs/manta-pacific/Tools/Data Indexers.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,55 @@ Support for Goldsky Mirror for Manta is currently in progress. If you’d like t
**Getting support**

Can't find what you're looking for? Reach out to us at [[email protected]](mailto:[email protected]) for help.


## Envio

### Overview

Envio is a modern, multi-chain EVM blockchain indexing framework speed-optimized for querying real-time and historical data on Manta.

### Scope

**Envio HyperIndex**

Envio [HyperIndex](https://docs.envio.dev/docs/overview) is a feature-rich indexing solution that provides Manta projects with a seamless and efficient way to index and aggregate real-time or historical blockchain data. The indexed data is easily accessible through custom GraphQL queries, giving developers the flexibility and power to retrieve specific information for their blockchain application.

Envio offers native support for Manta Pacific testnet and mainnet and has been designed to support high-throughput blockchain applications that rely on real-time data for their business requirements.

Designed to optimize the developer experience, Envio offers automatic code generation, flexible language support, quickstart templates, and a reliable cost-effective [hosted service](https://docs.envio.dev/docs/hosted-service). Indexers on Envio can be written in JavaScript, TypeScript, or ReScript.

**Envio HyperSync**

Envio [HyperSync](https://docs.envio.dev/docs/hypersync) is supported on Manta Pacific mainnet.

HyperSync is a real-time data query layer for Manta Pacific, providing APIs that bypass traditional JSON-RPC for up to 1000x faster syncing of historical data. HyperSync is used by default in Envio's indexing framework (HyperIndex), with RPC being optional for data retrieval.

Using HyperSync, Manta projects do not need to worry about RPC URLs, rate-limiting, or managing their infrastructure - and can easily sync large datasets in a few minutes, something that would usually take hours or days using traditional indexing solutions.

HyperSync is also available as a standalone API for data analytic use cases. Data analysts can interact with the HyperSync API using JavaScript, Python, or Rust clients and extract data in JSON, Arrow, or Parquet formats. For more information, visit the HyperSync documentation [here](https://docs.envio.dev/docs/overview-hypersync).

## Getting Started

Developers can choose to start from a template (e.g. Blank, ERC-20, etc.), or use the Contract Import feature when running the `envio init` command. Make sure you have installed the Envio CLI following the [installation guide](https://docs.envio.dev/docs/getting-started).

The [Contract Import](https://docs.envio.dev/docs/contract-import) feature is a quickstart that allows Manta developers to quickly autogenerate the key boilerplate for an entire indexer project off single or multiple smart contracts, and easily start up a basic indexer and a custom GraphQL API for their blockchain application within a few minutes.

**Envio Indexer Examples**

Click [here](https://docs.envio.dev/docs/example-uniswap-v3) for Indexer examples.

**Getting support**

Indexing can be a rollercoaster, especially for more complex use cases. The Envio engineers are available to help you with your data availability needs.

* [Discord](https://discord.gg/mZHNWgNCAc)
* Email: [[email protected]](mailto:[email protected])