# lightningdevkit/rust-lightning

Active development happens on git.rust-bitcoin.org, this repo is a mirror of https://git.rust-bitcoin.org/lightningdevkit/rust-lightning

Repository: https://github.com/lightningdevkit/rust-lightning
Canonical: https://ross.abutalabs.com/products/rust-lightning
Homepage: https://git.rust-bitcoin.org/lightningdevkit/rust-lightning
Language: Rust
License: NOASSERTION
License Family: other
Topics: bitcoin, lightning-network
Last push: 2026-08-26T18:29:20+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3120, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1372, forks 479 (observed 2026-08-28T04:04:32.341783+00:00)

## What it is
Rust-Lightning (LDK) is a highly performant, runtime-agnostic Rust library implementing the Lightning Network protocol, including channel state machines, on-chain logic, and BOLT specification compliance. It lets developers build custom Lightning nodes or wallets by supplying their own persistence, chain data, and networking backends.

## Use cases
- build a lightning network node in rust
- add lightning payments to a bitcoin wallet
- parse and create BOLT11 lightning invoices
- embed lightning channel management in a mobile wallet
- sync lightning gossip graph quickly for mobile clients
- implement custom lightning networking on tokio

## When to choose
- you need a flexible, low-level Lightning implementation you can integrate into your own node or wallet
- you want a no_std-capable, audited library with production use since 2021
- you need runtime-agnostic components so you can plug in custom persistence, chain, and networking backends

## When to avoid
- you want a turnkey, ready-to-run Lightning node daemon rather than a library
- you need a simple out-of-the-box Lightning node with UI and wallet features
- you are not comfortable handling the safety-critical details of Lightning channel management yourself

## Facets
- artifact type: library
- maturity: stable
- function: networking, cryptography, serialization, sdk
- domain: blockchain, fintech, developer-tools
- platform: rust, cross-platform, embedded
- tags: lightning-network, bitcoin, bolt-specification, no-std, payments, runtime-agnostic, cryptocurrency, mobile

## Member repositories
- lightningdevkit/rust-lightning (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:32.341783+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:46.453940+00:00, confidence not recorded.
  - readme: https://github.com/lightningdevkit/rust-lightning (fetched 2026-08-28T04:04:32.341783+00:00, sha a159d36f07cf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
