कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

bitkit-cli

ovitrif द्वारा

Communication
360clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Bitcoin Lightning payment CLI for agents.

विवरण

यह स्किल क्या करती है

A command-line Bitcoin Lightning wallet built for AI agents. Handles self-custodial wallets, BOLT11 invoices, LNURL payments, inbound Lightning liquidity via an LSP, and end-to-end encrypted messaging between agent wallets. All output uses a consistent JSON envelope with typed exit codes.

Daemon mode eliminates per-command node startup latency, and typed exit codes with a consistent JSON envelope make payment flows directly scriptable without parsing human-readable output.

इसे कब इस्तेमाल करें

  • Automating Lightning micropayments between AI agents
  • Receiving payment for a completed agent task via BOLT11 invoice
  • Ordering inbound Lightning channel liquidity through Blocktank LSP
  • Sending encrypted structured messages to a peer agent wallet
  • Monitoring payment and channel events via webhooks in a backend service

उदाहरण वर्कफ़्लो

इनपुट

User asks: Set up a Lightning wallet and receive a 5000 sat payment

एजेंट
  1. 1

    Run bk init --no-password --json to create a self-custodial wallet

  2. 2

    Run bk start --json to launch the daemon for low-latency command execution

  3. 3

    Run bk lsp create-order 500000 --json to request inbound liquidity from Blocktank, then pay the returned on-chain address

  4. 4

    Poll bk lsp get-order <id> --json until state2 is Paid, then run bk lsp open-channel <id> --listen 9735 --json

  5. 5

    Run bk invoice 5000 --description "service" --wait --listen 9735 --json to generate an invoice and block until payment arrives

आउटपुट

JSON envelope with payment_hash and amount_sat confirming 5000 sats received

आवश्यकताएँ

  • bitkit binary installed via the install script at github.com/synonymdev/bitkit-cli
  • On-chain Bitcoin to fund the wallet and pay LSP channel fees

इंस्टॉलेशन

clawhub install ovitrif/bitkit-cli

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक