Bitcoin Wallet using Breez Spark SDK
/install bitcoin-wallet
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 amountlightning— BOLT11 invoicebitcoin— On-chain address
Payment Flow
Always two-step:
wallet_prepare_send→ Show fees- 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 [email protected]" → resolve LNURL → wallet_prepare_send → confirm → wallet_send
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bitcoin-wallet - 安装完成后,直接呼叫该 Skill 的名称或使用
/bitcoin-wallet触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Bitcoin Wallet using Breez Spark SDK 是什么?
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1735 次。
如何安装 Bitcoin Wallet using Breez Spark SDK?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install bitcoin-wallet」即可一键安装,无需额外配置。
Bitcoin Wallet using Breez Spark SDK 是免费的吗?
是的,Bitcoin Wallet using Breez Spark SDK 完全免费(开源免费),可自由下载、安装和使用。
Bitcoin Wallet using Breez Spark SDK 支持哪些平台?
Bitcoin Wallet using Breez Spark SDK 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Bitcoin Wallet using Breez Spark SDK?
由 robertclarkson(@robertclarkson)开发并维护,当前版本 v1.0.0。