ICON Governance Service

loopchain GitHub Release codecov License

Live API Docs

Off chain indexer for the ICON Blockchain serving the governance context of the icon-explorer. 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 over a Kafka message queue with persistence on a postgres database.

Deployment

Service can be run in the following ways:

  1. Independently from this repo with docker compose:
docker-compose -f docker-compose.db.yml -f docker-compose.yml up -d
# Or alternatively
make up
  1. With the whole stack from the main icon-explorer repo.

Run make help for more options.

Development

For local development, you will want to run the docker-compose.db.yml as you develop. To run the tests,

make test

License

Apache 2.0