Skip to main content

LNbits, free and open-source Lightning wallet and accounts system.

Project description

LNbits

phase: stable license-badge docs-badge PRs: welcome explore: LNbits extensions hardware: LNBitsShop
lnbits_head
tip-hero

LNbits — The most powerful Bitcoin & Lightning toolkit

Run it for yourself, for your community, or as part of a larger stack.

What is LNbits?

LNbits is a lightweight Python server that sits on top of your Lightning funding source. It gives you safe, isolated wallets, a clean API, and an extension system for rapidly adding features - without locking you into a single node implementation. The Inspiration for LNBits came from ideas pioneered by OpenNode and LNPay — both today work as funding sources for LNbits.

What you can do with LNbits

  • Harden app security: Create per-wallet API keys so individual apps never touch your full balance.
  • Extend functionality fast: Install extensions to explore and ship Lightning features with minimal code.
  • Build into your stack: Use the LNbits HTTP API to integrate payments, wallets, and accounting.
  • Cover LNURL flows: Use LNbits as a reliable fallback wallet for LNURL.
  • Demo in minutes: Spin up instant wallets for workshops, proofs-of-concept, and user testing.

Funding sources

LNbits runs on top of most Lightning backends. Choose the one you already operate - or swap later without changing your app architecture.

Learn more

Running LNbits

See the install guide for details on installation and setup.

Get yourself familiar and test on our demo server demo.lnbits.com, or on lnbits.com software as a service, where you can spin up an LNbits instance for 21sats per hr.

LNbits account system

LNbits is packaged with tools to help manage funds, such as a table of transactions, line chart of spending, export to csv. Each wallet also comes with its own API keys, to help partition the exposure of your funding source.

lnbits_wallet

LNbits extension universe

Extend YOUR LNbits to meet YOUR needs.

All non-core features are installed as extensions, reducing your code base and making your LNbits unique to you. Extend your LNbits install in any direction, and even create and share your own extensions.

lnbits_extensions

LNbits API

LNbits has a powerful API, many projects use LNbits to do the heavy lifting for their bitcoin/lightning services.

lnbits_api

LNbits node manager

LNbits comes packaged with a light node management UI, to make running your node that much easier.

lnbits_api

LNbits merchant tools

The LNbits stack can process both bitcoin and fiat payments, making it a turnkey, all-in-one solution for merchants. With orders and inventory shared across extensions, and built-in notifications for Nostr, Telegram, and email, LNbits keeps everything in sync, freeing merchants to focus on their business.

lnbits_merchants

Powered by LNbits

LNbits empowers everyone with modular, open-source tools for building Bitcoin-based systems — fast, free, and extendable.

LNbits Shop
Visit LNbits Shop Try myLNbits SaaS Read LNbits News Explore LNbits Extensions tip-hero

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lnbits-1.5.5rc3.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lnbits-1.5.5rc3-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file lnbits-1.5.5rc3.tar.gz.

File metadata

  • Download URL: lnbits-1.5.5rc3.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lnbits-1.5.5rc3.tar.gz
Algorithm Hash digest
SHA256 bf740c7539060bfc1ef6cf2735251c6b820382db62740c71481ec19779d2a1f1
MD5 8768406c2004d041c2e75e57a6378c00
BLAKE2b-256 66920e572b26c808253b73bdef5fcd51393a8f56f33cb992ff1c4928bb5d3c79

See more details on using hashes here.

File details

Details for the file lnbits-1.5.5rc3-py3-none-any.whl.

File metadata

  • Download URL: lnbits-1.5.5rc3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lnbits-1.5.5rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 c44c7ca1f88d8cc0e863c70a2b3dadf251d584573bec86d5576428a1602b90f6
MD5 f9f8d3bee45786914c68c7667af6c09d
BLAKE2b-256 782217041c1f5c1b573e1ab8dbe7bde8405b5e535e3c5d163de8e476a4a8bfd5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page