Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DApp 开发好了,如何提交给星云参加 “激励计划”? #13

Open
cssmagic opened this issue Jun 16, 2018 · 0 comments
Open
Labels

Comments

@cssmagic
Copy link
Member

  1. 在星云官网 注册星云开发者账号 (这是我的邀请链接,通过此链接注册,可获额外 10 NAS 奖金)

  2. 进入 这个页面 填写提交表单。

在这个表单里,大部分内容都比较好填,可能只有下面这两项会挡你一下:

  • “合约哈希”:不知道填什么,请参考这里

  • “合约使用说明”:建议填写合约的主要接口和对应的功能。比如我的 DApp “我是预言帝” 在提交时是这样填的,仅供参考:

主要接口及其功能:
* create(author_name, content) - 创建一条新消息
* like(id) - 对某条消息点赞
* getMessageById(id) - 查询指定消息的详情
* getAllMessages(limit = 10, offset = 0) - 查询所有消息(默认每页 10 条,可翻页)
* getHotMessages(limit = 10, offset = 0) - 获取点赞排行榜(默认每次取 10 条,可翻页)
* getMessagesByAuthorAddr(addr, limit = 10, offset = 0) - 查询指定用户创建的所有消息(默认每页 10 条,可翻页)

祝你好运!

@cssmagic cssmagic added the FAQ label Jun 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant