Bitcoin and Lightning

links + original short summaries; content belongs to publishers

Featured category. 48 entries. All categories. JSON: /api/library/bitcoin-lightning.json.

Categories

Bitcoin and Lightning

Featured category.

Eclair v0.14.8

2026-12-03 · ACINQ (GitHub) · repo

Patch release v0.14.8, published 2026-12-03T16:47:56Z. With this release, Eclair requires Bitcoin Core 32.x. Newer versions of Bitcoin Core may be used, but have not been extensively tested. The release is fully compatible with previous Eclair versions, and channels do not need to be closed. This row keeps the id eclair-v0-14-6-release.

Breez SDK 0.29.0 (Spark)

2026-11-30 · Breez (GitHub) · repo

GitHub release 0.29.0 of breez/spark-sdk, published 2026-11-30T15:54:11Z, not a prerelease. The notes say Lightning-funded bridges can pay native coins and Bitcoin on-chain, and they add fetch_htlc_payments for looking up HTLC payments by payment hash. Pull request 1347 adds that lookup and a transfer ID for HTLC claims. Pull request 1348 is the bridge payout. This row keeps the id breez-sdk-spark-0-28-0. Full changelog: https://github.com/breez/spark-sdk/compare/0.28.6...0.29.0.

Bitcoin Optech Newsletter #433

2026-11-27 · Bitcoin Optech · report

Newsletter dated 2026-11-27. It discloses a medium-severity Bitcoin Core denial of service: a peer can stall a node by repeating the wtxid of a stored orphan in inv messages, so the node stops processing blocks and transactions from other peers. It affects all 29.x releases, 30.x before 30.5, and 31.x before 31.3. The fix is in 30.5, 31.3, and 32.1. The 29.x series is end of life and will not receive a fix. It also discloses a denial-of-service vulnerability in Core Lightning 0.12.0 through 26.06.7 that let an attacker crash a node repeatedly by opening a second channel with the same channel_id. The bug gave no direct access to funds. It was fixed in 26.06.8. Bitcoin Core #36387 deprecates the encryptwallet RPC. That RPC now requires the node to be started with -deprecatedrpc=encryptwallet and is scheduled for removal.

Taproot Assets v0.8.9

2026-11-25 · Lightning Labs (GitHub) · repo

GitHub release v0.8.9 of lightninglabs/taproot-assets, published 2026-11-25T09:39:40Z, not a prerelease. The release says it starts an upgrade of the Taproot Assets transition proof format. The activation guide at tag v0.8.9 says mainnet activation is block 978,493, expected around 2026-12-02. It says upgraded nodes accept only transfers made the new way from that height, and reject transfers made the old way that confirm at or past it. Transfers that confirm before it stay valid. The release says existing asset channels must be closed before block 978,493 and reopened only after the upgrade to v0.8.9, and that the close, cooperative or force, must confirm before that block. The guide says to reopen once both peers run v0.8.9, and that v0.8.9 opens asset channels only with peers that also run v0.8.9. It says an asset channel opened before v0.8.9 that is still open at the activation height can lose its assets and its BTC. The release says downgrading from v0.8.9 to previous tapd versions is not presently supported. https://github.com/lightninglabs/taproot-assets/blob/v0.8.9/docs/v0.8.9-activation.md.

Bitcoin Optech Newsletter #432

2026-11-20 · Bitcoin Optech · report

Newsletter dated 2026-11-20. It describes a memory-exhaustion denial of service in Eclair 0.14.0, fixed in July 2026 in 0.14.1. BOLT2 says start_batch batch_size must be at most 20 and strictly greater than 1. Eclair checked the upper bound and not the lower one, so batch_size 0 followed by commitment_signed messages never stopped growing the batch. It says Core Lightning 26.12rc1 announces that xpay will replace pay in 27.03. It says LND #11555 puts a non-AMP invoice in PENDING_SETTLE when the preimage is released, and marks it SETTLED only if every HTLC is collected or CANCELED if any failed, once every HTLC has a final offchain or onchain outcome. It says applications should credit only the amounts from finalized, successful HTLCs. It says LND #11551 rechecks every part of a multipath or AMP payment against the current block height when the final part arrives. It says LDK #5558 applies the default fee cap of 1% of the payment amount plus 50 sat when an async payment using a static BOLT12 invoice omits the fee-limit setting, and that this fix is in LDK 0.2.8. LDK #5482 is a separate fee-budget retry fix in the same section.

