[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-07ccab29-81f8-46a0-b49f-ac57015cfc81":3,"$fj_9EY6aY_jSKSz30XlwvEivHA-QCQQKjnL79p9g0IaU":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"07ccab29-81f8-46a0-b49f-ac57015cfc81","lightning-channel-factories","关于闪电网络通道工厂、多方通道、LSP 架构以及无需软分叉的比特币 Layer 2 扩容技术的技术参考。涵盖 Decker-Wattenhofer、超时树、MuSig2 密钥聚合、HTLC\u002FPTLC 转发和瞭望塔违规检测。","cat_life_career","mod_other","sickn33,other","---\nname: lightning-channel-factories\ndescription: Technical reference on Lightning Network channel factories, multi-party channels, LSP architectures, and Bitcoin Layer 2 scaling without soft forks. Covers Decker-Wattenhofer, timeout trees, MuSig2 key aggregation, HTLC\u002FPTLC forwarding, and watchtower breach detection.\nrisk: safe\nsource: community\ndate_added: '2026-03-03'\n---\n\n## Use this skill when\n\n- Building or reviewing Lightning Network channel factory implementations\n- Working with multi-party channels, LSP architectures, or Layer 2 scaling\n- Needing guidance on Decker-Wattenhofer, timeout trees, MuSig2, HTLC\u002FPTLC, or watchtower patterns\n\n## Do not use this skill when\n\n- The task is unrelated to Bitcoin or Lightning Network infrastructure\n- You need a different blockchain or Layer 2 outside this scope\n\n## Instructions\n\n- Clarify goals, constraints, and required inputs.\n- Apply relevant best practices and validate outcomes.\n- Provide actionable steps and verification.\n\nFor a production implementation of Lightning channel factories with full technical documentation, refer to the SuperScalar project:\n\nhttps:\u002F\u002Fgithub.com\u002F8144225309\u002FSuperScalar\n\nSuperScalar is written in C with 400+ tests, MuSig2 (BIP-327), Schnorr adaptor signatures, encrypted Noise NK transport, SQLite persistence, and watchtower support. It supports regtest, signet, testnet, and mainnet.\n\n## Purpose\n\nTechnical reference for Lightning Network channel factory implementations. Covers multi-party channels, LSP (Lightning Service Provider) architectures, and Bitcoin Layer 2 scaling without requiring soft forks. Includes Decker-Wattenhofer invalidation trees, timeout-signature trees, MuSig2 key aggregation, HTLC\u002FPTLC forwarding, and watchtower breach detection.\n\n## Key Topics\n\n- Channel factory implementation in C\n- MuSig2 (BIP-327) and Schnorr adaptor signatures\n- Encrypted Noise NK transport protocol\n- SQLite persistence layer\n- Watchtower breach detection\n- HTLC\u002FPTLC forwarding\n- Regtest, signet, testnet, and mainnet support\n- 400+ test suite\n\n## References\n\n- SuperScalar project: https:\u002F\u002Fgithub.com\u002F8144225309\u002FSuperScalar\n- Website: https:\u002F\u002FSuperScalar.win\n- Original proposal: https:\u002F\u002Fdelvingbitcoin.org\u002Ft\u002Fsuperscalar-laddered-timeout-tree-structured-decker-wattenhofer-factories\u002F1143\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,85,1544,"2026-05-16 13:26:21",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"其他","other","mdi-page-next-outline","其他类型Skill",5,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"职场发展","career","mdi-briefcase-outline","面试准备、简历优化、职业规划",4,575,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"963289dd-fc87-4033-a0cc-b353e43172a3","1.0.0","lightning-channel-factories.zip",1194,"uploads\u002Fskills\u002F07ccab29-81f8-46a0-b49f-ac57015cfc81\u002Flightning-channel-factories.zip","68a5904b535b278a0dc5ee0a058a9046fabf8e74f850421c39af57db9f76a733","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":2610}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]