{"id":24572734,"url":"https://github.com/masdxi/cdrs-billing","last_synced_at":"2026-02-26T01:42:30.590Z","repository":{"id":271863752,"uuid":"866033877","full_name":"MASDXI/cdrs-billing","owner":"MASDXI","description":"This repository provides Call Detail Records (CDRs) billing using smart contracts written in Solidity.","archived":false,"fork":false,"pushed_at":"2025-11-12T14:31:01.000Z","size":246,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T16:19:54.484Z","etag":null,"topics":["billing","cdr","smart-contracts","telecom"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MASDXI.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,"zenodo":null}},"created_at":"2024-10-01T14:33:36.000Z","updated_at":"2025-11-12T14:31:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"92c39c0b-b1a9-48eb-8ca1-52e41c06a7b6","html_url":"https://github.com/MASDXI/cdrs-billing","commit_stats":null,"previous_names":["masdxi/cdrs-billing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MASDXI/cdrs-billing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MASDXI%2Fcdrs-billing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MASDXI%2Fcdrs-billing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MASDXI%2Fcdrs-billing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MASDXI%2Fcdrs-billing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MASDXI","download_url":"https://codeload.github.com/MASDXI/cdrs-billing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MASDXI%2Fcdrs-billing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29847896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"ssl_error","status_checked_at":"2026-02-25T22:37:25.960Z","response_time":61,"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":["billing","cdr","smart-contracts","telecom"],"created_at":"2025-01-23T19:44:20.442Z","updated_at":"2026-02-26T01:42:30.579Z","avatar_url":"https://github.com/MASDXI.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cdr-billing-smart-contracts\n\nThis repository provides Call Detail Records (CDRs) billing using smart contracts written in Solidity. It enables telecom operators and service providers to manage billing processes transparently and efficiently on a blockchain network, ensuring accurate, immutable, and automated.\n\n## Prerequisite\n\n- node [Download](https://nodejs.org/en/)\n- nvm [Download](https://github.com/nvm-sh/nvm#installing-and-updating)\n- git [Download](https://git-scm.com/)\n\n```shell\ngit clone https://github.com/MASDXI/cdr-billing-smart-contracts.git\ncd cdr-billing-smart-contracts\n```\n\n## Installing\n\nTo install all necessary packages and dependencies in the project, run command.\n\n```\nyarn install\n```\n\n## Compile the code\n\nTo compile the smart contracts, run command.\n\n```\nyarn compile\n```\n\n## Testing\n\nTo run the tests and ensure that the contracts behave as expected, run command.\n\n```\nyarn test\n```\n\n## Rationale\n\n- The design approach not tied exclusively to `solidity` or `evm-based` but can be applied across various Distributed Ledger Technologies (DLTs) or blockchain frameworks that support turing-complete smart contracts.\n- Avoid `WRITE` or `UPDATE` operation with sliding window algorithm for billing efficiently over a specified time period. This method helps in maintaining a consistent billing cycle by leveraging a sliding window mechanism that automatically accounts for time-based without needing constant manual updates.\n\n## Security Considerations\n\n- AS-IS, when change the network `blocktime` total billing cycle will be recalculated.\n\n---\n\n## License\n\nCopyright (C) Sirawit Techavanitch. You are free to use, modify, and distribute the code under the terms of the [GPL v3.0](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasdxi%2Fcdrs-billing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasdxi%2Fcdrs-billing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasdxi%2Fcdrs-billing/lists"}