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

Recovering Deterministic Receiving Addresses Across Engine Installations

permalink THAMER
#bitcoin-engineering#hd-proxy-addresses#wab#wallet-ai-bitcoin

Research status: Engineering analysis based on the stated product architecture and Bitcoin standards. Proposed examples and tests are illustrative; no new live execution is claimed.

Recovery must include historical outputs

The Flying Wallet promise is “Recover your wallet identity across installations.” For a wallet with multiple deterministic receiving addresses, recovery must include discovery of previously funded scripts. Reproducing the first address alone is not sufficient. A wallet may contain unused indices between funded destinations, and a recovery process must know how far to search.

BIP44 describes a gap limit convention for account discovery. That convention is not proof that WAB uses the same limit. Descriptor ranges, persisted allocation state and chain scan capabilities are implementation-specific. A pruned Bitcoin node may lack historical blocks required for some rescans. Current UTXO discovery and complete historical transaction reconstruction are distinct tasks.

Recovery evidence

| Before removal | After restoration |
|---|---|
| Known funded outpoints | Same outpoints if still unspent |
| Script and network | Matching script and chain |
| Confirmation state | Updated according to current chain |
| Allocation records | Restored separately by application |
| Signed policy identity | Unchanged for the same wallet |

A balance match alone is weak evidence because different UTXO sets can have the same sum. Compare transaction ID, output index, amount and script. Account for legitimate spends and confirmations that occurred between snapshots. Application order metadata is not encoded in a Bitcoin output and must be backed up independently.

Proposed Testnet procedure

Allocate several receiving destinations, leave a controlled gap, fund addresses on both sides of it and wait for confirmation. Capture a redacted UTXO snapshot. Remove only the local wallet state using the documented operation, restore the authorized identity and wait for reconciliation. Compare outpoints and report any warming or incomplete discovery states. Preserve recovery material and never use production funds for this experiment.

Previous laboratory reports establish examples of restoration and reconciliation, but they do not establish arbitrary-gap recovery. This study defines a separate acceptance criterion without changing the engine or claiming a new successful test.

Primary references and related research

  • [Flying Wallet architecture](/docs/wab-philosophy-flying-wallet-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