{"id":16559410,"url":"https://github.com/anders94/usdc-cool-js","last_synced_at":"2026-04-19T02:33:15.791Z","repository":{"id":149692897,"uuid":"452112601","full_name":"anders94/usdc-cool-js","owner":"anders94","description":"The USDC stablecoin supply scanner","archived":false,"fork":false,"pushed_at":"2022-01-26T03:38:00.000Z","size":193,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-07T09:51:37.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://usdc.cool","language":"TypeScript","has_issues":false,"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/anders94.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-01-26T02:19:54.000Z","updated_at":"2025-11-04T18:08:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"dee8385f-e707-49d8-99d0-6730de0f9eb1","html_url":"https://github.com/anders94/usdc-cool-js","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/anders94/usdc-cool-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Fusdc-cool-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Fusdc-cool-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Fusdc-cool-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Fusdc-cool-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anders94","download_url":"https://codeload.github.com/anders94/usdc-cool-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Fusdc-cool-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31991999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-11T20:25:53.933Z","updated_at":"2026-04-19T02:33:15.765Z","avatar_url":"https://github.com/anders94.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"./usdc-dealwithit.png\" align=\"right\" /\u003e\n\n# usdc.cool\n\n\u003e Get the latest USDC supply across all chains.\n\n## Installation\n\n```sh\nnpm i usdc.cool\n```\n\n## Usage\n\n### Typescript\n\nAll API methods are async and return a [Big](https://mikemcl.github.io/big.js/) number, capable of arbitrary-precision arithmetic.\n\nType definitions are provided as well.\n\n#### Fetch total supply across all chains\n\n```typescript\n// This code is extracted from the usdc.cool CLI\nimport { fetchTotalSupply } from \"usdc.cool\"\n\nconst {\n  algorandSupply,\n  avalancheSupply,\n  ethereumSupply,\n  hederaSupply,\n  solanaSupply,\n  stellarSupply,\n  tronSupply,\n  totalSupply\n} = await fetchTotalSupply()\n\nconsole.log(`Algorand: $${algorandSupply.toString()}`)\nconsole.log(`Avalanche: $${avalancheSupply.toString()}`)\nconsole.log(`Ethereum: $${ethereumSupply.toString()}`)\nconsole.log(`Hedera: $${hederaSupply.toString()}`)\nconsole.log(`Solana: $${solanaSupply.toString()}`)\nconsole.log(`Stellar: $${stellarSupply.toString()}`)\nconsole.log(`Tron: $${tronSupply.toString()}`)\nconsole.log(\"----------\")\nconsole.log(`Total: $${totalSupply.toString()}`)\n```\n\n#### Fetch individual chain supply\n\n```typescript\n// Algorand\nimport { fetchAlgorandSupply } from \"usdc.cool\"\nconst supply = await fetchAlgorandSupply()\n```\n\n```typescript\n// Avalanche\nimport { fetchAvalancheSupply } from \"usdc.cool\"\nconst supply = await fetchAvalancheSupply()\n```\n\n```typescript\n// Ethereum\nimport { fetchEthereumSupply } from \"usdc.cool\"\nconst supply = await fetchEthereumSupply()\n```\n\n```typescript\n// Hedera\nimport { fetchHederaSupply } from \"usdc.cool\"\nconst supply = await fetchHederaSupply()\n```\n\n```typescript\n// Solana\nimport { fetchSolanaSupply } from \"usdc.cool\"\nconst supply = await fetchSolanaSupply()\n```\n\n```typescript\n// Stellar\nimport { fetchStellarSupply } from \"usdc.cool\"\nconst supply = await fetchStellarSupply()\n```\n\n```typescript\n// Tron\nimport { fetchTronSupply } from \"usdc.cool\"\nconst supply = await fetchTronSupply()\n```\n\n### CLI\n\nThis package comes with a CLI interface to get the latest USDC supply\n\n```sh\nnpx usdc.cool\n```\n\n```text\nAlgorand: $367204848.210376\nAvalanche: $57601840.18\nEthereum: $43292534566.73594\nHedera: $7730280.27\nSolana: $4042508613.944785\nStellar: $140155434.6371344\nTron: $517042294.73\n----------\nTotal: $48424777878.7082354\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanders94%2Fusdc-cool-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanders94%2Fusdc-cool-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanders94%2Fusdc-cool-js/lists"}