Skip to content

Giveth/giv-supply-function

Repository files navigation

GIV Circulating Supply Endpoint

A nodejs endpoint that returns the current GIV token circulating and total supply. The lambda function has two variations to meet the CoinGecko and CoinMarketCap circulating supply criteria.

Current Hosted Endpoints

Build the image locally

docker compose -f docker-compose-local.yml build --no-cache

Running the local image

docker compose -f docker-compose-local.yml up -d --build

Check endpoints

This will create the below endpoints as per the provider criteria

Coingecko

curl "http://localhost:3000/token-supply"

Coinmarketcap

Circulating:

curl "http://localhost:3000/giv-supply-cmc?q=circulating"

Total:

curl http://localhost:3000/giv-supply-cmc?q=totalcoins

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •