Off chain indexer for the ICON Blockchain serving metrics for the icon-explorer. Service is broken up into API and worker components that are run as individual docker containers. Events are derived from various bespoke JSON RPC / REST calls against the nodes across the ecosystem and a prometheus DB and persisted in a postgres database.
TODO: Links and table
Service can be run in the following ways:
- Independently from this repo with docker compose:
docker-compose -f docker-compose.db.yml -f docker-compose.yml up -d
# Or alternatively
make up
- With the whole stack from the main icon-explorer repo.
Run make help
for more options.
For local development, you will want to run the docker-compose.db.yml
as you develop. To run the tests,
make test
Apache 2.0