Skip to content

Commit

Permalink
adds Envio to Linea tooling (#290)
Browse files Browse the repository at this point in the history
* adds Envio to Linea tooling

* fix email link resolving as URL

---------

Co-authored-by: svenmueller7771 <[email protected]>
  • Loading branch information
SvenMuller95 and svenmueller7771 authored Sep 20, 2023
1 parent b9d9dad commit cdfdbfc
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
86 changes: 86 additions & 0 deletions docs/build-on-linea/tooling/data-indexers/envio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
title: Envio
---

[Envio](https://envio.dev/) is a customizable, real-time indexing solution that provides developers with a seamless and efficient way to index and aggregate blockchain data. The indexed data is easily accessible through GraphQL queries, providing developers with the flexibility and power to retrieve specific information.

Envio offers native support for Linea (both 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 user experience, Envio offers automatic code generation, flexible language support, quickstart templates, and a reliable cost-effective hosted service.

Indexers on Envio can be written in JavaScript, TypeScript, or ReScript.


## Envio HyperSync

Envio offers support for [HyperSync](https://docs.envio.dev/docs/hypersync) on Linea mainnet.

HyperSync is an indexed layer of the Linea blockchain, providing accelerated APIs (JSON-RPC bypass) for the hyper-speed syncing of historic data. Developers do not need to worry about RPC URLs, rate-limited APIs, or managing infrastructure, and can easily sync large datasets in a few minutes, something that would usually take 20x longer via JSON-RPC.


## Other Features

- Fully customizable to meet your unique data needs.

- Aggregate data from multi-chain / cross-chain deployments into a unified GraphQL API (or REST API).

- Detailed logging and error messaging are provided for effective troubleshooting and debugging.

- Quickstart templates with pre-defined indexing logic for popular OpenZeppelin contracts (ERC20, ERC721, ERC1155, etc.)

## Getting Started

The following files are required from the user to run the Envio indexer:

- Configuration (defaults to `config.yaml`)
- GraphQL Schema (defaults to `schema.graphql`)
- Event Handlers (defaults to `src/EventHandlers.*` depending on the language chosen)

These files are auto-generated according to the template and language chosen by running the `envio init` command.

[**Quickstart Guide**](https://docs.envio.dev/docs/quickstart)


```bash
? Would you like to start from a template or migrate from a subgraph?
> "Template"
"SubgraphMigration"
[↑↓ to move, enter to select, type to filter]

```

Then choose a template out of the possible options

```bash
? Which template would you like to use?
> "Blank"
"Greeter"
"Erc20"
[↑↓ to move, enter to select, type to filter]
```

Then choose a language from **Javascript**, **Typescript**, or **Rescript** to write the event handlers file.

```bash
? Which language would you like to use?
> "Javascript"
"Typescript"
"Rescript"
[↑↓ to move, enter to select, type to filter]
```

This will create the config, schema and event handlers files according to the template and language chosen.



## Getting Help

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

You can schedule an [intro call](https://calendly.com/sven-float-shipping/envio) to talk about your use case and where Envio can provide value.

Join our growing community of elite builders, and find peace of mind with Envio.

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

1 change: 1 addition & 0 deletions project-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ enodes
ENS
ENSIP
entrypoints
envio
envr
epochlength
errnametoolong
Expand Down

1 comment on commit cdfdbfc

@vercel
Copy link

@vercel vercel bot commented on cdfdbfc Sep 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.