微算力 · API 导航与自营网关
API 接入 EN
未登录登录
⚡

AI 代理的比特币闪电钱包

Bitcoin Wallet using Breez Spark SDK · v1.0.0
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(BAD_NAME)。我们仍保留下载,方便你自行查看内容。
开发 安全 B 级 作者 robertclarkson 公开目录收录
2.3k 下载 4 安装 8.7k 收藏 22 浏览

简介

基于 Breez SDK 的 AI 代理自托管比特币钱包,支持闪电网络与链上交易,适合自动化支付场景。

原始描述

Self-custodial Bitcoin and Lightning wallet for AI agents. Send and receive sats via Lightning Network, Spark, or on-chain Bitcoin. Use when: checking bitcoin balance, sending/receiving payments, generating Lightning invoices, managing wallet operations. Requires the BreezClaw plugin and a Breez API key.

通过你的 Agent 添加

安装目录:bitcoin-wallet-using-breez-spark-sdk/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/bitcoin-wallet-using-breez-spark-sdk/
Codex CLI~/.codex/skills/bitcoin-wallet-using-breez-spark-sdk/
DeepSeek Harness~/.agents/skills/bitcoin-wallet-using-breez-spark-sdk/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


slug: breezclaw name: BreezClaw description: "Self-custodial Bitcoin and Lightning wallet for AI agents. Send and receive sats via Lightning Network, Spark, or on-chain Bitcoin. Use when: checking bitcoin balance, sending/receiving payments, generating Lightning invoices, managing wallet operations. Requires the BreezClaw plugin and a Breez API key." version: 1.0.0 author: onesandzeros-nz keywords: bitcoin, lightning, wallet, breez, spark, sats, payments, self-custodial, breezclaw homepage: https://github.com/onesandzeros-nz/BreezClaw

BreezClaw

Self-custodial Bitcoin and Lightning wallet for AI agents. Powered by Breez SDK Spark.

Install

# Clone plugin
cd ~/.openclaw/extensions
git clone https://github.com/onesandzeros-nz/BreezClaw.git breezclaw

# Install dependencies and build
cd breezclaw
npm install
npm run build

Configure

1. Get Breez API Key

Sign up at https://breez.technology/sdk/

2. Add to OpenClaw Config

Edit ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "breezclaw": {
        "enabled": true,
        "config": {
          "breezApiKey": "YOUR_BREEZ_API_KEY",
          "network": "mainnet"
        }
      }
    }
  }
}

3. Restart

openclaw gateway restart

Tools

Tool Description
wallet_status Check wallet exists and connection state
wallet_connect Connect or create wallet from mnemonic
wallet_balance Get balance in sats and BTC
wallet_receive Generate payment request
wallet_prepare_send Prepare payment with fee estimate
wallet_send Execute confirmed payment
wallet_transactions List transaction history
wallet_info Detailed wallet info
wallet_backup Retrieve mnemonic (sensitive!)
wallet_disconnect Clean disconnect

Receive Methods

  • spark — Reusable Spark address (default)
  • spark_invoice — Spark invoice with amount
  • lightning — BOLT11 invoice
  • bitcoin — On-chain address

Payment Flow

Always two-step:

  1. wallet_prepare_send → Show fees
  2. User confirms → wallet_send(confirmed=true)

Security

  • Never expose mnemonic unless explicitly requested
  • Always show fees before sending
  • Require explicit confirmation for sends
  • Wallet data: ~/.openclaw/breezclaw/

Examples

"What's my balance?" → wallet_balance

"Invoice for 1000 sats" → wallet_receive(method="lightning", amount_sats=1000)

"Send 500 sats to user@wallet.com" → resolve LNURL → wallet_prepare_send → confirm → wallet_send

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

bitcoinlightning-networkself-custodialpaymentscrypto-walletai-agent-finance

同类 Skill