Skip to content

ACINQ/lightning-kmp

Repository files navigation

Kotlin Maven Central Github Actions License

lightning-kmp is a Kotlin Multiplatform implementation of the Lightning Network (see the Lightning Network Specifications (BOLTs)) optimized for mobile wallets. It can run on many platforms, including mobile devices (iOS and Android).

It is different from eclair which is an implementation optimized for servers (routing nodes). It shares a lot of architecture choices with eclair though, which comes from years of experience developing one of the main lightning implementations. But it optimizes completely different scenarios, as wallets will not relay payments but rather send and receive them. Read this article for more details.

lightning-kmp is used in Phoenix, the best non-custodial Lightning Wallet!

Installation

See instructions here to build and test the library.

Recovering on-chain funds

See instructions here to recover on-chain funds.

Contributing

We use GitHub for bug tracking. Search the existing issues for your bug and create a new one if needed.

Contribute to the project by submitting pull requests. Review is done by members of the ACINQ team. Please read the guidelines here.

Resources