Skillpedia
البحث48k · #5056

lightning-channel-factories

ما الذي تفعله

هذه المهارة دليل تقني حول كيفية بناء channel factories في شبكة Lightning وفهمها. تشرح مفاهيم مثل القنوات متعددة الأطراف، وكيف يمكن لشبكة Lightning أن تتوسع دون تغيير قواعد Bitcoin الأساسية.

متى تستخدمها

  • ✓عندما تبني أو تراجع كيفية عمل channel factories في شبكة Lightning.
  • ✓عندما تعمل على القنوات متعددة الأطراف أو معماريات مزودي الخدمة.
  • ✓عندما تحتاج إلى مساعدة في تقنيات محددة مثل MuSig2 أو watchtowers.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lightning-channel-factories/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“كيف أُعدّ channel factory متعددة المستخدمين على شبكة Lightning؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تعمل المهارة كدليل تقني يقدم معلومات مفصلة عن المكونات والبروتوكولات المستخدمة في channel factories. يمكنك الرجوع إليها لفهم تفاصيل بنائها وعملها.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

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.

الأسئلة الشائعة

ما هي channel factory؟

هي طريقة لإنشاء قنوات دفع متعددة في شبكة Lightning بكفاءة أكبر، خصوصاً لمجموعات من المستخدمين.

ما هي «watchtowers»؟

هي خدمات تساعد على حماية قنواتك في شبكة Lightning إذا انقطعت عن الاتصال، لضمان معالجة معاملاتك بشكل صحيح.

هل تساعدني هذه المهارة على إنشاء قناة Lightning؟

هي تقدم المعرفة التقنية لفهم channel factories وبنائها، لكنها لا تنشئ القناة نيابةً عنك، بل هي دليل مرجعي.

التفاصيل

الوصف الأصلي من المؤلف

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

الشعبية

نجوم GitHub
48k
الترتيب
#5056
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة