RoadmapsProjects
Sign in./start

Learn

RoadmapsProjects

Contribute

DiscoverIssues

Account

Sign in./start-building

Become an Open Source Builder. Learn. Build. Contribute.

Learn

RoadmapsProjectsStart Building

Contribute

DiscoverIssues

Account

Sign inDashboardSettings

Legal

PrivacyTerms

© 2026 Pull // all rights reserved

PrivacyTerms

lesson // lightning

Lightning POS

Build a point-of-sale app that creates invoices and tracks settlement.

advanced2 weeksproject // lightning-pos

Public lesson — sign in to track progress on this roadmap.

./sign-in

On this page

Learning objectives

  • Create invoices from a backend node
  • Subscribe to invoice settlement events
  • Design a cashier UX for pending vs paid

study // plan

Lessons are primers. Depth comes from required reading, interactive labs, reflection, and a hands-on check with evidence — the BOSS study pattern.

Research on Bitcoin Search

Required reading

  • boltBOLT11

Reflection prompts

  1. Explain Lightning POS to a teammate without jargon — what problem does it solve?
  2. What would break in production if you misunderstood Lightning POS?
  3. Which BOLT (or implementation doc) is the source of truth for this topic, and what did you verify there?

Lab // Project milestone evidence

For Lightning POS, complete the linked project spec happy path on regtest/Polar and capture demo evidence before marking the lesson complete.

evidence required

  • ·Link to public repo or branch
  • ·Commands or screenshots proving the happy path
  • ·Short note of one failure case you tested

A Lightning POS turns protocol knowledge into a merchant tool: show QR, wait for payment, print/mark paid.

Build challenge

  1. Create invoice for cart total
  2. Display BOLT11 QR
  3. Detect settlement via websocket/webhook/RPC subscribe
  4. Handle expiry and cancel

Loading diagram…

POS mints invoices and listens until settled or expired.

Idempotent tickets

Bind each charge to an idempotency key so refreshes do not create duplicate invoices accidentally.

Next steps

Build a Node Ops Dashboard for channels and routing revenue.

further reading

  • docsLND invoices API
  • bookMastering the Lightning Network

    Ch. 15: Payment Requests

build // challenge

project // lightning-pos

Apply what you learned in a focused build session. Ship something small, test it on regtest, and document your approach before moving on.

progress // sign in

Reading is public. Sign in to mark lessons complete, sync across devices, and unlock your roadmap.

./sign-in-to-track
prevWatchtowersnextNode Ops Dashboard

On this page

Press Shift + ? for keyboard shortcuts.

Press R to research on Bitcoin Search.