LNBits Wallet wtih QR Code
Manage an LNbits Lightning Network wallet directly from your AI assistant. Check balances, create invoices with QR codes, decode and pay Bolt11 invoices, and create new wallets.
# LNBits Wallet wtih QR Code Manage an LNbits Lightning Network wallet directly from your AI assistant. Check balances, create invoices with QR codes, decode and pay Bolt11 invoices, and create new wallets. This skill enables your AI assistant to manage an LNbits Lightning Network wallet. It provides a CLI interface for checking wallet balances, generating Bolt11 invoices with automatic QR code creation, paying invoices with mandatory confirmation prompts, and setting up new wallets on the LNbits demo server. ## How It Works The skill includes a Python CLI script ( lnbits_cli.py ) that communicates with any LNbits instance via its API. All requests are authenticated using your LNbits Admin Key. The assistant invokes CLI commands for each operation — balance checks, invoice creation, payment decoding and execution — and follows strict safety protocols including mandatory payment confirmation and secret key protection. ## Key Features - **Balance Check**: View your current wallet balance in Satoshis before any transaction - **Invoice Generation with QR Code**: Create Bolt11 invoices with automatic QR code image generation for easy mobile payments - **Payment with Confirmation**: Pay invoices only after explicit user confirmation, with automatic balance verification beforehand - **Invoice Decoding**: Decode Bolt11 invoices to verify amount and memo before paying - **QR Code from Existing Invoice**: Generate QR code images from any existing Bolt11 string - **Wallet Creation**: Set up new LNbits wallets on the demo server directly from the assistant - **Secret Protection**: Admin keys, user IDs, and wallet IDs are never displayed in chat responses ## Requirements - **LNbits API Key**: Your LNbits Admin Key for authenticating wallet operations. Obtain from your LNbits instance settings - **LNbits Base URL**: The URL of your LNbits instance (e.g., the demo server or a self-hosted instance) - **Python 3**: Required to run the CLI script ## Use Cases - **Receiving Lightning Payments**: Generate invoices with QR codes to receive Bitcoin payments over the Lightning Network - **Sending Lightning Payments**: Decode and pay Bolt11 invoices with built-in safety confirmations - **Wallet Monitoring**: Quickly check your Lightning wallet balance through conversational commands - **Quick Wallet Setup**: Create a new LNbits wallet on the demo server without leaving your assistant ## Installation Install via: `npx clawhub@latest install lnbits-with-qrcode`