THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

WAB Restore Remove Recovery: Positive and Negative Test Evidence

permalink THAMER
#negative-test#recovery#remove#restore#wab

Source and scope

This article documents Stage 1, a live CURL test supplied on 18 November 2026. The original record is test1.txt. It describes observed API responses; it is not a cryptographic audit or proof of future availability.

The wallet identity used in the test is BTC-cH8yqlw0sc9ucRDTgurC. The published credentials are intentionally invalid examples; do not paste real BTC KEY or BTC SECRET into public articles, logs, or shell history.

First RESTORE

curl -sS -X POST "$BASE_URL/api/v5/id/restore" \
  -H "Content-Type: application/json" \
  -d "$(jq -n --arg id "$ID" --arg key "$KEY" --arg secret "$SECRET" \
    '{btc_id:$id,btc_key:$key,btc_secret:$secret}')" | jq .
{
  "btc_id": "BTC-cH8yqlw0sc9ucRDTgurC",
  "ok": true,
  "restored": true
}

RECOVERY

curl -sS -X POST "$BASE_URL/api/v5/id/recovery" \
  -H "X-BTC-KEY: $KEY" -H "Content-Type: application/json" -d '{}' | jq .
{
  "btc_id": "BTC-cH8yqlw0sc9ucRDTgurC",
  "btc_secret": "bts1_EXAMPLE_REPLACED_NOT_VALID",
  "ok": true,
  "recovered": true
}

REMOVE

curl -sS -X POST "$BASE_URL/api/v5/id/remove" \
  -H "X-BTC-KEY: $KEY" -H "Content-Type: application/json" \
  --data-binary "$(jq -n --arg id "$ID" --arg secret "$SECRET" \
    '{btc_id:$id,btc_secret:$secret,confirm:"REMOVE"}')" | jq .
{
  "btc_id": "BTC-cH8yqlw0sc9ucRDTgurC",
  "ok": true,
  "removed": true
}

ID/ME after REMOVE

curl -sS "$BASE_URL/api/v5/id/me" -H "X-BTC-KEY: $KEY" | jq .
{
  "error": "BTC ID not found"
}

RESTORE again

curl -sS -X POST "$BASE_URL/api/v5/id/restore" \
  -H "Content-Type: application/json" \
  -d "$(jq -n --arg id "$ID" --arg key "$KEY" --arg secret "$SECRET" \
    '{btc_id:$id,btc_key:$key,btc_secret:$secret}')" | jq .
{
  "btc_id": "BTC-cH8yqlw0sc9ucRDTgurC",
  "ok": true,
  "restored": true
}

The final ID/ME request again returned identity_version: 3, the same identity seal metadata, and the four wallet structures. The record does not include HTTP status codes. REMOVE is local only.

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects