{"id":22409123,"url":"https://github.com/astroxnetwork/candid_dart","last_synced_at":"2025-07-31T20:31:09.279Z","repository":{"id":88124984,"uuid":"485694246","full_name":"AstroxNetwork/candid_dart","owner":"AstroxNetwork","description":"Provide a set of tools to convert `Candid` files into Dart code.","archived":false,"fork":false,"pushed_at":"2024-10-12T04:37:50.000Z","size":4923,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-02T07:01:51.328Z","etag":null,"topics":["candid","candid-dart","dart","dfinity","ic"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/AstroxNetwork.png","metadata":{"files":{"readme":"README-ZH.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}},"created_at":"2022-04-26T08:15:36.000Z","updated_at":"2024-10-12T04:37:53.000Z","dependencies_parsed_at":"2024-01-13T22:47:01.375Z","dependency_job_id":"0c45cb05-bbe7-4d1e-a8aa-0632539c6624","html_url":"https://github.com/AstroxNetwork/candid_dart","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":0.1470588235294118,"last_synced_commit":"87f6d951ec937e4d11be056c63dc1aa5256678ba"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroxNetwork%2Fcandid_dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroxNetwork%2Fcandid_dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroxNetwork%2Fcandid_dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroxNetwork%2Fcandid_dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AstroxNetwork","download_url":"https://codeload.github.com/AstroxNetwork/candid_dart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228295616,"owners_count":17897596,"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":["candid","candid-dart","dart","dfinity","ic"],"created_at":"2024-12-05T12:06:38.322Z","updated_at":"2024-12-05T12:06:38.896Z","avatar_url":"https://github.com/AstroxNetwork.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"![candid_dart](https://socialify.git.ci/AstroxNetwork/candid_dart/image?description=1\u0026font=Source%20Code%20Pro\u0026forks=1\u0026issues=1\u0026logo=https%3A%2F%2Fraw.githubusercontent.com%2FAstroxNetwork%2Fcandid_dart%2Fmain%2Fdocs%2Fassets%2Fic.svg\u0026name=1\u0026pattern=Circuit%20Board\u0026pulls=1\u0026stargazers=1\u0026theme=Auto)\n\n# Candid Dart\n\n[![pub,dev](https://img.shields.io/pub/v/candid_dart?color=%230175C2\u0026label=candid_dart\u0026logo=dart)](https://pub.dev/packages/candid_dart)\n[![pub,dev](https://img.shields.io/pub/v/candid_dart_core?color=%230175C2\u0026label=candid_dart_core\u0026logo=dart)](https://pub.dev/packages/candid_dart_core)\n[![pub,dev](https://img.shields.io/pub/v/candid_dart_build?color=%230175C2\u0026label=candid_dart_build\u0026logo=dart)](https://pub.dev/packages/candid_dart_build)\n[![pub,dev](https://img.shields.io/pub/v/candid_dart_cli?color=%230175C2\u0026label=candid_dart_cli\u0026logo=dart)](https://pub.dev/packages/candid_dart_cli)\n![MIT](https://img.shields.io/github/license/AstroxNetwork/candid_dart)\n\n[English](README.md) | 简体中文\n\n提供 [candid_dart_core](packages/core)、[candid_dart](packages/candid)、[candid_dart_build](packages/build)、[candid_dart_cli](packages/cli)\n以处理 `Candid`，快速生成 `Candid` 对应的Dart代码。\n\n生成代码包括：\n\n- `IDL`\n- `Service` 以及相关方法\n- `Candid` 对应的对象以及相关方法\n\n\u003e 生成的代码依赖于 [agent_dart](https://github.com/AstroxNetwork/agent_dart)\n\n\u003c!-- toc --\u003e\n\n- [项目](#%E9%A1%B9%E7%9B%AE)\n  * [candid_dart_core](#candid_dart_core)\n  * [candid_dart](#candid_dart)\n  * [candid_dart_build](#candid_dart_build)\n  * [candid_dart_cli](#candid_dart_cli)\n  * [did2dart](#did2dart)\n- [示例应用](#%E7%A4%BA%E4%BE%8B%E5%BA%94%E7%94%A8)\n- [License](#license)\n\n\u003c!-- tocstop --\u003e\n\n## 项目\n\n### [candid_dart_core](packages/core) [![pub,dev](https://img.shields.io/pub/v/candid_dart_core?color=%230175C2\u0026label=candid_dart_core\u0026logo=dart)](https://pub.dev/packages/candid_dart_core)\n\n提供 `did2dart` 方法处理 `Candid` 内容，快速生成 `Candid` 对应的Dart代码。\n\n### [candid_dart](packages/candid) [![pub,dev](https://img.shields.io/pub/v/candid_dart?color=%230175C2\u0026label=candid_dart\u0026logo=dart)](https://pub.dev/packages/candid_dart) (推荐使用)\n\n提供 [Dart Build System](https://github.com/dart-lang/build) 构建器和命令行工具以处理 `.did` 文件，快速生成 `.did`\n文件对应的Dart代码。\n\n### [candid_dart_build](packages/build) [![pub,dev](https://img.shields.io/pub/v/candid_dart_build?color=%230175C2\u0026label=candid_dart_build\u0026logo=dart)](https://pub.dev/packages/candid_dart_build)\n\n提供 [Dart Build System](https://github.com/dart-lang/build) 构建器以处理 `.did` 文件，快速生成 `.did` 文件对应的Dart代码。\n\n### [candid_dart_cli](packages/cli) [![pub,dev](https://img.shields.io/pub/v/candid_dart_cli?color=%230175C2\u0026label=candid_dart_cli\u0026logo=dart)](https://pub.dev/packages/candid_dart_cli)\n\n提供命令行工具以处理 `.did` 文件，快速生成 `.did` 文件对应的Dart代码。\n\n### [did2dart](https://github.com/iota9star/did2dart)\n\n提供不同平台的应用来快速将Candid转换成dart代码\n\n[点击打开网页版本](https://did2dart.astrox.app/#/)\n\n## 示例应用\n\n请查看 [demo_app](apps/demo_app) 项目\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"docs/assets/iphone1.PNG\" alt=\"iPhone home\"\u003e\u003c/td\u003e\n\u003ctd\u003e\u003cimg src=\"docs/assets/iphone2.PNG\" alt=\"iPhone token detail\"\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"docs/assets/mac1.png\" alt=\"MacOS home\"\u003e\u003c/td\u003e\n\u003ctd\u003e\u003cimg src=\"docs/assets/mac2.png\" alt=\"MacOS token detail\"\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e \n\n## License\n\n```text\nMIT License\n\nCopyright (c) 2022 AstroxNetwork\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastroxnetwork%2Fcandid_dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastroxnetwork%2Fcandid_dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastroxnetwork%2Fcandid_dart/lists"}