{"id":30126490,"url":"https://github.com/iotaledger/iota-supply-service","last_synced_at":"2026-07-03T21:03:06.833Z","repository":{"id":286104197,"uuid":"959777968","full_name":"iotaledger/iota-supply-service","owner":"iotaledger","description":"A lightweight REST service that exposes the circulating and total supply of IOTA tokens.","archived":false,"fork":false,"pushed_at":"2025-04-04T14:35:17.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-10T16:51:39.073Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iotaledger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2025-04-03T10:39:47.000Z","updated_at":"2025-04-04T12:53:02.000Z","dependencies_parsed_at":"2025-04-04T11:43:37.825Z","dependency_job_id":null,"html_url":"https://github.com/iotaledger/iota-supply-service","commit_stats":null,"previous_names":["iotaledger/iota-supply-service"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/iotaledger/iota-supply-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fiota-supply-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fiota-supply-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fiota-supply-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fiota-supply-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iotaledger","download_url":"https://codeload.github.com/iotaledger/iota-supply-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iotaledger%2Fiota-supply-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29743033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-08-10T16:50:27.789Z","updated_at":"2026-02-23T12:42:12.978Z","avatar_url":"https://github.com/iotaledger.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IOTA Supply REST API\n\nA lightweight REST service that exposes the circulating and total supply of IOTA tokens.\nBy default, the server listens on port `4000`.\n\n**Available Endpoints:**\n\n`GET /supply/circulating`\nReturns the current circulating supply of IOTA tokens.\n\n`GET /supply/total`\nReturns the total supply of IOTA tokens.\n\n# Development\n\n## Docker Setup\n\n### 1. Build the Docker Image\nTo build the Docker image (forcing a fresh build without using cached layers), run:\n```sh\ndocker compose build --no-cache\n```\n\n### 2. Run the Docker Container\nTo start the container in detached mode, run:\n```sh\ndocker compose up -d\n```\n\n### 3. Stop the Docker Container\nTo stop the running container and remove the associated resources, use:\n```sh\ndocker compose down\n```\n\n---\n\n### Environment Configuration\n\nThe application uses a pre-existing `.env` file for configuration. You can modify it if needed.\n\n#### Configuration\n- **`LOG_LEVEL`**: Logging level (e.g., `INFO`, `DEBUG`).\n- **`REST_API_SOCKET_ADDRESS`**: Address where the REST API will listen (e.g., `0.0.0.0:4000`).\n\n### Notes\n- Any changes to the `.env` file will take effect the next time the container is built or restarted.\n\n### Run the application\n\n```sh\n$ cargo run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiotaledger%2Fiota-supply-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiotaledger%2Fiota-supply-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiotaledger%2Fiota-supply-service/lists"}