xyo-knowledge

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

XYO Protocol Knowledge

XYO Protocol 知识

This skill covers the XYO Protocol 2.0 — the data model, module system, identity primitives, and conventions for building on XYO. The primary SDK is published as individual
@xyo-network/*
packages on npm.
When you need to look up exact type definitions or API details beyond what this skill covers, install the relevant
@xyo-network/*
package and read the TypeScript declarations at
dist/neutral/index.d.ts
.
This builds on the Development Skill for coding principles and the XY Toolchain Skill for build/lint/test tooling.
本技能涵盖 XYO Protocol 2.0 —— 包括基于 XYO 进行开发的数据模型、模块系统、身份原语和约定。主要 SDK 以独立的
@xyo-network/*
包形式发布在 npm 上。
当你需要查找本技能未涵盖的精确类型定义或 API 细节时,请安装相关的
@xyo-network/*
包,并阅读位于
dist/neutral/index.d.ts
的 TypeScript 声明文件。
本技能基于开发技能的编码原则,以及XY 工具链技能的构建/代码检查/测试工具。

Table of Contents

目录

Protocol Primitives

协议原语

Read when working with XYO data structures — payloads, schemas, bound witnesses, payload builders, or hashing. Covers the core data model and how to construct and validate protocol objects.
在处理 XYO 数据结构(payloads、schemas、bound witnesses、payload builders 或哈希)时阅读。涵盖核心数据模型以及如何构建和验证协议对象。

Module System

模块系统

Read when working with XYO modules — archivists, diviners, witnesses, sentinels, nodes, or bridges. Covers the module abstraction, composition patterns, resolution, and the manifest system.
在处理 XYO 模块(archivists、diviners、witnesses、sentinels、nodes 或 bridges)时阅读。涵盖模块抽象、组合模式、解析以及清单系统。

Identity & Signing

身份与签名

Read when working with accounts, wallets, key management, signing, or HD derivation. Covers Account and Wallet creation, the signing flow, and how identity integrates with bound witnesses.
在处理账户、钱包、密钥管理、签名或 HD 衍生时阅读。涵盖账户和钱包创建、签名流程以及身份如何与 bound witnesses 集成。

Protocol Best Practices

协议最佳实践

Read when making design decisions — schema naming, payload structure, module composition strategy, bound witness discipline, and error handling. Consult this before starting a new XYO-based feature.
在做设计决策时阅读——包括 schema 命名、payload 结构、模块组合策略、bound witness 规范和错误处理。在启动新的基于 XYO 的功能前,请参考本部分内容。