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

lnbits-with-qrcode

بواسطة jamestsetsekas

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

موجز

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

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

الروابط