Skip to content

Latest commit

 

History

History
102 lines (70 loc) · 4.56 KB

README-ZH.md

File metadata and controls

102 lines (70 loc) · 4.56 KB

candid_dart

Candid Dart

pub,dev pub,dev pub,dev pub,dev MIT

English | 简体中文

提供 candid_dart_corecandid_dartcandid_dart_buildcandid_dart_cli 以处理 Candid,快速生成 Candid 对应的Dart代码。

生成代码包括:

  • IDL
  • Service 以及相关方法
  • Candid 对应的对象以及相关方法

生成的代码依赖于 agent_dart

项目

提供 did2dart 方法处理 Candid 内容,快速生成 Candid 对应的Dart代码。

candid_dart pub,dev (推荐使用)

提供 Dart Build System 构建器和命令行工具以处理 .did 文件,快速生成 .did 文件对应的Dart代码。

提供 Dart Build System 构建器以处理 .did 文件,快速生成 .did 文件对应的Dart代码。

提供命令行工具以处理 .did 文件,快速生成 .did 文件对应的Dart代码。

提供不同平台的应用来快速将Candid转换成dart代码

点击打开网页版本

示例应用

请查看 demo_app 项目

iPhone home iPhone token detail
MacOS home MacOS token detail

License

MIT License

Copyright (c) 2022 AstroxNetwork

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.