Skip to content

lnbits

Python server that adds isolated Lightning wallets, an API and extensions to your node

Permissive (OSI) · MIT

Listed by , founder & editor

87

Health

Thriving

Overview

Stars

1,250

Last commit

today

Nov 2026

Repository age

6 years

since Dec 2019

Latest version

v1.7.1

Nov 2026

Contributors

–

18 active in 90 days

Releases

15

last 12 months

Docker pulls

142k

lnbits/lnbits

Language

Python

LNbits is a lightweight Python server that sits on top of a Lightning funding source. It creates separate wallets on top of one backend, each with its own API keys, so an app only touches the balance you give it. You can switch funding sources later without changing your app.

Core features include a transaction table, a spending chart, CSV export, a light node management UI and an HTTP API. Everything else is an extension, which you can install, write and share. Merchant tools handle bitcoin and fiat payments, with notifications over Nostr, Telegram and email. LNURL flows are supported, and the project says LNbits can act as a fallback LNURL wallet.

You can self-host it, with Docker available, or try the public demo server. A paid hosted option exists that bills per hour. The code is MIT licensed, has been developed since 2019, and the Docker image has over 141,000 pulls. It suits people running Lightning services who want account separation.

Who it's for

Lightning node operators serving a community

You can give members or apps separate wallets without exposing your full funds.

Skip if: You only need a single personal wallet app.

Developers building Bitcoin payment features

The HTTP API and per-wallet keys let you integrate payments and accounting.

Skip if: You want a fully custodial service with no backend to operate.

Merchants accepting Lightning payments

Extensions share orders and inventory and send notifications over Nostr, Telegram and email.

Skip if: You do not run, or have access to, a Lightning funding source.

The problem it solves

A single Lightning node or funding account is hard to share safely across apps or users. LNbits splits it into wallets with their own API keys and adds the tools to run payments on top.

Strengths

  • Per-wallet API keys limit what each app can access
  • Extension system keeps the core small
  • Works with most Lightning backends
  • Docker image with over 141,000 pulls
  • MIT license, 15 releases in the past year

Trade-offs

  • Needs a Lightning funding source you operate or trust
  • Many features depend on installing extensions
  • Self-hosting means you handle security of funds

Self-host lnbits

Self-hostable
Yes
Docker image
lnbits/lnbits

Frequently asked questions

Is LNbits free to self-host?

Yes. It is MIT licensed and available with Docker.

Is there a hosted version?

Yes, a hosted service bills per hour, and a public demo server is available for testing.

Can I export my transactions?

Yes, the account system includes a transaction table and CSV export.

Do I have to use one Lightning node?

No. It runs on most Lightning backends, and you can change the funding source later.

Similar tools in Crypto wallets and market trackers

Trezor Suite

Crypto wallets and market trackers

1.1k 397 today Thriving Unknown

QuantDinger

Crypto wallets and market trackers

Self-hosted AI research and trading platform for Python strategy authors and small teams

14k 2.8k yesterday Thriving Apache-2.0

Sparrow Wallet

Crypto wallets and market trackers

Desktop Bitcoin wallet for hardware wallet users who want transparency and PSBT support

2.2k 354 today Thriving Apache-2.0

OctoBot

Crypto wallets and market trackers

Python crypto trading bot with a web interface, backtesting and paper trading

7k 1.3k 4 days ago Thriving GPL-3.0

OneKey

Crypto wallets and market trackers

Open source multi-chain crypto wallet for desktop, mobile, web and browser

2.5k 548 today Thriving MIT

mempool

Crypto wallets and market trackers

Self-hosted Bitcoin mempool visualizer and block explorer with a fee-focused API

2.9k 1.2k today Active AGPL-3.0