bitcoin-dev

File Format for Wallet Inheritance and Recovery

File Format for Wallet Inheritance and Recovery

Original Postby Robert Netzke

Posted on: November 4, 2024 18:29 UTC

The post on Delving Bitcoin introduces a proposed file format for importing and exporting descriptor-based wallets, which the author suggests might be suitable as a Bitcoin Improvement Proposal (BIP).

The motivation behind this proposal stems from the complexities surrounding inheritance of digital assets, particularly for heirs who may not possess technical knowledge. The current solutions, including mnemonic phrases, are deemed insufficient for recovering all potential configurations of a wallet's descriptor. The proposed file format aims to simplify the backup process by storing public metadata about a wallet, which could include directions, notes, and public descriptor data. This would not only facilitate easier fund recovery for heirs but also ensure interoperability between semi-custodial services that provide inheritance solutions. Such a system allows for the seamless transfer of wallet information, mitigating the risk posed by the discontinuation of these services.

In terms of implementation, the author has developed a reference implementation in Rust, which is mentioned in the original post. Considering the practical aspects of the proposal, there is an inclination towards adopting or closely following the data encoding used in Partially Signed Bitcoin Transactions (PSBT). The rationale is to simplify the process of reading and writing to files for developers, suggesting that a straightforward key-value mapping could encourage widespread adoption. The request for feedback indicates an openness to further refinement and suggestions, especially regarding the utility of such a file format in managing wallet data effectively.