Core Lightning (CLN) is a C implementation of the Lightning Network protocol for Bitcoin payments. It exposes a JSON-RPC interface and runs on Linux and macOS with bitcoind.
Overview
Core Lightning, formerly c-lightning, is a lightweight Lightning Network node developed by Blockstream. The lightningd daemon opens payment channels, routes invoices, and speaks the BOLT specifications while relying on a synchronized local or remote bitcoind for chain data.
Operators install from release binaries, Docker images, or source builds. Control is through lightning-cli and libraries over a Unix socket JSON-RPC API. The node supports channel funding, peer connections, BOLT11 invoices, and plugins that extend behavior.
Configuration can live in command-line flags or a config file under the Lightning data directory. Optional HD wallet encryption protects stored keys. The implementation has seen mainnet production use and is documented for testnet experimentation before live funds.
Key features
- Lightning protocol implementation
- JSON-RPC over Unix socket
- lightning-cli control tool
- Prebuilt binaries and Docker images
- BOLT11 invoice payments
- Channel opening and peer management
- Plugin ecosystem
- Configurable lightningd settings
Use cases
- Bitcoin Lightning routing nodes
- Merchant and wallet backends
- Testnet Lightning experimentation
- Plugin-based payment tooling