CKB Pulse

全部经验 · Developer tooling · 从这里开始 · 术语表

Derive devnet Spore and system script cell deps from a fresh OffCKB export实践再次出现

再次出现 · 核对结果:部分正确 · 核对于 2026-11-19

Do not hardcode devnet code hashes and cell dep out points (secp256k1, Spore, cluster) in an example: they come from the local OffCKB devnet and can drift when OffCKB's bundled scripts change. Export them with `offckb system-scripts --network devnet --export-style ccc` before start, fail if a needed script lacks codeHash, hashType or a cellDep outPoint, and build both the CCC client config and the Spore SDK lumos config from that one file.

为什么重要: Hardcoded devnet out points and code hashes go stale when the OffCKB devnet changes, so the CCC client and the Spore SDK end up pointing at wrong or missing cell deps and transactions fail.

同一提交中改动了测试

它与修复在一起,我们没有运行它。

概念
Cell deps and script lookup, Testing and devnet
证据
再次出现: 在两个或以上项目中出现
首次出现
2026-09-29
最近改动
2026-09-29
最近核对
2026-11-19
对照提交的核对结果
部分正确:核心属实,但有一部分表述松散或范围过宽

来源(2)

更多关于Developer tooling

查看此主题的全部 35 条

你维护这条经验的来源项目吗?请确认或纠正

引用这条经验
LusoCryptoLabs, "Derive devnet Spore and system script cell deps from a fresh OffCKB export", CKB lessons, https://pulse.lusocryptolabs.com/learned/tooling/derive-devnet-spore-and-system-script-cell-deps-from-a-fresh, CC BY 4.0, last changed 2026-09-29.

取自公开提交,并对照每条经验的来源提交和项目当前代码做了核对。使用前请先读来源。 文本采用 CC BY 4.0:请署名 LusoCryptoLabs, CKB lessons,并附上经验的链接。 想修改或撤下某条经验?请提交 issue。