LNBits is the toolbox; this note is the shop-floor playbook. The design constraint every in-person setup solves is the same: a point of sale should not need connectivity or custody, and the customer's phone already has both.
Summary
| Setup | Merchant connectivity at sale | Custody | Hardware | Best for |
|---|---|---|---|---|
| Static LNURL-pay QR (printable) | None | Self (your node) | Paper | Cafés, menus, tip jars, any fixed price |
| LNbits Offline Shop (printed per-item QRs) | None | Self | Paper + wordlist/TOTP | Stalls, unattended shelves, night service |
| LNURLPoS / LNPoS device (ESP32) | None at sale; sync via customer phone | Self | ~€20 microcontroller | Markets, festivals, no-WiFi terraces |
| LNbits TPoS (web checkout) | Yes | Self or SaaS | Any tablet/phone | Staffed shops: carts, tips, receipts, cash validation |
| BTCPay Server PoS app | Yes (invoice generated at checkout) | Self | Any tablet/phone | Self-hosted shops wanting on-chain + Lightning |
| Bolt Cards / NFC | None to low | Self (one-time links) | NFC card | Tap-to-pay regulars, events |
| OTC cash sale (LNURLATM, FOSSA, TPoS OTC) | Varies | Self | Device or tablet | Selling sats over the counter — regulated, see below |
The organising idea, stated in the LNURLPoS README itself: "The burden of connectivity can be taken away from the point-of-sale and given to the phone." Everything offline below is a variation on that transfer.
Part 1 — Merchant-offline acceptance
Static LNURL-pay codes
An LNURL-pay code (LNURLp in LNbits, Lightning Address in most wallets) is a small HTTPS URL rendered as a QR. The customer's wallet fetches it, gets a fresh invoice at scan time, pays it, and receives the confirmation on their own screen. Because the invoice is minted per scan, the code can be printed once and used forever — no merchant device participates in the transaction at all. Denominate in fiat (LNbits LNURLp supports fiat pricing, converted at scan time) if you do not want to reprint when the exchange rate moves.
This is the cheapest possible deployment: a laminated sheet. Its weakness is physical: a printed code can be swapped for an attacker's code. Tape over originals, check them like you check card terminals for skimmers, and treat a tampered sticker as a security incident.
LNbits Offline Shop
The Offline Shop extension prints one QR per product. Each is an LNURLp carrying the product's identity and price (fiat prices convert at scan time). The anti-fraud problem offline acceptance creates — how does the merchant know the payment really happened? — is solved by a confirmation code the customer's wallet shows after payment, with two mechanisms:
- Wordlist (default): the customer receives the next word in a sequential list ("albatross" toward "zebra", or any custom list). The merchant keeps the same list on paper and checks the spoken word against their position. Sequentiality means a screenshot of yesterday's word does not replay today.
- TOTP: the customer scans a setup QR with an authenticator app; each payment yields the current time-based code, checked against the merchant's app. Stronger, more friction.
Both are confidence mechanisms, not cryptographic proof to the merchant — they bind the customer's wallet display to the LNbits record. A merchant who distrusts the display can check the wallet/extension transaction list once connectivity returns. Disabling confirmations entirely is possible and is a deliberate trust decision.
LNURLPoS hardware
arcbtc/LNURLPoS (2021, GPL-3.0, ~205 stars) is the DIY reference: an ESP32 (LilyGo TTGO T-Display — the manufacturer ships a specific kit) with a membrane keypad. The device stores four values: the LNURL server URL (an LNbits instance running the LNURLPoS/LNURLDevice extension), a PoS ID, a secret shared with the server, and a fiat denomination — because an offline device cannot see exchange rates. At sale time the clerk types an amount; the device "generates a unique pin, then encrypts the amount+pin using the shared secret and a nonce" into an LNURL the customer scans. The customer's wallet resolves it, the server validates the encrypted payload, issues the real invoice, and the customer pays from their own connectivity. Receipt/confirmation flows back as in Offline Shop.
The LNPoS firmware (installer at lnpos.lnbits.com) bundles four modes in one device: LNPoS (online Lightning), LNURLPoS (offline, above), OnChain (displays a BIP-21 address derived from a master public key you configure — receive on-chain with zero connectivity), and LNURLATM (offline Lightning withdraw links — i.e. selling sats, below). Flash it yourself from source; a money-handling ESP32 from an unknown vendor is a supply-chain decision you made without noticing.
The honest caveat: "offline" here means merchant-side. The customer needs an internet-connected LNURL wallet at the moment of purchase. In a genuine communications shutdown neither side of this works — that scenario is Lightning Network Deep Dive's problem and the off-grid folders', not a POS design's.
Part 2 — Merchant-online acceptance
LNbits TPoS (Merchant Stack)
TPoS is LNbits's staffed-checkout surface: touch cart, product catalogue backed by the shared Inventory extension, tips, tax/VAT fields, cash validation (checking a claimed cash sale into the records), customer and kitchen receipts (printer workflows via the TPoS Wrapper app), and a remote payment display — the two-device flow where staff builds the cart on one screen and the QR appears on a customer-facing phone. v1.7-era TPoS can also take Stripe card payments (tap-to-pay needs a GMS-certified NFC Android device and the TPoS Wrapper) and on-chain payments against a watch-only wallet. Settlement entries — cash, on-chain, OTC selling — are super-user actions deliberately kept behind restricted access "because they affect accounting records".
Operate it per the LNBits hot-wallet rule: the wallet behind TPoS holds float, not savings.
BTCPay Server PoS app
BTCPay's answer is a store-scoped app: Point of Sale (three views — Static item list, Cart, and Light, a bare keypad added in v1.0.5.6), plus Crowdfunding (self-hosted perks campaign) and Pay Button for existing sites. Created in the dashboard (Apps → Create new app → Point of Sale), published at a URL you can open on a tablet or pin to a phone homescreen; a domain can be mapped to the PoS app directly. Everything settles to the store's wallet with no third party and no fees.
The structural difference from the offline options: a BTCPay PoS generates an invoice at checkout time, so the merchant needs connectivity during the sale (the invoice's on-chain/Lightning detection, rate conversion and payment watching all happen server-side). BTCPay is the choice when you want self-hosted, non-custodial settlement with real invoice management (underpaid invoices tracked, over/under-payment policies configurable) and accept the connectivity requirement; the printed-LNURL route is the choice when you do not. The two are not rivals — many operators run BTCPay for online/store and a paper LNURL sheet for the market stall.
Bolt Cards
The Bolt Cards extension issues NFC cards whose taps redeem one-time LNURL-withdraw links against your LNbits wallet — a customer taps, the card's link pays a fresh invoice, the link burns. It is tap-to-pay without a custodian, well suited to events and regulars; the flip side is that a card is a bearer object for its remaining balance, and card provisioning is exactly the kind of extension connection the November 2026 advisory told operators to audit and re-create.
Part 3 — Selling bitcoin over the counter (OTC)
Accepting bitcoin for goods is ordinary commerce; selling bitcoin for cash is a different legal category almost everywhere. The tools, so you know what you would be operating: LNPoS's LNURLATM mode (create an offline withdraw link for a fiat amount, add a profit-margin markup at setup — the coincharge walkthrough uses 5%), the LNbits FOSSA extension (community Bitcoin ATM hardware), and TPoS's OTC flow (super-user gated). The LNbits merchant docs themselves instruct advisors to state "local rules for selling bitcoin, if using OTC/ATM features" as a boundary.
Legal exposure has its own note, Legal Exposure of the Parallel Economy; this note takes the operational position only: OTC is where merchant tooling stops being privacy-neutral. Every counter sale pairs a face, a fiat amount and an on-chain/Lightning artefact. If you operate one, that pairing is your data trail whether or not any regulator ever asks for it.
Trade-offs
- Offline vs online checkout. Printed LNURL/Offline Shop/LNURLPoS need zero merchant connectivity and cost almost nothing, but give the merchant only an after-payment confirmation code plus trust; TPoS/BTCPay give invoices, receipts and accounting but die with the shop's internet.
- Paper codes vs devices. Paper cannot crash and cannot be remotely compromised, but can be silently swapped and carries no accounting; devices do accounting and encryption, but must be flashed from source, stored physically secure, and re-synced.
- Fiat denomination vs sats. Fiat-priced LNURLs (conversion at scan time) protect margins during volatility — the LNURLPoS design went out of its way to make this the default "being offline sats becomes too volatile" — but add a rate dependency to every offline sale.
- Self-host vs SaaS. A hosted LNbits instance (my.lnbits.com) removes server work; the operator of it sees your sales metadata, and your funds sit behind that tenant's security — the LNBits incident of 2026-11 is the reference case for what that means.
- One wallet for the till or per-staff wallets. LNbits's whole premise is cheap isolated wallets with separate keys; a wallet per till or per staff member keeps a leaked checkout key from costing the shop's float.
Attack surface
- Fake-payment display. The classic in-person fraud: a doctored "payment sent" screen. Confirmations exist precisely for this — wordlist/TOTP offline, merchant-side settlement notification online. Never release goods against a customer's screenshot alone.
- Printed-code swapping. Sticker-over-sticker replacement of LNURL QRs redirects sales to an attacker's wallet. Physically seal codes, inspect regularly, use tamper-evident tape.
- Hot-wallet compromise. TPoS and every LNbits wallet are hot wallets; the 2026-11-08 LNbits vulnerability ("funds running on prior versions are at risk of being stolen") is the live demonstration. Keep till balances minimal, sweep to cold storage, patch on advisory day.
- Device supply chain. An ESP32 PoS bought pre-flashed runs someone else's firmware on your money. Build from the published source; verify the device string (server URL, PoS ID, secret) you paste in is yours.
- On-chain zero-conf acceptance. Any setup that accepts on-chain payment for immediate handover (LNPoS OnChain mode, TPoS watch-only, BTCPay on-chain) accepts replaceable money: an RBF-enabled double-spend reverses after the customer walks. Zero-conf is a loan you extend the customer; price the risk or require confirmations for anything non-trivial.
- Connectivity-dependence of the customer side. Offline PoS still requires the customer's wallet to reach your LNURL server — DNS, HTTPS and your server's certificate chain are all failure and interception points. Self-host the server, keep it reachable, and know that a shutdown kills the flow from the customer's side even when your stall has power.
- OTC records as surveillance artefacts. Fiat-to-sats exchanges aggregate identity, amount and payment data in one place — on your server, and on any hosted instance. Retain as little as the operation allows.
- Extension and integration drift. Bolt Cards, TPOS, FOSSA, LNDHub and NWC Provider hold standing connections into your LNbits; the post-incident guidance was to revoke and recreate them all. Audit periodically; dead connections are unmonitored keys.
Evidence
| Claim | Source | Read |
|---|---|---|
| LNURLPoS design rationale ("burden of connectivity… given to the phone"), stored data (server URL, PoS ID, secret, fiat denomination), amount+pin encrypted with shared secret and nonce | arcbtc/LNURLPoS README, setup/payment workflow |
2026-11-24 |
| Offline Shop: per-product LNURLp QRs, fiat conversion at scan time, wordlist (albatross→zebra) and TOTP confirmation modes, disable option | docs.lnbits.com extensions/offlineshop | 2026-11-24 |
| LNPoS firmware modes: LNPoS (online), LNURLPoS (offline), OnChain, LNURLATM; browser-based flash installer | lnpos.lnbits.com; arcbtc/LNURLPoS README | 2026-11-24 |
| LNPoS hardware build (LilyGo TTGO T-Display, LilyGo kit, keypad, xpub for on-chain mode, profit-margin field for ATM), extension workflow | coincharge.io LNPoS walkthrough; arcbtc/LNURLPoS |
2026-11-24 |
| TPoS capabilities: carts, tips, tax, Stripe tap-to-pay (TPoS Wrapper, GMS NFC device), cash validation, on-chain watch-only, remote two-device checkout, receipts, super-user settlement/OTC entries | docs.lnbits.com merchant-stack/tpos | 2026-11-24 |
| Merchant Stack pieces: TPoS + Inventory + Orders + WebShop + Tabs + SaaS; inventory as shared product source | docs.lnbits.com merchant-stack/, /inventory | 2026-11-24 |
| BTCPay PoS app: Static/Cart/Light views (Light since v1.0.5.6), tablet/homescreen deployment, domain mapping; Crowdfunding app; no fees, no third party, direct to wallet | docs.btcpayserver.org/Apps/, /FAQ/Apps/ | 2026-11-24 |
| Bolt Cards: self-custody NFC cards with one-time LNURLw links | docs.lnbits.com extensions index | 2026-11-24 |
| FOSSA as "Bitcoin ATM — sell bitcoin for cash"; TPoS OTC selling via LNURL withdraw; advisor boundary: "local rules for selling bitcoin" | docs.lnbits.com extensions; merchant-stack/tpos; merchant-stack/advisors | 2026-11-24 |
| LNbits 1.7.0 advisory: prior versions' funds at risk; audit/recreate NWC Provider, LNDHub, Bolt Cards, TPOS, Bleskomat, FOSSA connections | news.lnbits.com 1-7-0 security update | 2026-11-24 |
Related
- LNBits — the platform underneath most of this: funding sources, extensions, the Merchant Stack, and the 2026-11 incident
- Lightning Network Deep Dive — invoices, LNURL and what the network actually settles
- Bitcoin Contracts and Escrow — hold invoices, if your in-person trade needs a dispute window
- Cashu and Chaumian Ecash — ecash mints as an alternative till technology with better customer privacy
- P2P Markets over Nostr and Lightning — protocol-level trade (Mostro, NIP-99) rather than counter-level
- Value for Value — the tip-jar/LNURL patterns at internet scale
Primary sources
- LNbits documentation
- arcbtc/LNURLPoS on GitHub
- BTCPay Server apps documentation
- BTCPay Server apps FAQ
- LNbits news (1.7.0 security update)
Page history
- Updated
- 2026-11-24
- Origin
- Compiled from the ungovernable.tech research notes.
- Improve this page
- Suggest an edit — issues and pull requests are welcome.