An example with a github action and a simple node.js script to calculate circulating supply, market cap, etc. It creates a json file for services like coingecko
or coinmarketcap
.
The Ref.finance feed is used as the price source
Example output: https://raw.githubusercontent.com/NearDeFi/brrr-marketcap/main/brrr-stats.json