A scalable SQL indexer for EVM compatible blockchains
The indexer is ready and used in production. If you want to use it or contribute and need help you can send me a DM on my personal twitter.
If you want to see it in action, we have a small API to showcase at https://indexer.kindynos.mx
- Rust
- CockroachDB (or any other PostgreSQL db)
- Redis (used to store the indexed blocks state)
This indexer is chain agnositc. It should work with any chain that follows the ETH RPC API. But some chains have some minor modifications that could result in 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.
You can try the indexer locally or through Docker.
- Clone the repository
git clone https://github.com/llamafolio/evm-indexer && cd evm-indexer
- Build the program
cargo build --release
-
Copy the
.env.example
file to.env
and add your environment variables. -
Run the program
TODO: programs and flags.
- Clone the repository
git clone https://github.com/llamafolio/evm-indexer && cd evm-indexer
- Build the image and tag it as
indexer
docker build . -t indexer
-
Copy the
.env.example
file to.env
and add your environment variables. -
Run the image
TODO: programs and flags.