Files
nym/explorer-api
Jędrzej Stuczyński 6b3700aefe Feature/expanded events (#1015)
* Expanded emitted events for delegation-related transactions

* Expanded emitted events for gateway-related transactions

* Expanded emitted events for mixnode-related transactions

* Expanded emitted events for settings update transaction

* Expanded emitted events for rewarding-related transactions

* Fixed attribute look up in tests

* Making linter happier

* Reorganised cosmwasm contract-related modules

* Introduced similar event handling to the vesting contract
2022-01-11 16:56:12 +00:00
..
2022-01-11 16:56:12 +00:00
2021-08-04 12:38:35 +01:00
2021-08-04 12:38:35 +01:00
2022-01-11 16:56:12 +00:00
2021-10-19 10:20:00 +01:00

Network Explorer API

An API that provides data for the Network Explorer.

Features:

  • geolocates mixnodes using https://freegeoip.app/
  • calculates how many nodes are in each country
  • proxies mixnode API requests to add HTTPS

Running

Supply the environment variable GEO_IP_SERVICE_API_KEY with a key from https://freegeoip.app/.

Run as a service and reverse proxy with nginx to add https with Lets Encrypt.

TODO / Known Issues

TODO

  • record the number of mixnodes on a given date and write to a file for later retrieval
  • dependency injection
  • tests