https://github.com/error1100/ergodex-stats
https://github.com/error1100/ergodex-stats
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/error1100/ergodex-stats
- Owner: error1100
- Created: 2022-01-22T11:49:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-02T16:30:57.000Z (about 3 years ago)
- Last Synced: 2023-08-04T17:44:51.819Z (over 2 years ago)
- Language: Python
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ergo - ErgoDex Stats - Statistics specific to the ErgoDex (Spectrum Finance) platform. [`JS`?] *(Community)* (🔍 Explorers & Dashboards <a id="explorers--dashboards"></a> / 📈 Dashboards & Network Stats <a id="dashboards--network-stats"></a>)
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