Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 498 Bytes

README.adoc

File metadata and controls

24 lines (16 loc) · 498 Bytes

saddle-pool-stats

Usage

cp .env-dev .env

Ask for a team member for missing fields in your .env. You will need to create a new API key on Fleek and use the values for FLEEK_KEY_ID and FLEEK_KEY.

Once you fill in the variables:

pipenv install
pipenv run python3 calc_apy_and_volume.py

Delete the pool-stats-dev.json on Fleek as necessary for your development.

Production

This script runs periodically as a Github action.