Mycelium

System architecture系统架构

A quick tour by David (CTO) — what the modules are, how they fit, and why it's built this way. David(CTO)带你快速过一遍 —— 有哪些模块、怎么咬合、为什么这么设计。

1 Hi, I'm David — your CTO guide

Hi, I'm David — your CTO guide你好,我是 David —— 你的 CTO 向导

Let me walk you through how Cos72 is built: the modules, how they fit together, and the ideas behind them.我带你看看 Cos72 是怎么搭起来的:有哪些模块、它们怎么咬合、背后是什么思路。

⚙️ How it works: ⚙️ 技术原理:Everything is open-source and provider-portable; nothing locks you to one cloud.全部开源、provider 可替换;不把你锁死在某一朵云上。

💡 Why it matters: 💡 业务价值:Four panels and you'll get the whole system.四格漫画,带你看懂整个系统。

2 One stack, three layers

One stack, three layers一个栈,三层

Bottom — AAStar Infra: AirAccount (your account & keys), SuperPaymaster (gas sponsorship), CometENS (free naming). Middle — Apps: Cos72 (community OS) and Sin90 (personal OS). Top — Mycelium Protocol: Park (digital public goods) and Spores (sustainable collaboration).底层 —— AAStar 基础设施:AirAccount(账户与密钥)、SuperPaymaster(gas 代付)、CometENS(免费命名)。中层 —— 应用:Cos72(社区 OS)、Sin90(个人 OS)。顶层 —— Mycelium 协议:Park(数字公共物品)、Spores(可持续协作)。

⚙️ How it works: ⚙️ 技术原理:Each layer depends only on the one below through stable contracts, so any piece can be swapped.每层只通过稳定契约依赖下一层,任何一块都能替换。

💡 Why it matters: 💡 业务价值:Clear separation of concerns — easy to reason about, easy to extend.关注点清晰分离 —— 好理解、好扩展。

3 How a request flows

How a request flows一个请求怎么流转

A user signs in with AirAccount (passkey, no ETH). When they act, SuperPaymaster sponsors the gas, and the transaction lands in the Cos72 app — no seed phrase, no gas top-up.用户用 AirAccount 登录(passkey、无需 ETH)。操作时,SuperPaymaster 代付 gas,交易落到 Cos72 应用 —— 没有助记词、不用先充 gas。

⚙️ How it works: ⚙️ 技术原理:WebAuthn/P-256 signing → ERC-4337 UserOp → Paymaster sponsorship → on-chain.WebAuthn/P-256 签名 → ERC-4337 UserOp → Paymaster 代付 → 上链。

💡 Why it matters: 💡 业务价值:The chain disappears — it feels like a normal app.链被隐藏起来 —— 用起来就像普通 App。

4 Modules work together

Modules work together模块协同工作

For a single gasless action, three infra modules cooperate: AirAccount says who you are, CometENS gives you a human name, and SuperPaymaster pays the gas — woven into one transaction.完成一次零 gas 操作,三个基础设施模块协同:AirAccount 证明你是谁,CometENS 给你一个人类可读的名字,SuperPaymaster 付 gas —— 编织进同一笔交易。

⚙️ How it works: ⚙️ 技术原理:Composable primitives, not a monolith; each is independently useful and independently swappable.可组合的原语,而非铁板一块;每个都能单独使用、单独替换。

💡 Why it matters: 💡 业务价值:Build new apps by composing the same pieces.用同一批积木,组合出新的应用。

Module reference模块速查

AirAccount

Passkey/biometric account; KMS/TEE keys; no ETH needed; social recovery.Passkey/生物识别账户;KMS/TEE 密钥;无需 ETH;社交恢复。

SuperPaymaster

Gasless transactions; sponsor gas with community points.Gasless 交易;用社区积分代付 gas。

CometENS

Free ENS subdomains — human-readable names/identity.免费 ENS 子域名 —— 人类可读的名字/身份。

Cos72

Community OS — tasks, points/shop, governance.社区 OS —— 任务、积分/商店、治理。

Sin90

Personal OS — AI agents + digital sovereignty.个人 OS —— AI 代理 + 数字主权。

Mycelium Protocol

Park (public goods) · Spores (sustainable collaboration).Park(公共物品)· Spores(可持续协作)。