Skip to content

Commit 6897ecc

Browse files
docs(chains+plugin,v1.4.7): P2-DESIGN + Wave1/2 method-level deep research (6 chains)
P2-DESIGN (Phase 2.0): - docs/{zh,en}/plugin/00-design.md (21K each) — chain-as-plugin 框架设计稿 * 现状分析(8 链 + create_adapter 5 分支硬编码 + cursor 逻辑) * Plugin 框架设计(JSON config + Python adapter + importlib 动态加载) * 5 风险 + 5 决策门 D1-D5 + Phase 2.1 验收清单 Wave 1 (utxo-btc / movevm / cosmos-abci family): - 03-bitcoin: 565 lines × 2, 11 method curl 实证, dual-stack Core RPC + Esplora REST - 04-aptos: 496 lines × 2, movevm family 决策 = SPLIT (Sui/Aptos 2/10 同 < 70% 阈值) - 05-cosmos-hub: 692 lines × 2, 三套 API 决策 = REST/LCD (DSL 复杂度最低) Wave 2 (utxo-eutxo / substrate / near-rpc family): - 06-cardano: 491 lines × 2, middleware 决策 = Koios (免费 + REST 复用 Cosmos infra) - 07-polkadot: 403 lines × 2, storage_key 决策 = sidecar REST (Method A SCALE 破 0 Python 波及 Substrate 全族) - 08-near: 462 lines × 2, query dispatcher 决策 = logical_method 分离 (方案 B 最小完备) DSL 关键 ASK 收敛 (给 P2-DESIGN-v2): 1. protocol_kind: jsonrpc|rest|grpc|hybrid 顶层字段 2. (verb, path, body_template) 三元组 — REST 链必需 3. logical_method 可选字段 — NEAR query dispatcher 4. response_path JSONPath-lite — 跨 family 通用 5. params_template 位置参数 array — NEAR 6. address_format enum 扩 near_account_id / bech32 / ss58 7. 双协议 per-method — Polkadot sidecar REST + JSON-RPC 混用 8. expected_error_codes 白名单 — Bitcoin genesis-coinbase -5 永久 quirk 9. monitor_headers — Aptos x-aptos-* 免费 sync 信号 10. method chaining — Bitcoin getblockhash → getblock H8 实证 / E1-E5 标记 / honest-self-check / decision-with-tradeoffs 全程遵守。 所有未 100% 实证字段标 ⚠️
1 parent 8402291 commit 6897ecc

14 files changed

Lines changed: 7133 additions & 0 deletions

docs/en/chains/03-bitcoin.md

Lines changed: 565 additions & 0 deletions
Large diffs are not rendered by default.

docs/en/chains/04-aptos.md

Lines changed: 496 additions & 0 deletions
Large diffs are not rendered by default.

docs/en/chains/05-cosmos-hub.md

Lines changed: 692 additions & 0 deletions
Large diffs are not rendered by default.

docs/en/chains/06-cardano.md

Lines changed: 496 additions & 0 deletions
Large diffs are not rendered by default.

docs/en/chains/07-polkadot.md

Lines changed: 403 additions & 0 deletions
Large diffs are not rendered by default.

docs/en/chains/08-near.md

Lines changed: 462 additions & 0 deletions
Large diffs are not rendered by default.

docs/en/plugin/00-design.md

Lines changed: 453 additions & 0 deletions
Large diffs are not rendered by default.

docs/zh/chains/03-bitcoin.md

Lines changed: 565 additions & 0 deletions
Large diffs are not rendered by default.

docs/zh/chains/04-aptos.md

Lines changed: 496 additions & 0 deletions
Large diffs are not rendered by default.

docs/zh/chains/05-cosmos-hub.md

Lines changed: 692 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)