跳到正文
TakoAPI
返回技能列表

lnbits-with-qrcode

由 jamestsetsekas 提供

Speech & Transcription
19.8k下载量由 clawskills.sh 提供
6星标
21浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Manage LNbits Lightning Wallet (Balance, Pay, Invoice)

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

前置要求

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

安装

clawhub install jamestsetsekas/lnbits-with-qrcode

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接