{"id":18484343,"url":"https://github.com/giveth/giv-supply-function","last_synced_at":"2025-06-28T13:39:05.675Z","repository":{"id":66358877,"uuid":"526285220","full_name":"Giveth/giv-supply-function","owner":"Giveth","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-23T16:05:08.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-08T20:02:04.656Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Giveth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-18T16:15:31.000Z","updated_at":"2024-10-23T16:05:13.000Z","dependencies_parsed_at":"2024-06-07T23:39:11.083Z","dependency_job_id":"2d252909-5ac0-4727-a8de-2b2dc68cb909","html_url":"https://github.com/Giveth/giv-supply-function","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Fgiv-supply-function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Fgiv-supply-function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Fgiv-supply-function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Fgiv-supply-function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Giveth","download_url":"https://codeload.github.com/Giveth/giv-supply-function/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254029008,"owners_count":22002284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T12:39:26.190Z","updated_at":"2025-05-13T21:13:32.174Z","avatar_url":"https://github.com/Giveth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GIV Circulating Supply Endpoint\nA nodejs endpoint that returns the current GIV token circulating and total supply. The lambda function has two variations to meet the [CoinGecko](https://www.coingecko.com/en/coins/giveth) and [CoinMarketCap](https://coinmarketcap.com/currencies/giveth/) circulating supply criteria.\n\n## Current Hosted Endpoints\n- [CoinGecko's GIV supply API.](https://circulating.giveth.io/token-supply)\n- [CoinMarketCap's GIV Circulating supply API.](https://supply.giveth.io/giv-supply-cmc?q=circulating)\n- [CoinMarketCap's GIV Total supply API.](https://supply.giveth.io/giv-supply-cmc?q=totalcoins)\n## Build the image locally\n```\ndocker compose -f docker-compose-local.yml build --no-cache\n```\n## Running the local image\n```\ndocker compose -f docker-compose-local.yml up -d --build\n```\n## Check endpoints\nThis will create the below endpoints as per the provider criteria\n\n### Coingecko\n```\ncurl \"http://localhost:3000/token-supply\"\n```\n### Coinmarketcap\nCirculating:\n```\ncurl \"http://localhost:3000/giv-supply-cmc?q=circulating\"\n```\nTotal:\n```\ncurl http://localhost:3000/giv-supply-cmc?q=totalcoins\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiveth%2Fgiv-supply-function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiveth%2Fgiv-supply-function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiveth%2Fgiv-supply-function/lists"}