跳到正文
TakoAPI
返回技能列表

lnbits

由 talvasconcelos 提供

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

简介

Manage LNbits Lightning Wallet (Balance, Pay, Invoice)

描述

该技能的功能

Manages an LNbits Lightning Network wallet through a CLI script. Supports checking balance, generating Bolt11 invoices to receive funds, and paying invoices with a mandatory confirmation step before execution.

Handles the decode-verify-confirm sequence automatically before any payment, reducing the chance of sending funds to the wrong destination or amount.

何时使用

  • Checking current Lightning wallet balance in satoshis
  • Generating an invoice to receive a Bitcoin payment from another wallet
  • Paying a Bolt11 invoice after verifying the amount and memo
  • Creating a new LNbits wallet on the demo server
  • Sending micropayments to a specific destination with confirmation

示例工作流

输入

User asks: Pay this invoice: lnbc1000n1...

智能体
  1. 1

    Decode the Bolt11 string to extract amount and memo

  2. 2

    Check wallet balance to confirm sufficient funds exist

  3. 3

    Ask user: 'I am about to send 1000 sats to [memo]. Proceed? (y/n)'

  4. 4

    Pay the invoice after user confirms

  5. 5

    Return the payment result or summarize any error in plain language

输出

Payment sent: 1000 sats to [memo]. Transaction confirmed.

前置要求

  • LNBITS_API_KEY environment variable
  • LNBITS_BASE_URL environment variable

安装

clawhub install talvasconcelos/lnbits

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

链接