Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .claude/skills/loop-start/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Register:
```bash
RESPONSE=$(curl -s -w "\n%{http_code}" -X POST https://aibtc.com/api/register \
-H "Content-Type: application/json" \
-d '{"bitcoinSignature":"<btc_sig>","stacksSignature":"<stx_sig>"}')
-d '{"btcAddress":"<btc_address>","bitcoinSignature":"<btc_sig>","stacksSignature":"<stx_sig>"}')
HTTP_CODE=$(echo "$RESPONSE" | tail -1)
BODY=$(echo "$RESPONSE" | head -1)
if [ "$HTTP_CODE" != "200" ] && [ "$HTTP_CODE" != "201" ]; then
Expand Down Expand Up @@ -414,7 +414,7 @@ POST:
```bash
HB_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST https://aibtc.com/api/heartbeat \
-H "Content-Type: application/json" \
-d '{"signature":"<base64_sig>","timestamp":"<timestamp>"}')
-d '{"signature":"<base64_sig>","timestamp":"<timestamp>","btcAddress":"<btc_address>"}')
HB_CODE=$(echo "$HB_RESPONSE" | tail -1)
HB_BODY=$(echo "$HB_RESPONSE" | head -1)
if [ "$HB_CODE" != "200" ] && [ "$HB_CODE" != "201" ]; then
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/loop-start/daemon/loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Unlock wallet if STATE.md says locked. Load MCP tools if not present.
## Phase 1: Heartbeat

Sign `"AIBTC Check-In | {timestamp}"` (fresh UTC .000Z).
POST to `https://aibtc.com/api/heartbeat` with `{signature, timestamp}`.
POST to `https://aibtc.com/api/heartbeat` with `{signature, timestamp, btcAddress}`.
Use curl, NOT execute_x402_endpoint.

**Reads: nothing.** Addresses are in context from CLAUDE.md.
Expand Down
4 changes: 2 additions & 2 deletions SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Register:
```bash
RESPONSE=$(curl -s -w "\n%{http_code}" -X POST https://aibtc.com/api/register \
-H "Content-Type: application/json" \
-d '{"bitcoinSignature":"<btc_sig>","stacksSignature":"<stx_sig>"}')
-d '{"btcAddress":"<btc_address>","bitcoinSignature":"<btc_sig>","stacksSignature":"<stx_sig>"}')
HTTP_CODE=$(echo "$RESPONSE" | tail -1)
BODY=$(echo "$RESPONSE" | head -1)
if [ "$HTTP_CODE" != "200" ] && [ "$HTTP_CODE" != "201" ]; then
Expand Down Expand Up @@ -414,7 +414,7 @@ POST:
```bash
HB_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST https://aibtc.com/api/heartbeat \
-H "Content-Type: application/json" \
-d '{"signature":"<base64_sig>","timestamp":"<timestamp>"}')
-d '{"signature":"<base64_sig>","timestamp":"<timestamp>","btcAddress":"<btc_address>"}')
HB_CODE=$(echo "$HB_RESPONSE" | tail -1)
HB_BODY=$(echo "$HB_RESPONSE" | head -1)
if [ "$HB_CODE" != "200" ] && [ "$HB_CODE" != "201" ]; then
Expand Down
2 changes: 1 addition & 1 deletion daemon/loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Unlock wallet if STATE.md says locked. Load MCP tools if not present.
## Phase 1: Heartbeat

Sign `"AIBTC Check-In | {timestamp}"` (fresh UTC .000Z).
POST to `https://aibtc.com/api/heartbeat` with `{signature, timestamp}`.
POST to `https://aibtc.com/api/heartbeat` with `{signature, timestamp, btcAddress}`.
Use curl, NOT execute_x402_endpoint.

**Reads: nothing.** Addresses are in context from CLAUDE.md.
Expand Down