Chuyển đến nội dung
Skillpedia
Nghiên cứu48k · #5056

lightning-channel-factories

Skill này làm gì

Công cụ này là hướng dẫn kỹ thuật về cách xây dựng và hiểu channel factory trong mạng Lightning. Nó giải thích các khái niệm như kênh nhiều bên và cách mạng Lightning có thể mở rộng mà không cần thay đổi quy tắc cốt lõi của Bitcoin.

Khi nào nên dùng

  • ✓Khi bạn xây dựng hoặc xem xét cách channel factory của mạng Lightning hoạt động.
  • ✓Khi bạn làm việc với kênh nhiều bên hoặc kiến trúc nhà cung cấp dịch vụ.
  • ✓Khi bạn cần trợ giúp về các công nghệ cụ thể như MuSig2 hoặc watchtower.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lightning-channel-factories/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lightning-channel-factories/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm sao để thiết lập một channel factory nhiều người dùng trên mạng Lightning?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ hoạt động như một tài liệu kỹ thuật, cung cấp thông tin chi tiết về các thành phần và giao thức dùng trong channel factory. Bạn có thể tham khảo để hiểu cách các factory này được xây dựng và vận hành.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Use this skill when

  • Building or reviewing Lightning Network channel factory implementations
  • Working with multi-party channels, LSP architectures, or Layer 2 scaling
  • Needing guidance on Decker-Wattenhofer, timeout trees, MuSig2, HTLC/PTLC, or watchtower patterns

Do not use this skill when

  • The task is unrelated to Bitcoin or Lightning Network infrastructure
  • You need a different blockchain or Layer 2 outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

The declared community implementation at 8144225309/SuperScalar returned HTTP 404 on 2026-10-14. Do not treat it as a verified production implementation, funded-mainnet deployment, 400-test suite or audited watchtower. The original SuperScalar proposal is a protocol source, not proof that a similarly named repository implements it correctly.

Purpose

Technical 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/PTLC forwarding, and watchtower breach detection.

Key Topics

  • Channel factory implementation in C
  • MuSig2 (BIP-327) and Schnorr adaptor signatures
  • Encrypted Noise NK transport protocol
  • SQLite persistence layer
  • Watchtower breach detection
  • HTLC/PTLC forwarding
  • Regtest, signet, testnet, and mainnet support
  • Actual implementation tests, vectors and reproducible exit behavior

References

Example

User request:

Build or reviewing Lightning Network channel factory implementations.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Review evidence

Distinguish proposal properties from a specific implementation revision. Trace funding ownership, required signers, offline/liveness assumptions, timelock ordering, old-state invalidation, recovery artifacts, fee/bump behavior and unilateral exit under congestion. Define what N measures before stating complexity. Verify HTLC/PTLC and watchtower compatibility with actual protocol versions and test vectors; a claim of no consensus change does not establish deployability or safety. Use an isolated regtest fixture; signing, funding or broadcasting with real funds needs separate explicit authorization.

Câu hỏi thường gặp

Channel factory là gì?

Đây là cách tạo nhiều kênh thanh toán trên mạng Lightning hiệu quả hơn, đặc biệt cho nhóm người dùng.

'Watchtower' là gì?

Đây là các dịch vụ giúp bảo vệ kênh của bạn trên mạng Lightning khi bạn ngoại tuyến, đảm bảo giao dịch vẫn được xử lý đúng.

Công cụ này có giúp tôi tạo kênh Lightning không?

Công cụ cung cấp kiến thức kỹ thuật để hiểu và xây dựng channel factory, nhưng không trực tiếp tạo kênh cho bạn. Nó chủ yếu là tài liệu tham khảo.

Chi tiết

Mô tả gốc của tác giả

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/PTLC forwarding, and watchtower breach detection.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5056
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự