Eclair

A Lightning node implementation written in Scala, used in mobile wallets and enterprise setups.

Basically

Eclair is ACINQ's software for Bitcoin payments, written in Scala. It serves large businesses, and related ACINQ software powers the Phoenix wallet.

Key Takeaways

  • Eclair is a Scala-based, BOLT-compliant Lightning Network implementation built by ACINQ for high-availability enterprise routing, with a unique cluster mode that scales across multiple servers.
  • ACINQ has driven several major Lightning protocol advances, including trampoline routing, splicing and dual-funding, and also builds the Kotlin Multiplatform library, lightning-kmp, that powers the Phoenix mobile wallet.
  • Eclair is one of the three major Lightning node implementations alongside LND and Core Lightning, distinguished by its JVM architecture and focus on operating large-scale routing nodes.

What Is Eclair?

Eclair, French for lightning, is an open-source Lightning Network implementation written in Scala and running on the Java Virtual Machine (JVM). ACINQ, a Paris-based Bitcoin technology company, develops Eclair, which implements the full Lightning Network specification and is licensed under Apache 2.0.

LND dominates in total node count, and Core Lightning leads in plugin extensibility, while Eclair focuses on high-performance routing infrastructure. ACINQ operates one of the largest Lightning nodes on the network using Eclair, managing tens of thousands of channels and hundreds of BTC in capacity. Running its own node at scale means Eclair is continuously battle-tested in production.

ACINQ also maintains lightning-kmp, a separate Kotlin Multiplatform Lightning library derived from years of Eclair development. Lightning-kmp powers the Phoenix mobile wallet. These projects give ACINQ a full-stack presence from enterprise routing to consumer wallets.

How It Works

Eclair's architecture uses the Akka actor framework, a concurrency model inspired by Erlang. Each peer connection, Lightning channel and payment attempt runs as an independent actor. The design provides fault isolation, so a crash in one channel does not affect others, along with efficient CPU utilisation and simplified testing.

Actor-Based Architecture

The actor model fits Lightning's requirements because channels are long-lived stateful objects, while payment attempts are short-lived and ephemeral. Eclair assigns each one to its own actor:

Module Structure

Eclair uses three top-level modules. They organise the implementation as follows:

Cluster Mode

Eclair's most distinctive feature is its cluster mode, which separates a single logical Lightning node across multiple physical servers. Front servers handle peer connections and gossip synchronisation, covering Bolt 1 and Bolt 7, while the backend server focuses on channel management and payment processing under Bolt 2. Front servers are stateless and can be stopped or restarted without disrupting channels.

The architecture enables horizontal scaling to handle hundreds of thousands of channels, a capability no other Lightning implementation offers natively. Enterprises running large Lightning Service Providers gain a significant operational advantage from cluster mode.

Running Eclair

Eclair requires a fully synchronised Bitcoin Core node, version 30.x or higher. The node needs SegWit support, ZeroMQ, transaction indexing and a wallet, and a basic configuration looks like:

Eclair exposes a JSON API for managing channels, sending payments and monitoring node state. A basic API interaction looks like:

ACINQ's Protocol Contributions

ACINQ, primarily through developer Bastien Teinturier (t-bast), has authored or co-authored several major additions to the Lightning specification. These contributions benefit the entire Lightning ecosystem, not just Eclair users.

Trampoline Routing

Trampoline routing allows lightweight clients, particularly mobile wallets, to outsource pathfinding to better-connected nodes. The sender constructs a layered onion that routes through designated trampoline nodes, which compute the detailed route segments between themselves. The approach preserves payment privacy while eliminating the need for mobile devices to download and process the full network graph.

Splicing

Splicing allows adding or removing funds from an existing channel without closing it. ACINQ drove the splicing specification and implemented full support in Eclair v0.14.0, including splice-in for adding funds, splice-out for withdrawing funds, and RBF fee bumping for splice transactions on public channels. Splicing eliminates the disruptive cycle of closing and reopening channels to adjust channel capacity.

Dual-Funding and Liquidity Ads

Dual-funding enables both parties to contribute funds when opening a channel through an interactive transaction construction protocol. ACINQ built on this by proposing liquidity ads, a trustless, decentralised mechanism where nodes advertise available inbound liquidity at specified rates. On-the-fly funding adds liquidity purchases when receiving payments, and together these features create a more dynamic and efficient liquidity market.

Bolt 12 Offers

Eclair includes full support for Bolt 12 offers, the reusable, static invoice format that improves on traditional Bolt 11 invoices. Bolt 12 enables features like recurring payments and payer and payee privacy through blinded paths.

Phoenix Wallet and lightning-kmp

Phoenix is ACINQ's self-custodial Bitcoin wallet for iOS and Android. Eclair targets server-side routing, while Phoenix uses lightning-kmp, a separate Kotlin Multiplatform Lightning library optimised for mobile wallets. Lightning-kmp inherits architectural lessons from Eclair but is purpose-built for sending and receiving payments rather than relaying them.

The mobile wallet architecture has three layers. Lightning-kmp handles all Lightning and Bitcoin protocol logic, phoenix-shared contains business logic in Kotlin shared between platforms, and platform-specific UI code provides the user interface through Jetpack Compose on Android and SwiftUI on iOS.

Phoenix uses several ACINQ-driven features to give you a smooth experience. Trampoline routing removes the need to sync the network graph on mobile, while splicing and on-the-fly funding resize channels automatically when you receive payments, so you do not manage channels manually. Phoenix channels now use taproot by default, making them approximately 15% cheaper and indistinguishable from regular on-chain transactions.

High-Volume Routing Nodes

Eclair's cluster mode makes it well suited to operators running large routing nodes. Separating gossip processing from channel management across multiple servers enables handling tens of thousands of channels simultaneously. Operators earning routing fees at scale benefit from Eclair's proven reliability under heavy load.

Lightning Service Providers

Businesses offering Lightning-as-a-service, including custodial wallets, payment processing and LSP infrastructure, need enterprise-grade reliability. Eclair's architecture supports deployment inside secure enclaves, and ACINQ secures its own node using AWS Nitro Enclaves combined with Ledger hardware for signing, running Eclair unmodified inside the isolated compute environment.

Mobile Wallet Infrastructure

ACINQ's technology, through lightning-kmp, powers self-custodial mobile wallets that abstract away channel management complexity. Trampoline routing, automated splicing and on-the-fly funding make Lightning channels invisible to the end user, who simply sends and receives Bitcoin.

Eclair vs. Other Implementations

Each major Lightning implementation has different strengths. Operators and developers can compare the trade-offs to choose the right tool for their needs.

The node implementation comparison research article offers a deeper comparison. It covers the available Lightning node options.

Smaller Ecosystem

Eclair has a smaller community and fewer third-party tools compared to LND. Most Lightning developer tutorials, libraries and integrations target LND's gRPC API first. Developers building on Eclair may find fewer off-the-shelf solutions and community resources.

JVM Resource Requirements

Running on the JVM means Eclair has higher baseline memory consumption than C-based Core Lightning. Small-scale deployments on resource-constrained hardware, such as a Raspberry Pi or low-end VPS, must account for this overhead. The JVM advantage in developer productivity and fault tolerance comes at a cost in resource efficiency for smaller operators.

Operational Complexity

Eclair's power features, including cluster mode, advanced splicing and liquidity ads, add operational complexity. Its dependency on a fully synchronised, non-pruned Bitcoin Core node with specific configuration requirements creates a larger infrastructure footprint than some alternatives. Hobbyist node runners may find simpler implementations more appropriate.

Taproot Channel Maturity

Eclair supports taproot channels as of v0.14.0, but these are currently limited to unannounced, private channels. The gossip protocol for advertising public taproot channels is still being specified across implementations. Early adopters should be aware that the taproot channel ecosystem is still maturing.

Why It Matters

The Lightning Network's health depends on implementation diversity. A single bug could cascade across the entire network if every node ran the same software. Eclair provides a key alternative to LND and Core Lightning, with distinct architectural choices that catch different classes of bugs and enable different deployment patterns.

ACINQ's dual role as a specification contributor and large-scale node operator gives Eclair a unique feedback loop. The team proposes and implements protocol improvements, then stress-tests them in production before pushing them to the broader ecosystem. Features such as splicing and trampoline routing originated from real operational needs rather than theoretical design, and Eclair's enterprise architecture and ACINQ's protocol contributions will continue shaping the network's evolution as Lightning scales toward broader adoption.

The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.

0

← All 1876 glossary terms