LNbits, free and open-source lightning-network wallet/accounts system.
Go to file
Matthew Croughan c5192146af
nix: fix nixosModule and build (#1979)
* lnbits/settings: get LNBITS_COMMIT from envvar if available

There is no other way of setting the git commit at runtime, for build systems like Nix that allow you to hermetically define envvars derived from the source that will be available reproducibly at runtime

* nix: update potree2nix and nixosModule

This is a general refactor that gets everything building and passing the vmTest again

* Update nix/modules/lnbits-service.nix

---------

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2023-10-03 09:50:35 +01:00
.github [FIX] codeql for dev branch (#1935) 2023-09-12 10:17:40 +01:00
docs Updated guide for extension development for current extension management process (#1962) 2023-09-25 11:19:30 +01:00
lnbits feat: remove commit version (#1980) 2023-10-02 20:31:06 +01:00
nix nix: fix nixosModule and build (#1979) 2023-10-03 09:50:35 +01:00
tests [FEAT] cleanup GET /wallet endpoint, add wallet api routes (#1932) 2023-09-25 14:06:00 +01:00
tools [CHORE] string formatting default length 88 (#1887) 2023-08-24 10:26:09 +01:00
.dockerignore good bye venv (#1569) 2023-03-16 16:45:23 +01:00
.editorconfig add editorconfig config, fix issues (only whitespace changes) (#1958) 2023-09-25 11:06:25 +01:00
.env.example Don't create user if allowed users is set (#1822) 2023-09-26 08:08:36 +02:00
.gitignore [REFACTOR] .super_user move it into data dir (#1900) 2023-09-11 12:19:19 +01:00
.pre-commit-config.yaml [CHORE] string formatting default length 88 (#1887) 2023-08-24 10:26:09 +01:00
.prettierignore ignore upgrades dir in linters and formatters and precommit (#1783) 2023-06-26 10:38:40 +02:00
.prettierrc FIX: prettier formatting (#1395) 2023-01-23 14:23:30 +01:00
Dockerfile Update poetry to 1.5.1 (#1804) 2023-07-11 12:46:40 +02:00
flake.lock nix: fix nixosModule and build (#1979) 2023-10-03 09:50:35 +01:00
flake.nix nix: fix nixosModule and build (#1979) 2023-10-03 09:50:35 +01:00
LICENSE Update LICENSE 2022-01-30 08:27:05 -03:00
Makefile add editorconfig config, fix issues (only whitespace changes) (#1958) 2023-09-25 11:06:25 +01:00
package-lock.json Add Markdown capability globally (#1965) 2023-09-27 11:32:03 +01:00
package.json Add Markdown capability globally (#1965) 2023-09-27 11:32:03 +01:00
poetry.lock adding bolt11 lib and removing bolt11.py from the codebase (#1817) 2023-09-25 12:06:54 +02:00
pyproject.toml adding bolt11 lib and removing bolt11.py from the codebase (#1817) 2023-09-25 12:06:54 +02:00
README.md fix typos (#1969) 2023-09-27 08:02:28 +02:00

LNbits

license-badge docs-badge

Lightning network wallet

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

(Join us on https://t.me/lnbits)

LNbits is beta, for responsible disclosure of any concerns please contact lnbits@pm.me

Use legend.lnbits.com, or run your own LNbits server!

LNbits is a Python server that sits on top of any funding source. It can be used as:

  • Accounts system to mitigate the risk of exposing applications to your full balance via unique API keys for each wallet
  • Extendable platform for exploring Lightning network functionality via the LNbits extension framework
  • Part of a development stack via LNbits API
  • Fallback wallet for the LNURL scheme
  • Instant wallet for LN demonstrations

LNbits can run on top of any Lightning funding source. It supports LND, CLN, Eclair, Spark, LNpay, OpenNode, LightningTipBot, and with more being added regularly.

See LNbits Wiki for more detailed documentation.

Checkout the LNbits YouTube video series.

LNbits is inspired by all the great work of opennode.com, and in particular lnpay.co. Both work as funding sources for LNbits.

Running LNbits

See the install guide for details on installation and setup.

LNbits as an account system

LNbits is packaged with tools to help manage funds, such as a table of transactions, line chart of spending, export to csv + more to come..

Lightning network wallet

Each wallet also comes with its own API keys, to help partition the exposure of your funding source.

(LNbits M5StackSats available here https://github.com/arcbtc/M5StackSats)

lnurl ATM

LNbits as an LNURL-withdraw fallback

LNURL has a fallback scheme, so if scanned by a regular QR code reader it can default to a URL. LNbits exploits this to generate an instant wallet using the LNURL-withdraw.

lnurl fallback

Using lnbits.com/?lightning="LNURL-withdraw" will trigger a withdraw that builds an LNbits wallet. Example use would be an ATM, which utilizes LNURL, if the user scans the QR with a regular QR code scanner app, they will still be able to access the funds.

lnurl ATM

LNbits as an instant wallet

Wallets can be easily generated and given out to people at events. "Go to this website", has a lot less friction than "Download this app".

lnurl ATM

Tip us

If you like this project send some tip love!