LaunchKit · 2026
Back to Skills

lnbits-with-qrcode

Manage LNbits Lightning Wallet (Balance, Pay, Invoice)

6
19.8k downloads
by @jamestsetsekas

Setup & Installation

openclaw skills install @jamestsetsekas/lnbits-with-qrcode

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install lnbits-with-qrcode

Version History

v1.0.2Feb 8, 2026 - Version note by skill developer:

- Updated invoice QR code response: Change from using IMAGE: to MEDIA: followed by the file path, ensuring QR images are properly handled. - Adjusted expected QR file path for invoices from /tmp/lnbits_qr/ to ./.lnbits_qr/, standardizing location for QR code images. - Updated examples and instructions to align with new response format (MEDIA: and path on one line). - No changes to commands or protocol; only the output format and file paths for QR code delivery were updated.

What This Skill Does

Manages an LNbits Lightning Network wallet through a CLI script. Supports checking balance, generating Bolt11 invoices with QR codes, and paying invoices with a confirmation step.

Enforces balance checks and explicit confirmation before payments, reducing the risk of accidental sends.

When to use it

  • Receiving a Bitcoin Lightning payment from a customer
  • Checking wallet balance before sending sats
  • Generating an invoice with a scannable QR code
  • Paying a Bolt11 invoice after verifying the amount
  • Setting up a new LNbits wallet on the demo server

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Create a 500 sat invoice for 'Coffee'

AGENT
  1. 1Run lnbits_cli.py invoice --amount 500 --memo 'Coffee'
  2. 2Parse the returned payment_request and qr_file path
  3. 3Display the full Bolt11 string for copying
  4. 4Output MEDIA: followed by the QR image path on one line
OUTPUT

A Bolt11 invoice string and a QR code image the payer can scan

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

LNBITS_API_KEY environment variableLNBITS_BASE_URL environment variableLNbits account (self-hosted or demo server at lnbits.com)