Skip to content

Includes code to compute pool stats and upload it to the IPFS / Fleek

Notifications You must be signed in to change notification settings

saddle-finance/saddle-pool-stats

Repository files navigation

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.

About

Includes code to compute pool stats and upload it to the IPFS / Fleek

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages