shawnharmsen / evm-indexer

EVM-compatible chain indexer.

Home Page:https://dashboard.kindynos.mx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EVM Blockchain Indexer

A scalable SQL indexer for EVM compatible blockchains

Requirements

  • Rust
  • CockroachDB (or any other PostgreSQL compatible DB)
  • Redis (used to store the indexed blocks state)

Available Chains

This indexer is chain agnostic. It should work with any chain that follows the ETH RPC API. But some chains have some minor modifications that could result in them not being able to sync.

The following chains have been tested and indexed successfully:

  • Arbitrum One.
  • Arbitrum Nova.
  • Avalanche.
  • BitTorrent Chain.
  • BNB Chain.
  • Celo.
  • Ethereum.
  • Fantom.
  • Gnosis Chain.
  • Moonbeam.
  • Optimism.
  • Polygon.

Install

You can try the indexer locally or through Docker.

Local

  1. Clone the repository
git clone https://github.com/llamafolio/evm-indexer && cd evm-indexer
  1. Build the program
cargo build --release
  1. Copy the .env.example file to .env and add your environment variables.

  2. Run the program

TODO: programs and flags.

Docker

  1. Clone the repository
git clone https://github.com/llamafolio/evm-indexer && cd evm-indexer
  1. Build the image and tag it as indexer
docker build . -t indexer
  1. Copy the .env.example file to .env and add your environment variables.

  2. Run the image

TODO: programs and flags.

About

EVM-compatible chain indexer.

https://dashboard.kindynos.mx


Languages

Language:Rust 99.4%Language:Dockerfile 0.6%