An open API service indexing awesome lists of open source software.

https://github.com/error1100/ergodex-stats


https://github.com/error1100/ergodex-stats

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# ergodex-stats

A set of docker containers that leverages the ErgoDEX backend to scan and dump swap/pool/blockchain statistics into a database.

## Quick Start

If docker and docker-compose v2 are setup then:
`docker compose up -d`

To check if everything is working properly login to the Postgres database:
`psql -U ergodex -h localhost -d ergodex -p 5432`

Default password: `ergodex`

Then fetch the latest global index:
`select max(gindex) from pools;`

## API

API Docs can be found at http://127.0.0.1:8080/redoc