تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

lnbits

بواسطة talvasconcelos

Speech & Transcription
1.4kالتنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط