Skip to main content
Use this guide when you want to index ERC20 token data (transfers, balances, etc.) on Berachain using Envio’s indexer (schema + handlers).

Repository

Requirements

  • Node (see README), npm
  • Envio CLI/config if deploying to Envio

Stack

Envio, TypeScript/JavaScript, schema + event handlers.

Quick start

  1. Clone and install
    git clone https://github.com/berachain/guides.git && cd guides/apps/envio-indexer-erc20
    npm install
    
  2. Configure Envio (chain: Berachain, contract addresses if fixed). See README for Envio workflow.
  3. Build and run/deploy the indexer; query indexed data per Envio docs.
For full schema, handlers, and deploy steps, fetch the raw README.