Off chain indexer for the ICON Blockchain serving the stats for the icon-explorer and other related services. Service is broken up into API and worker components that are run as individual docker containers. It depends on data coming in from icon-etl and the databases behind the ICON Tracker with persistence on a postgres database.
Service can be run in the following ways:
Note: This is untested and likely needs some work. Production runs on k8s so this is not a priority at the moment. Should work with a little bit of love on the compose.
docker-compose -f docker-compose.db.yml -f docker-compose.yml up -d
# Or alternatively
make up
Again, untested.
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