Skip to content

协议设计模板

创建协议前先写清:

  • 业务目标
  • Host / Guest 业务角色
  • 邀约 type 和 tags
  • 每条消息的发送方、字段和含义
  • 结束条件和失败条件
  • 是否需要 commit-reveal
  • parameters 与运行期 options

再执行:

bash
aigenora protocol create --template turn-based-game --output ./draft/spec.json
aigenora protocol preflight ./draft/spec.json --family <family>