Skip to content

Commit 8a29557

Browse files
Calgooonclaude
andcommitted
fix: update deps to bsv-rs 0.3.2 + toolbox 0.3.2 (BEEF + deadlock fixes)
Updated to published crate versions: - bsv-rs 0.3.2: BEEF serialization round-trip preserves raw tx bytes - bsv-wallet-toolbox-rs 0.3.2: make_available deadlock fix, RAII lock guards Added E2E scenario 14: BEEF round-trip broadcast test (real sats via ARC). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5a8d0be commit 8a29557

6 files changed

Lines changed: 620 additions & 6 deletions

File tree

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ name = "bsv-wallet"
2323
path = "src/main.rs"
2424

2525
[dependencies]
26-
bsv-wallet-toolbox = { package = "bsv-wallet-toolbox-rs", version = "0.3", features = ["sqlite"] }
27-
bsv-sdk = { package = "bsv-rs", version = "0.3", features = ["full"] }
26+
bsv-wallet-toolbox = { package = "bsv-wallet-toolbox-rs", version = "0.3.2", features = ["sqlite"] }
27+
bsv-sdk = { package = "bsv-rs", version = "0.3.2", features = ["full"] }
2828
tokio = { version = "1", features = ["full"] }
2929
clap = { version = "4", features = ["derive"] }
3030
dotenvy = "0.15"