What Does It Cost to Force-Close a Lightning Channel? Evidence from 974,000 Channel Closes, 2018-2026

2026-11-12 · arXiv · research-paper · Saurabh Kumar

arXiv 2611.16311v1, published 2026-11-12T05:13:54Z, by Saurabh Kumar. The title says 974,000 channel closes. The abstract says the study traces 973,581 closes from January 2018 to October 2026. It says a force close costs 2-6 times a cooperative close in fees and locks the closer's balance for days. The abstract points to code and aggregate data at https://github.com/bitcoindatalabs/ln-force-close-costs. That repository's GitHub license is MIT, copyright 2026 Saurabh Kumar, and its README says data/*.json holds the aggregate outputs behind the figures, tables, and in-text numbers.

Bitcoin Optech Newsletter #430

2026-11-06 · Bitcoin Optech · report

Newsletter dated 2026-11-06. The releases section calls LND v0.21.6-beta and v0.20.7-beta security releases that include the Linux CVE-2026-98432 mitigation described under LND #11456, and says that mitigation does not fix the kernel. It calls Core Lightning 26.06.10 a security release for dual funding, splicing, onchain HTLC resolution, access controls, and other components, with tests temporarily withheld. It calls BTCPay Server 2.4.7 a security release for 85 findings from Anthropic's OSS Scanner, including payout limits, other stores' data, authentication, and resource exhaustion. Separate from those release announcements, the notable-changes section describes LND #11357 as rejecting duplicate BOLT11 payment secrets and incorrect lengths for the payment hash, description hash, payment secret, and receiver public key, instead of ignoring extras or treating a bad length as absent. It describes Core Lightning #9419 as adding an optional failure_reason on listforwards and forward_event for local forwarding failures, and #9592 as making xpay exclude a forwarding node for the rest of a payment after unknown_next_peer twice. The newsletter also covers an ongoing TCP hole-punching discussion and a draft co-signer spending policy that is not assigned a BIP number.

Release v1.24.6 Julian Assange · getAlby/hub

2026-11-05 · GitHub (Alby) · repo

Patch release published 2026-11-05T09:45:44Z, not a prerelease. The notes say it includes bug fixes and security updates, thank Project Loupe, the Bitcoin Red Team, and individual contributors for AI scans, and name no CVE. NWC create_connection errors include unsupported method names. Hub binaries disable MPTCP by default. App pubkeys that are not valid curve keys are rejected. Bundled lnd is v0.21.6-beta. This replaces the v1.24.3 row. Full changelog: https://github.com/getAlby/hub/compare/v1.24.4...v1.24.6.

Core Lightning v26.06.10

2026-11-04 · Elements Project · repo

Security point release published 2026-11-04T13:34:33Z, not a prerelease. The notes say it includes fixes for vulnerabilities and that the maintainers strongly recommend upgrading. The highlighted security fixes cover dual funding and splicing, including signature checks on the peer's tx_signatures, onchaind HTLC resolution, gossip resource limits, connectd, runes and commando, plugin hooks and hsmd. A peer dust_limit_satoshis above 5000 sat is refused. The notes recommend binding commando runes to a node id with an id restriction, and rotating unaccounted runes by blacklisting them and issuing new ones. The notes name no CVE. The changelog heading linked from the release is dated 2026-11-05. The release notes do not name Blockstream.

Wavelength v0.2.1

2026-10-31 · Lightning Labs (GitHub) · repo

Release published 2026-10-31, not a prerelease. The notes say changes are since v0.2.0. Clients validate Ark transaction inputs before accepting out-of-round transfers. Linux builds disable MPTCP listeners by default, and the notes say this does not replace installing a patched kernel. Received VTXO expiry timing is derived from locally confirmed chain evidence. Pay swaps reject excessive refund timelocks before funding, refund intent survives interruptions, and payments that would leave unusably small change fail promptly. Exit recovery preserves the spending policy and funding proofs. Binaries are built with Go 1.27.3. The release body says maintainers must sign manifest-v0.2.1.txt before publishing. Full changelog: https://github.com/lightninglabs/wavelength/compare/v0.2.0...v0.2.1.

lnd v0.21.6-beta and v0.20.7-beta

2026-10-30 · Lightning Labs (GitHub) · repo

Security releases published 2026-10-30. v0.21.6-beta at 23:21 UTC is the newest non-prerelease on the 0.21 line. v0.20.7-beta at 22:37 UTC is the matching 0.20 tag. Both release bodies name CVE-2026-98432 and say there are no database migrations. The v0.21.6 notes say the demonstrated exploit needs an MPTCP listener, which Go 1.24+ enables by default, that Windows and macOS are not affected, and that lnd no longer opens MPTCP listeners. They tell Linux operators to upgrade, set net.mptcp.enabled=0, and install a patched kernel, and to start an unupgraded binary with GODEBUG=multipathtcp=0. The notes do not name kernel version numbers. This replaces the library row for v0.21.5-beta. Notes: https://github.com/lightningnetwork/lnd/blob/v0.21.6-beta/docs/release-notes/release-notes-0.21.6.md. The 0.20 tag: https://github.com/lightningnetwork/lnd/releases/tag/v0.20.7-beta.

Bitcoin Optech Newsletter #429

2026-10-30 · Bitcoin Optech · report

Newsletter dated 2026-10-30. It discloses a denial-of-service in Core Lightning 25.02 through 26.04: a channel announcement that names the same node as both endpoints passed validation, was stored, and then crashed gossipd on a no-duplicates assertion. The stored message crashed the node again on every restart until the operator removed it by hand, which upgrading alone did not do. The fix is CLN 26.04.1, which rejects an announcement whose node_id_1 is not strictly less than node_id_2. BOLTs #1333 added the same receiver check to BOLT7, which had only required senders to order the IDs.

BTCPay Server v2.4.7

2026-10-29 · BTCPay Server (GitHub) · repo

Release v2.4.7 published 2026-10-29, not a prerelease. The notes call it a bug-fix release for security, reliability, and payment accounting, and recommend updating, especially for servers shared by multiple merchants. The release says it fixes 85 security findings from Anthropic's OSS Scanner, using that report's severity ratings: 1 critical, 13 high, 52 medium, and 19 low. Those figures are the release's own table, not a CVE list. Named fixes include payout state changes that bypassed pull-payment limits, checkout forms restricted to the owning store, and BitPay API changes that apply the store's confirmation and expiry limits to anonymously created invoices and limit posData to 64 KiB before parsing. The release does not say every vulnerability in BTCPay is fixed.

L402sdk 0.2.0

2026-10-29 · Lightning Labs · repo

L402sdk 0.2.0 is dated 2026-10-29 in CHANGELOG.md. Budgets include routing fees and concurrent payment reservations. Automatic payments require a backend that enforces fee limits before submission. A zero fee limit allows only zero-fee routes. Invalid or amountless invoices are rejected before the wallet is called. npm @lightninglabs/l402 0.2.0 was published 2026-10-29T13:46:37.700Z and its repository is this project. The GitHub releases API returned 404 for tag v0.2.0 on 2026-11-04. This replaces the lightninglabs-l402sdk row. Related library entry: lightninglabs-l402-github (https://github.com/lightninglabs/L402).

Release v9.0.0 · getAlby/js-sdk

2026-10-27 · GitHub (Alby) · repo

Breaking release published 2026-10-27. The notes say Nip47TimeoutValues.publishTimeout is removed and the publish timeout is fixed per client, while replyTimeout stays per method. A relay that does not reply OK within 5 seconds now rejects with Nip47PublishTimeoutError. Deprecated nwc multi_* methods are removed, matching their removal from NIP-47, and Nip47Method replaces Nip47SingleMethod. An NWC reply that fails to decrypt is rejected. The full changelog link is v8.1.1...v9.0.0. This replaces the library row for v8.1.0.

Wavelength docs: llms.txt and Build with agents

2026-10-23 · Lightning Labs · docs

Machine-readable docs index for the Wavelength SDK, a self-custodial Bitcoin, Lightning, and Ark wallet. Every docs page has a markdown twin at the same URL with .md appended, and https://wavelength.lightning.engineering/llms-full.txt holds the whole corpus. The Build with agents page is https://wavelength.lightning.engineering/agents.md. `wavecli mcp serve` runs a stdio MCP server that exposes each daemon RPC as a typed tool; create and unlock are omitted. `wavecli schema` dumps method schemas as JSON. Related: https://wavelength.lightning.engineering/cli/mcp.md, https://wavelength.lightning.engineering/cli/schema.md.

Ride the Wave: Integrate Bitcoin Payments with Wavelength on Mainnet

2026-10-23 · Lightning Labs · announcement

Wavelength, Lightning Labs' self-custodial wallet toolkit on an Ark-like settlement layer, is live on mainnet (alpha; repo release v0.2.0 on 2026-10-23). Agents can drive the wallet over MCP via `wavecli mcp serve`, pay L402 APIs, and get receive-only macaroons via `wavecli bakemacaroon`; retried requests do not pay twice. Current limits: 300,000 sats per mainnet account, 50,000 sats per VTXO, 0.25% service fee on Lightning sends and receives plus routing fees, and funds need a free automatic refresh roughly every two weeks. Docs ship llms.txt and llms-full.txt with .md twins of every page. License: MIT (GitHub repo). Related: https://wavelength.lightning.engineering/llms.txt, https://wavelength.lightning.engineering/llms-full.txt, https://wavelength.lightning.engineering/agents/, https://github.com/lightninglabs/wavelength, https://github.com/lightninglabs/wavelength/releases/tag/v0.2.0.

Bitcoin Optech Newsletter #428

2026-10-23 · Bitcoin Optech · report

Covers Lichen, a single-issuer layer 2 with trust-minimized onchain exits, and a proposal for hash-preimage syntax in descriptors (BIP379). Also covers the Eclair 0.14.4/0.14.5 security releases, the LND 0.21.5/0.20.6 release candidates, LDK #5126 (a BOLT12 one-hop blinded path CLTV fix), LND #10919 (experimental local reputation against channel jamming), BTCPay Server fixes for duplicate Lightning payouts and Greenfield API key scope escalation, and BOLTs #1352 (simple taproot channel spec corrections).

bolt11: reject duplicate payment hashes in invoices

2026-10-19 · GitHub (lightning/bolts) · spec · Roasbeef

Merged change to the BOLT #11 specification that requires readers to reject an invoice with more than one payment hash, with updated test vectors. The PR explains that libraries differed on whether they took the first or the last payment hash, and that a popular Telegram P2P bot was exploited through this ambiguity, which matters for any system that pays or verifies invoices automatically.

Bitcoin Optech Newsletter #427

2026-10-16 · Bitcoin Optech · report

Newsletter for the week of 2026-10-16. It summarizes the disclosure of two denial-of-service vulnerabilities in Eclair v0.14.0 and earlier, both fixed in v0.14.1, and Adam Gibson's proposal for running multi-round two-party contracts inside a Lightning channel while settling disputes on-chain in a constant number of transactions.

L402 Is Ready. The Missing Layer Is Adoption.

2026-10-15 · Lightning Enable · announcement · Michael Rahel

Michael Rahel writes that L402 is ready and that adoption is the missing layer. The post describes an HTTP 402 response carrying a Lightning invoice and a macaroon, then a retry that presents the token and the payment preimage.

The Future Is Now: Why L402 Is the Internet-Native Payments Protocol for Agents

2026-03-11 · Lightning Labs · announcement · Michael Levin

Lightning Labs post explaining how L402 puts HTTP 402 Payment Required to work by pairing it with the Lightning Network and cryptographic authentication tokens. Any Lightning-enabled client can pay for and authenticate with an L402 API instantly, with no signup, API key or prior relationship, and the post covers updates to the L402 bLIP specification.

Adding support for main bolt12 commands to NIP-47

2025-06-11 · GitHub (nostr-protocol/nips) · spec · 21M4TW

Open pull request, not merged as of 2026-10-22, that asks NIP-47 to let a Lightning client use Nostr Wallet Connect to create BOLT12 offers and to fetch and pay BOLT12 invoices. NWC BOLT12 offer creation and payment is not standardized yet, so check wallet support.

AI for All: Powering APIs and Large Language Models with Lightning

2023-07-06 · Lightning Labs · announcement · Olaoluwa Osuntokun, Michael Levin

Lightning Labs announcement of developer tools built on L402 and LangChain, including LangChainBitcoin. With these tools, agents can hold a Bitcoin balance, send and receive over Lightning, and pay for L402-gated APIs.

The "podcast:value" Specification

2021-09-01 · Podcast Index (podcast-namespace) · spec · Dave Jones, Gigi, Evan Feenstra, Paul Itoi

Podcasting 2.0 specification (v1.4) for a feed-level "value block" that lets listeners stream near-real-time Lightning micropayments directly to creators (for example via keysend), calculated per minute of consumption.

Enabling Micro-payments on IoT Devices using Bitcoin Lightning Network

2020-12-19 · arXiv · research-paper · Ahmet Kurt, Suat Mercan, Enes Erdin, Kemal Akkaya

Proposes a protocol that lets resource-constrained IoT devices use Lightning through a gateway node, with 3-of-3 multisignature channels so the device signs every channel operation. It was demonstrated on a Raspberry Pi in a toll-payment scenario.

The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments

2016-01-14 · lightning.network · research-paper · Joseph Poon, Thaddeus Dryja

Foundational paper (draft v0.5.9.2) proposing a decentralized network of micropayment channels whose value transfers happen off-blockchain. The aim is to scale Bitcoin to high transaction volumes without custodial third parties.

Nostr Wallet Connect Specifications (NWC extensions 02-13, 321)

Undated · nostr-wallet-connect (GitHub) · spec

README of nostr-wallet-connect/nwc, read from main on 2026-11-22. It says these are optional features kept out of the simplified NIP-47 core, and that 01.md is reserved for a future standalone core spec. The README table lists 02 notifications (payment_received and payment_sent), 03 hold invoices (make_hold_invoice, cancel_hold_invoice, settle_hold_invoice), 04 pay_keysend, 05 list_transactions, 06 metadata conventions, 07 deep links, 08 client-initiated connection creation, 09 lookup_payment, 12 BOLT12 offers (make_offer), 13 get_budget, and 321 pay and receive for BIP-321. It does not list 10.md or 11.md. Each of those files is marked draft and optional. 13.md says get_budget returns the connection's used budget, total spending limit, and renewal schedule, and that the response describes only that connection's budget, not the wallet balance. GitHub records the repository as created 2026-07-02 and last pushed 2026-11-05. The README does not state a publication date. Related library entry: nostr-nip-47-wallet-connect (https://github.com/nostr-protocol/nips/blob/master/47.md).

lightninglabs/lightning-agent-tools

Undated · GitHub (Lightning Labs) · repo

AI agent toolkit (skills plus an MCP server) for Lightning payments: node operation, L402 API payments, paid endpoint hosting and scoped macaroon credentials. Its default security model uses a remote signer that keeps private keys off the agent machine.

L402: Lightning HTTP 402 Protocol

Undated · Lightning Labs (Builder's Guide) · docs

Lightning Labs documentation presenting L402 as a standard for selling and buying digital resources that lets services charge for API endpoints in a way AI agents can easily use.

L402 Protocol Specification

Undated · Lightning Labs (Builder's Guide) · spec

Specification of the abstract L402 HTTP and gRPC protocols. It defines the "L402" authentication scheme, which carries credentials as macaroon:preimage pairs.

lightninglabs/L402

Undated · GitHub (Lightning Labs) · repo

Repository for L402, an open protocol for paying for and authenticating access to APIs over the Lightning Network. The server's 402 response carries a macaroon and a Lightning invoice, and the client re-sends the request with the macaroon and the payment preimage.

Aperture v0.6.4

Undated · Lightning Labs · repo

Aperture v0.6.4, the Lightning Labs L402 proxy. By default it limits 402 challenges to 10 per hour per client network. With metering, a buyer whose balance is held by in-flight requests gets 429 with Retry-After instead of a new 402. There is a new mppchallengeexpiry setting. Settlement tracking is retried instead of being disabled. The admin panel has security fixes. Breaking change: renamed config keys now block startup. This row keeps the id aperture-v0-6-0-release.

lightninglabs/LangChainBitcoin

Undated · GitHub (Lightning Labs) · repo

Tools that give LangChain agents access to Bitcoin and the Lightning Network, including LLM agent BitcoinTools for an lnd node and an L402 HTTP API traversal wrapper.

BOLT 12

Undated · bolt12.org · docs

Explainer site for BOLT 12, a protocol upgrade to the Lightning Network that enables reusable payment requests, stronger receiver privacy and better censorship resistance.

NIP-47: Nostr Wallet Connect (NWC)

Undated · GitHub (nostr-protocol/nips) · spec

Nostr Implementation Possibility that defines a standardized protocol for clients to access a remote Lightning wallet over Nostr, with commands such as pay_invoice and make_invoice. Related library entry: nostr-wallet-connect-nwc-extensions (https://github.com/nostr-wallet-connect/nwc).

Bitcoin: A Peer-to-Peer Electronic Cash System

Undated · bitcoin.org · research-paper · Satoshi Nakamoto

Foundational paper proposing purely peer-to-peer electronic cash. A proof-of-work timestamp chain solves double-spending without a trusted third party.

lightninglabs/lnget

Undated · GitHub (Lightning Labs) · repo

A wget/curl-style command-line client that pays L402 Lightning invoices automatically, caches the resulting tokens and retries the request. Per the docs it offers JSON output, a per-request spending cap and an MCP mode for agents.

L402 and lnget (lightning-agent-tools docs)

Undated · GitHub (Lightning Labs) · docs

Lightning Labs guide on how agents use lnget to reach L402-gated endpoints, covering backend options (lnd, Lightning Node Connect, embedded Neutrino) and bounded per-request spending.

getAlby/mcp

Undated · GitHub (Alby) · repo

An MCP server that connects an LLM agent to a Lightning wallet over Nostr Wallet Connect (NWC).

L402: native payments for MCP, AI agents, APIs and data

Undated · l402.org · spec

Site describing an offers-based L402 flow in which a server answers HTTP 402 with JSON payment offers and the client retries after payment. This is distinct from Lightning Labs’ macaroon-based L402 specification. The site does not name another publisher.

NIP-90: Data Vending Machine

Undated · GitHub (nostr-protocol/nips) · spec

Nostr spec for on-demand computation ('money in, data out'). Customers publish job requests (kinds 5000-5999), service providers return results (6000-6999) and feedback (7000), and payment is typically made over Lightning. The spec itself is marked draft and 'unrecommended'.

L402 Apps

Undated · L402 Apps · directory

Directory of apps and APIs presented as reachable through L402 payment gateways.

Voltage CLI

Undated · Voltage · repo

Command-line client for the Voltage API. The README says it creates wallets and receives and sends Lightning payments, and on-chain payments where enabled, from a terminal, a script, or an AI agent. A change is only described until --execute is added. Every payment carries an ID, and the CLI never resubmits one on its own. Output is a table on a terminal and stable JSON when piped. License: MIT. Related: https://voltage.cloud/blog/prompt-to-payment-lightning-cli-agent-pack.