duneanalytics/node-indexer

By duneanalytics

Updated almost 2 years ago
Archived

A program that indexes blockchain data into dune.com by connecting directly to an EVM RPC node

Image
Integration & delivery
Databases & storage
0

1.4K

duneanalytics/node-indexer repository overview

blockchain node indexer

A program that indexes blockchain data into HTTPS://DUNE.COM by connecting directly to an RPC node. The source code lives at: https://github.com/duneanalytics/node-indexer

Limitations

This program works with EVM compatible blockchains, doing direct, EVM-specific JSON-RPC calls to the Node RPC endpoint.

How to use:

There are only 3 required arguments for running the indexer:

  1. DUNE_API_KEY: Your Dune API Key, you can get this at: https://dune.com/settings/api
  2. BLOCKCHAIN_NAME: The name of the blockchain as configured on Dune (for example: "ethereum" blockchain)
  3. RPC_NODE_URL: The URL of the NODE RPC endpoint, for example: https://sepolia.optimism.io/

For more details see the configuration options section

Docker Container

You can run it as such:

docker run -e BLOCKCHAIN_NAME='foo' -e RPC_NODE_URL='http://localhost:8545' -e DUNE_API_KEY='your-key-here' duneanalytics/node-indexer

Configuration Options

You can see all the configuration options by using the --help argument:

docker run duneanalytics/node-indexer ./indexer --help

Tag summary

Content type

Image

Digest

sha256:6417576e8

Size

10.4 MB

Last updated

almost 2 years ago

docker pull duneanalytics/node-indexer:v0.15