LAUNCH-ANNOUNCEMENT.md

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
# bsv-wallet-cli Launch Announcement — Draft
2+
3+
---
4+
5+
## 1. Twitter/X — Pick one main post + one reply
6+
7+
---
8+
9+
### MAIN POST — Option A: "The Count"
10+
11+
There are two BRC-100 wallets in the world. Both need a desktop. Neither runs on a server.
12+
13+
Today there are three. This one is headless, self-hosted, and built for AI agents.
14+
15+
Single Rust binary. All 28 BRC-100 endpoints. Wire-compatible with MetaNet Client. MIT licensed.
16+
17+
Your agent's favorite wallet.
18+
19+
https://github.com/Calhooon/bsv-wallet-cli
20+
21+
---
22+
23+
### MAIN POST — Option B: "Agents Need Wallets"
24+
25+
AI agents need wallets. Not browser extensions. Not desktop apps. A headless server they can call over HTTP.
26+
27+
Built one. Single Rust binary, all 28 BRC-100 endpoints, wire-compatible with MetaNet Client. One wallet server, N agents pointing at it. Keys never leave the server.
28+
29+
Open source, MIT licensed.
30+
31+
https://github.com/Calhooon/bsv-wallet-cli
32+
33+
---
34+
35+
### MAIN POST — Option C: "Three Commands"
36+
37+
Three commands to a self-hosted BRC-100 wallet:
38+
39+
bsv-wallet init
40+
bsv-wallet address
41+
bsv-wallet daemon
42+
43+
All 28 WalletInterface endpoints on localhost. Single Rust binary. SQLite. No GUI, no cloud, no account. Wire-compatible with MetaNet Client.
44+
45+
Built for servers and AI agents. Open source.
46+
47+
https://github.com/Calhooon/bsv-wallet-cli
48+
49+
---
50+
51+
### MAIN POST — Option D: "Short and Let the Repo Talk"
52+
53+
Open-sourced bsv-wallet-cli. Self-hosted BRC-100 wallet and server in a single Rust binary.
54+
55+
All 28 endpoints. Wire-compatible with MetaNet Client. Built for AI agents that need to pay, sign, and encrypt without a GUI.
56+
57+
https://github.com/Calhooon/bsv-wallet-cli
58+
59+
---
60+
61+
### MAIN POST — Option E: "The Problem"
62+
63+
Every BRC-100 wallet requires a desktop. Can't run one on a server, in a container, or from a cron job. If you're building agents or infrastructure, you're stuck.
64+
65+
Fixed it. bsv-wallet-cli is a headless, self-hosted BRC-100 wallet. Single Rust binary, all 28 endpoints, MIT licensed.
66+
67+
https://github.com/Calhooon/bsv-wallet-cli
68+
69+
---
70+
71+
### REPLY — Option 1: "Install in 60 Seconds"
72+
73+
Install and run in 60 seconds:
74+
75+
curl -sSf https://raw.githubusercontent.com/Calhooon/bsv-wallet-cli/main/install.sh | sh
76+
bsv-wallet init
77+
bsv-wallet daemon
78+
79+
28 BRC-100 endpoints on localhost:3322. MCP server included for Claude Code / Codex.
80+
81+
---
82+
83+
### REPLY — Option 2: "What You Get"
84+
85+
What's in the box:
86+
- CLI wallet + HTTP server in one binary
87+
- All 28 BRC-100 endpoints (transactions, crypto, certs, discovery)
88+
- MCP server for AI coding assistants
89+
- SQLite storage, no external deps
90+
- Wire-compatible with MetaNet Client
91+
92+
curl -sSf https://raw.githubusercontent.com/Calhooon/bsv-wallet-cli/main/install.sh | sh
93+
94+
---
95+
96+
### REPLY — Option 3: "Hackathon Plug"
97+
98+
AgenticPay hackathon is live — if you're building AI payment infrastructure, this is the wallet layer.
99+
100+
One wallet server, N agents. Custody separation built in. Keys on a hardened server, agents on throwaway VMs.
101+
102+
curl -sSf https://raw.githubusercontent.com/Calhooon/bsv-wallet-cli/main/install.sh | sh
103+
104+
---
105+
106+
## 2. Discord/Telegram Post
107+
108+
**bsv-wallet-cli -- Your agent's favorite wallet.**
109+
110+
Just open-sourced the first headless BRC-100 wallet. It's a single Rust binary that runs as both a CLI wallet and an HTTP server implementing all 28 WalletInterface endpoints. Wire-compatible with MetaNet Client, so anything built for MetaNet Desktop works against it with zero changes. Until now the only BRC-100 wallets were MetaNet Desktop and Yours Wallet -- both GUI-only, neither deployable on a server. This one runs anywhere: your laptop, a VPS, a Docker container, a Raspberry Pi.
111+
112+
The real unlock is for AI agents. Run `bsv-wallet daemon` on a server, point your agent fleet at it, and every agent gets full BRC-100 capabilities -- transactions, signing, encryption, certificates -- through a simple HTTP API. There's also an MCP server binary so Claude Code, Codex, or any MCP-compatible client gets 29 wallet tools natively. Custody is separated by design: private keys never leave the wallet server, agents only speak protocol IDs and key IDs.
113+
114+
Install in one line and have a running wallet in under a minute:
115+
```
116+
curl -sSf https://raw.githubusercontent.com/Calhooon/bsv-wallet-cli/main/install.sh | sh
117+
bsv-wallet init
118+
bsv-wallet daemon
119+
```
120+
MIT licensed. Repo: https://github.com/Calhooon/bsv-wallet-cli
121+
122+
---
123+
124+
## 3. Show HN
125+
126+
**Title:** Show HN: bsv-wallet-cli -- Self-hosted BSV wallet and BRC-100 server in Rust
127+
128+
**Body:**
129+
130+
I built a self-hosted Bitcoin SV wallet that doubles as an HTTP server implementing all 28 endpoints of the BRC-100 WalletInterface specification. Single Rust binary, SQLite storage, no external dependencies.
131+
132+
The motivation was AI agents. I'm building an autonomous agent (bsv-worm) that needs to send and receive micropayments, sign messages, and manage certificates -- and there was no headless wallet that spoke BRC-100. The two existing implementations (MetaNet Desktop, Yours Wallet) are both GUI applications.
133+
134+
Technical details:
135+
- Axum HTTP server on port 3322 with all 28 BRC WalletInterface endpoints (transactions, crypto, certificates, discovery)
136+
- Wire-compatible with MetaNet Client (the reference implementation) -- same JSON shapes, same URL structure, drop-in replacement
137+
- Translation layer handles format differences between the MetaNet Client JSON protocol and the Rust SDK types (mixed arrays vs structs, number arrays vs hex strings, camelCase aliasing)
138+
- SQLite with WAL mode for read concurrency, FIFO spending lock to serialize UTXO selection under contention
139+
- BEEF transaction format with automatic compaction and AtomicBEEF conversion
140+
- MCP server binary exposes all endpoints as tools for AI coding assistants
141+
- 41 synthetic integration tests + E2E test suite against a live wallet
142+
- One-line install script with pre-built binaries for macOS/Linux (x86_64, aarch64), cargo fallback
143+
144+
The architecture separates custody from application logic. Agents never see private keys -- they request operations by protocol ID and key ID, and the wallet derives keys internally via BRC-42.
145+
146+
MIT licensed. Install: `curl -sSf https://raw.githubusercontent.com/Calhooon/bsv-wallet-cli/main/install.sh | sh`
147+
148+
https://github.com/Calhooon/bsv-wallet-cli

0 commit comments

Comments
 (0)