Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

lightning-bolts

БесплатноБез исполняемых скриптовНе проверен

BOLT (Basis of Lightning Technology) specification index. Wire format, channel management, onion routing, gossip, invoices, feature bits. Quick refs…

claude-dev-suiteот claude-dev-suite★ 51 звезда на GitHub

Об этом скилле

Lightning BOLTs

Quick refs: bolt-summary.md, feature-bits.md

The Lightning Network's specs live in github.com/lightning/bolts. There are 11 numbered BOLTs plus several "BLIPs" (BOLT improvement proposals) for in-progress extensions.

BOLT Index

BOLT Title
1 Base Protocol — wire format, init, ping, error
2 Peer Protocol — channel open/close/update
3 Bitcoin Transaction and Script Formats — funding, commitment, HTLC, anchor
4 Onion Routing Protocol — Sphinx packet, payment forwarding
5 Recommendations for On-chain Transaction Handling
7 P2P Node and Channel Discovery — gossip
8 Encrypted and Authenticated Transport — Noise XK handshake
9 Assigned Feature Flags — feature bit registry
10 DNS Bootstrap and Assisted Node Location (deprecated)
11 Invoice Protocol — BOLT11
12 Flexible Protocol for Lightning Payments — BOLT12 offers

Concepts spread across BOLTs

  • Channels (BOLT 2/3): two-party state channel with on-chain funding output spent into a sequence of off-chain commitment txs.
  • HTLCs (BOLT 2/3/4): hash-time-locked contracts route payments across multiple channels atomically.
  • Onion routing (BOLT 4): Sphinx-style; each hop sees only the next hop, not source / destination.
  • Gossip (BOLT 7): nodes announce themselves and channels; pathfinders use this graph.
  • Wire encryption (BOLT 8): Noise_XK handshake; ChaCha20-Poly1305 per-message.

Versioning

Lightning's wire protocol is append-only with feature bits:

  • Init message exchanges feature bits.
  • New features negotiated, not breaking changes.
  • Implementations must gracefully degrade for unknown bits.

Major recent additions

Merge dates below are commits on lightning/bolts master, read at repo HEAD 1528972 (2026-08-26) in September 2026.

  • Anchor outputs (BOLT-3 update, ~2020). Superseded: on 2024-05-20 BOLT 9 deleted legacy option_anchor_outputs (20/21) and renamed the zero-fee-HTLC variant at 22/23 to option_anchors.
  • Dual-funded channels (BOLT 2 v2, ~2022), feature 28/29.
  • option_simple_close (60/61) — simplified closing negotiation via closing_complete / closing_sig, merged 2025-02-12.
  • Attribution data (36/37) — BOLT 4 per-hop attribution on update_fail_htlc / update_fulfill_htlc, merged 2025-11-14; fulfillment_payload added 2026-07-27 (#1344) and return fields capped at 32 KiB 2026-08-26 (#1349).
  • Splicing (62/63) — merged into BOLT 2/9 on 2026-03-23 (#1160), so it is now spec, not a proposal.
  • Zero-fee commitments (40/41) — commitment and HTLC transactions with no fee, using v3/TRUC transactions and a shared anchor; merged 2026-05-04 (#1228).
  • Simple taproot channels (80/81) — merged 2026-05-04 as the extension BOLT bolt-simple-taproot.md (#995), outside the numbered BOLTs; a staging variant sits at 180/181.
  • BOLT 12 payer proofs — merged 2026-07-27 (#1346), letting a payer prove after the fact that it paid a given offer.
  • option_onion_messages_only_channels (66/67) — accept onion messages only from peers you have a channel with; merged 2026-07-27 (#1343).
  • BOLT12 (offers, blinded paths) — shipped by CLN (v26.06, 2026-06-02 exposes offer_id on invoice notifications and a createproof RPC for BOLT 12 payer proofs). LND carries BOLT 12 code but its release notes through v0.21 announce no offers support as of September 2026.
  • Async payments — an often-offline recipient publishes a BOLT 12 static invoice (an offer-derived invoice with the payment hash deliberately omitted) with an always-online LSP acting as static invoice server; the payer reaches it over onion messages, and the sender's LSP holds the HTLC until the recipient wakes. No custodian and no long-lived HTLC parked across the route. LDK is the implementation: ldk-node v0.7.0 (2025-12-03) added serving and paying static invoices, and LDK's "Async Payments: Getting Paid While Your Node Is Offline" (2026-06-26) still labels it beta — the sender-side HTLC hold is unmerged and the flow is LDK-to-LDK only. It is unrelated to trampoline routing.

Implementations and feature support

Feature LND CLN LDK Eclair
Static channels (legacy) yes yes yes no
Anchor commitment yes yes yes yes
Dual-funded no yes partial yes
MPP / AMP yes yes yes yes
Trampoline no no partial yes
BOLT12 offers partial yes yes yes
Taproot channels (80/81) yes no no yes
Splicing no yes yes yes

(Status as of September 2026. Each column was read off the project's own feature registry on master — lnwire/features.go (lnd v0.21.3-beta, 2026-09-02), common/features.c (CLN v26.06.7, 2026-08-28), lightning-types/src/features.rs (rust-lightning

Полный SKILL.md на GitHub

Установить lightning-bolts в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob

Вложенные файлы

quick-ref/bolt-summary.mdquick-ref/feature-bits.md

FAQ

Что делает скилл lightning-bolts?

BOLT (Basis of Lightning Technology) specification index. Wire format, channel management, onion routing, gossip, invoices, feature bits. Quick refs: BOLT-by-BOLT summary, message-type tables, feature-bit registry. USE WHEN: implementing/reading Lightning protocol, looking up message types, debugging interop between implementations.

Как установить скилл lightning-bolts?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл lightning-bolts запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить lightning-bolts с