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

Restoring Bitcoin Wallet State Across Independent Engine Installations

permalink THAMER
#bitcoin-sovereignty#flying-wallet#wab#wallet-ai-bitcoin#wallet-identity

Research status: Engineering philosophy based on the stated product design and prior laboratory reports. Proposed tests and examples are illustrative; no new live execution is claimed.

Restoration has multiple completion conditions

“Recover your wallet identity across installations” should be evaluated as a sequence of observable conditions. Importing an identity, recognizing its descriptors, discovering outputs and making funds available for spending are related but distinct events. A successful RESTORE response does not alone establish that every historical output has been reconciled.

A proposed controlled experiment

Use a dedicated Testnet identity and two compatible isolated installations. Record the original engine version, network, address type, policy identity and a known confirmed outpoint. Keep credentials and recovery material private. Disable spending from the original client before enabling the replacement. Restore using the documented API and record the response status without secrets.

Poll the supported balance and UTXO operations with bounded retries. A warming or incomplete state must not be interpreted as a zero balance. Compare snapshots at compatible chain heights and distinguish confirmed, incoming unconfirmed and reserved outputs. For both SegWit and Taproot, compare known derivation indices where available rather than assuming that receive address counters are unchanged.

Acceptance matrix

| Check | Evidence |
|---|---|
| Identity continuity | Expected BTC ID |
| Policy continuity | Same signed law identity |
| Network isolation | Correct Testnet context |
| Output continuity | Matching txid, vout and amount |
| Spendable state | Confirmed, eligible and unreserved output |
| Recovery latency | Time from import to reconciled snapshot |

Do not require two engines to have identical mempool observations at different times. Do not sum the same output twice merely because two installations report it. Bitcoin consensus determines whether an output has been spent, not the number of local databases tracking it.

Negative tests

Test an unavailable recovery source, incompatible identity version and interrupted restoration in a disposable environment. Record whether the operation can be safely retried and whether partial state is visible. Do not assume rollback or atomic database semantics without implementation evidence. An authorized Testnet spend after reconciliation could provide stronger evidence, but it is a separate experiment requiring approval and fee accounting.

Research boundary

The existing restoration narrative documents local import and subsequent successful receive. The balance reconciliation research distinguishes chain evidence from local readiness. The cross-installation matrix above is a proposed extension, not a claim that this entire matrix has already passed.

Primary references and related research

  • [Wallet identity restoration and agent authentication](/docs/wab-agent-wallet-restoration)
  • [Bitcoin payment and balance reconciliation](/docs/wab-agent-balance-reconciliation)
  • [Bitcoin sovereignty as a software architecture](/docs/wab-philosophy-sovereignty-architecture)

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