Skip to content

Reinis-FRP/boba-tvl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boba network TVL calculation script

Installing

Install dependencies by running yarn from the root of the repo.

Running

Provide Ethereum mainnet node RPC as NODE_URL_CHAIN_1 environment variable.

Run the script with node ./index.js by providing following optional arguments:

  • --ccy provides TVL denomination currency, defaults to usd. This should match vs_currency supported by CoinGecko.
  • --from UNIX timestamp for the begining of TWAP calculation range.
  • --to UNIX timestamp for the end of TWAP calculation range.
  • --interval interval in seconds to split TWAP range for charting. This defaults to 1h if range is less than day or 1d for larger ranges.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published