{"id":22886614,"url":"https://github.com/zenodeapp/cosmos-supply-endpoints","last_synced_at":"2025-10-24T07:49:35.155Z","repository":{"id":212173651,"uuid":"730876640","full_name":"zenodeapp/cosmos-supply-endpoints","owner":"zenodeapp","description":"A simple Node.js project that creates endpoints for the circulating supply and the total supply using the Cosmos SDK API. Useful for platforms like CoinMarketCap or CoinGecko.","archived":false,"fork":false,"pushed_at":"2024-02-07T16:08:56.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T23:08:06.978Z","etag":null,"topics":["blockchain","coingecko","coinmarketcap","cosmos","endpoints","minimalism","sdk"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zenodeapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["zenodeapp"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://zenode.app/support"]}},"created_at":"2023-12-12T21:44:33.000Z","updated_at":"2024-02-05T21:20:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"c08999cc-830f-4cf9-b0ff-eff3cc1db021","html_url":"https://github.com/zenodeapp/cosmos-supply-endpoints","commit_stats":null,"previous_names":["zenodeapp/cosmos-supply-endpoints"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenodeapp%2Fcosmos-supply-endpoints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenodeapp%2Fcosmos-supply-endpoints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenodeapp%2Fcosmos-supply-endpoints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenodeapp%2Fcosmos-supply-endpoints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenodeapp","download_url":"https://codeload.github.com/zenodeapp/cosmos-supply-endpoints/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975316,"owners_count":21192209,"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":["blockchain","coingecko","coinmarketcap","cosmos","endpoints","minimalism","sdk"],"created_at":"2024-12-13T20:19:30.692Z","updated_at":"2025-10-24T07:49:30.097Z","avatar_url":"https://github.com/zenodeapp.png","language":"JavaScript","funding_links":["https://github.com/sponsors/zenodeapp","https://zenode.app/support"],"categories":[],"sub_categories":[],"readme":"# Cosmos Supply Endpoints\n\nA simple Node.js project that creates endpoints for the circulating supply and the total supply using the Cosmos SDK API. Useful for platforms like CoinMarketCap or CoinGecko.\n\nThis has been written by ZENODE and is licensed under the MIT-license (see [LICENSE](./LICENSE)).\n\n## Installation (Local)\n1. First create an `.env` file in the root of the repository.\n2. Copy and paste the content of the `.env.example` into the `.env` file.\n3. Change the `API_ENDPOINT` to one that is up-to-date and stable (no trailing slash!).\n4. Change the `COIN_DENOM` Make sure to use the correct denominator for `COIN_DENOM`. It is usually the smallest denom.\n5. Change the `COIN_DECIMALS` to make sure your end result gets shown in the right amount of decimals. Defaults to 1, which leaves the API results as is.\n6. Run `npm install`.\n7. Turn on the server by running `npm start`.\n8. Once the server is started, browse to the endpoints `localhost:3000/total-supply` and `localhost:3000/circulating-supply` to see the outcomes.\n\n\u003e [!IMPORTANT]\n\u003e **LOGIC: Total Supply - Community Pool = Circulating Supply.**\n\u003e \n\u003e The logic or API may not match with your chain, so make the necessary changes if the outcome appears to be incorrect or invalid.\n\n\u003c/br\u003e\n\n\u003cp align=\"right\"\u003e— ZEN\u003c/p\u003e\n\u003cp align=\"right\"\u003eCopyright (c) 2023 ZENODE\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenodeapp%2Fcosmos-supply-endpoints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenodeapp%2Fcosmos-supply-endpoints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenodeapp%2Fcosmos-supply-endpoints/lists"}