Crawls data from the ethereum blockchain to the PostgreSQL database.
You need Rust + Cargo installed.
- Clone source files
$ git clone https://github.com/asadkovich/ethereum-indexer- Build and install binary
$ cargo install --path .Start indexer with fetching the entire data history and subscribing to new blocks:
$ ethereum-indexer --migrate --dsn <POSTGRES_CONN_STRING> --rpc-url <ETHEREUM_WS_ENDPOINT>See help for more:
$ ethereum-indexer --help$ RPC_URL=<ETHEREUM_WS_ENDPOINT> docker-compose -f ./deployments/docker-compose.yaml up --buildOpen http://localhost:3000 to see grafana dashboards
