The export and import of funds across different Bitcoin wallet applications is well defined through standards such as BIP39, BIP32, BIP44 etc. These standards are well supported and allow users to move easily between different wallets. There is, however, no defined standard to transfer any labels the user may have applied to the transactions, addresses, public keys, inputs, outputs or xpubs in their wallet. The UTXO model that Bitcoin uses makes these labels particularly valuable as they may indicate the source of funds, whether received externally or as a result of change from a prior transaction. In both cases, care must be taken when spending to avoid undesirable leaks of private information. Labels provide valuable guidance in this regard, and have even become mandatory when spending in several Bitcoin wallets. Allowing users to import and export their labels in a standardized way ensures that they do not experience lock-in to a particular wallet application.
Each JSON object must contain 3 key/value pairs, defined as follows:
The following fragment represents a wallet label export:
On Sparrow wallet you can export & import as follow: File > Export Wallet > Wallet Labels File > Import Wallet > Wallet Labels
Did you find it useful? Buy a ☕️ ₿
Opinions expressed are entirely by original authors or translators and do not necessarily reflect those of the European Bitcoiners Initiative. EB only provides a platform for free publishing and education.