Zum Inhalt springen
TakoAPI
Zurück zu den Skills

lnbits-with-qrcode

von jamestsetsekas

Speech & Transcription
19.8kDownloadzahlen laut clawskills.sh
6Sterne
21Aufrufe
0 LikesMelde dich an, um diesen Skill zu liken
—Noch nicht bewertet
Deine Bewertung

Kurzbeschreibung

Manage LNbits Lightning Wallet (Balance, Pay, Invoice)

Beschreibung

Was dieser Skill macht

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.

Wann du ihn einsetzt

  • 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

Beispiel-Workflow

EINGABE

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

AGENT
  1. 1

    Run lnbits_cli.py invoice --amount 500 --memo 'Coffee'

  2. 2

    Parse the returned payment_request and qr_file path

  3. 3

    Display the full Bolt11 string for copying

  4. 4

    Output MEDIA: followed by the QR image path on one line

AUSGABE

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

Voraussetzungen

  • LNBITS_API_KEY environment variable
  • LNBITS_BASE_URL environment variable
  • LNbits account (self-hosted or demo server at lnbits.com)

Installation

clawhub install jamestsetsekas/lnbits-with-qrcode

Führe den CLI-Befehl aus oder füge den Prompt in Claude Code, Cursor, Codex oder deinen Coding-Agenten ein.

Links