Edit config.yaml
to set rpc and grpc node endpoints, the default values are for mainnet.
Build the docker image:
docker build -t 'cudos-stats-v2-service' .
Run the docker image:
docker run -d --name cudos-stats-v2-service -p 3001:3000 cudos-stats-v2-service
http://127.0.0.1:3001/cosmos/mint/v1beta1/params
http://127.0.0.1:3001/cosmos/mint/v1beta1/annual_provisions
http://127.0.0.1:3001/cosmos/mint/v1beta1/inflation
http://127.0.0.1:3001/cosmos/bank/v1beta1/supply
http://127.0.0.1:3001/circulating-supply - coinmarketcap endpoint that is returning current circulating supply as decimal.
http://127.0.0.1:3001/json/circulating-supply - endpoint that is returning current circulating supply as json.
http://127.0.0.1:3001/stats - Inflation, APR, Supply