Envio docs llms.txt — agent-facing documentation index
Skip to main content
You're viewing v3 documentation

This is the v3 HyperIndex documentation. Still on an older version? Open the v2 documentation and consider migrating to v3.

Local network - Hardhat


A local network can be used as a data source for your indexer. You simply need to specify the local network.

Defining Network Configurations

name: IndexerName # Specify indexer name
description: Indexer Description # Include indexer description
chains:
- id: 31337 # Local Hardhat network default chainId
rpc: http://localhost:8545 # RPC URL for your local Hardhat network
start_block: START_BLOCK_NUMBER # Specify the starting block
contracts:
- name: ContractName
address:
- "0xYourContractAddress1"
- "0xYourContractAddress2"
events:
- event: Event # Specify event
- event: Event

--