Bitcoin wallet recovery could become easier without changing a single network rule
Bitcoin developer Craig Raw has proposed a standardized backup format to reduce confusion when users recover wallets secured by multiple signing keys.
In a Dec. 1 post to the Bitcoin Development Mailing List, Raw identified an inconsistency that can make two backups containing identical wallet instructions appear different during recovery.
The problem stems from how wallet applications write output descriptors, which contain the instructions software needs to construct Bitcoin addresses and determine how funds can be spent.
For example, a two-of-three multisig wallet descriptor can specify three public keys or instructions for deriving them, alongside a spending rule requiring any two corresponding signing keys to authorize a transaction.
Cosigners can compare these descriptors during recovery to establish whether their backups contain the same wallet instructions.
However, differences in how wallet software writes those instructions can complicate verification.
Under BIP 380, descriptors carry an eight-character checksum calculated from their text to help detect errors. Wallet applications can use either an apostrophe or the letter h to represent the same type of key derivation step, but the checksum calculation treats them as different characters.
As a result, two valid descriptors can generate identical Bitcoin addresses and spending rules while carrying different checksums.
How the proposed standard simplifies wallet recovery
Raw's proposal addresses the inconsistency by establishing common formatting rules that wallet applications could apply before displaying, exporting, or comparing descriptors.
In his published test vectors, Raw demonstrated how two descriptors for the same two-of-three multisig wallet produced different checksums.
One descriptor used apostrophes and generated the checksum xmwawk45, while the other used the letter h and generated tj77jlvt. The descriptors also listed the same three key expressions in different orders.
Despite these differences, both produced identical Bitcoin scripts because their sortedmulti() construction sorts the derived public keys when generating each script.
Raw's proposed format replaces the apostrophes with h and arranges the normalized key expressions according to their text. Applying those rules produces identical descriptor strings with the same checksum, jecfc8v2, without requiring key derivation or changing the wallet's underlying scripts.
Two descriptor strings converge
In Craig Raw's two-of-three multisig example, two ways of writing the same descriptor produce different checksums. His proposed format gives both copies identical text and a shared checksum.
Two descriptor strings converge under the proposed format In the two-of-three multisig example, the apostrophe input gives xmwawk45 and the h input gives tj77jlvt. Rewriting the markers and sorting the key expressions gives one shared descriptor and checksum jecfc8v2. Original descriptor checksumsApostrophe markersxmwawk45b7861cf04fc1Letter h markerstj77jlvt4fc1b7861cf0Proposed format uses h and sorts the key expressionsShared descriptor checksumjecfc8v21cf04fc1b786Key fingerprints shortened to four characters.
Two descriptor strings converge under the proposed format In the two-of-three multisig example, the apostrophe input gives xmwawk45 and the h input gives tj77jlvt. Rewriting the markers and sorting the key expressions gives one shared descriptor and checksum jecfc8v2. Original descriptor checksumsApostrophe markersxmwawk45b7861cf04fc1Letter h markerstj77jlvt4fc1b7861cf0Use h and sort the key expressionsProposed formatShared descriptor checksumjecfc8v21cf04fc1b786Key fingerprints shortened to four characters.
The proposed format makes the two test strings match while preserving the scripts they produce.
This is a specific two-of-three test vector from an unnumbered draft. The comparison covers descriptor text and does not establish signing-key control, backup completeness or equivalence across structurally different descriptors.
Sources and evidence
Sources
- Craig Raw's draft and test vectors
- BIP 380 checksum specification
- Craig Raw's Dec. 1 mailing-list post
Supporting facts
- Raw's test vectors use the same three key expressions in two different listed orders, with apostrophes in one string and h in the other. The two forms produce the same scripts because sortedmulti sorts derived public keys when building scripts. [3] [1]
- The full original descriptor strings in Raw's two-of-three test vector yield BIP 380 checksums xmwawk45 and tj77jlvt, respectively, and the draft's shared canonical string yields jecfc8v2. [1] [2]
- The proposal rewrites hardened markers as h and sorts sortedmulti key expressions by their canonical text. The example's canonical fingerprint order is 1cf0bf7e, 4fc1dd4a, b7868815. The comparison derives no keys and preserves the scripts produced by each supported descriptor. [1] [3]
Method
The key order comes from the full published descriptors, shown by four-character fingerprint prefixes. Applying the BIP 380 checksum algorithm to the two exact descriptor bodies yields the two input checksums. The draft publishes the normalized descriptor and its checksum.
Scope
This is a specific two-of-three test vector from an unnumbered draft. The comparison covers descriptor text and does not establish signing-key control, backup completeness or equivalence across structurally different descriptors.
This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.
You may also like

Prediction: Marvell Technology Stock Will Become a Multibagger by 2030

AI Storage Logic Quietly Diverges! Bernstein Optimistic About Continued DRAM Price Increases Until 2027, NAND May Peak First

What Will Happen to Buffett's $158 Billion Legacy?

Before You Sell Bitcoin, Consider More Than The Price

AI Investment Boom Does Not Hinder Stock Buybacks in the U.S.! S&P 500 Companies Announce Record $1.59 Trillion in Buybacks This Year

FDIC Chair States to Congress That Deposit Insurance Fund Should Not Rescue Failed Stablecoin Banks

A Once-in-a-Decade Opportunity: Broadcom Is One of the Smartest Stocks You Can Buy Right Now

92% Drop Due to Valuation Cuts! Morgan Stanley's Outlook on Semiconductor Equipment Sector: Don't Be Deterred by Recent Pullbacks, Favor These Two Small-Cap Stocks

Becent Claims Europe is "Doing Nothing" in AI, French Finance Minister Counters Point by Point

Billionaire Stanley Druckenmiller Sold Every Alphabet Share, Added 43% More Amazon, and Bought Another Trillion-Dollar AI Giant

Hacker 'Creates Coins Out of Thin Air', NFT Giant Bored Ape's Blockchain Loses Nearly $10 Million

Worried About a Stock Market Crash? Here Are 2 Safe Stocks to Buy Now.

Holiday Shopping Is on Track to Top $1 Trillion This Year. Here Are 3 Stocks That Could Be Big Winners.

Exclusive Interview with CertiK: How to Prepare for Web3 Against the Dual Variables of Quantum Computing and AI?

AI Investment Dividends Flow First to Infrastructure and Cybersecurity! Morgan Stanley Backs Microsoft and CrowdStrike, Post-Quantum Cryptography Adds New Catalysts

If I Could Tell Every Investor Just 1 Thing About Bear Markets, It's This

Why a stronger yen could put pressure on Bitcoin

BlackRock ETF Holds Approximately ¥99.3 Billion in Preferred Stocks of Strategy and Strive, Representing About 5.5% of Assets in Two Bitcoin-Holding Companies

Tesla's Valuation Reaches 195 Times Earnings, Will SpaceX Overpay in a Merger?

J.P. Morgan Predicts $1.35 Trillion Supply-Demand Gap in Global Stock Markets by 2027! Can Institutional Buying Spark an AI Bull Market?

AI Hegemony and the Oppenheimer Complex

Pi Network’s 420,000 nodes face a test beyond the blockchain

Dubai Becomes the Global Crypto Hub in 2026! Blockchain Life Forum Concludes Successfully

Prediction: This Will Be Taiwan Semiconductor's Stock Price by the End of 2027

The 'Death of Cryptography' Has Been Exaggerated, But the Urgency of Migration Remains

Should You Buy Nu Holdings Stock After Its Record $1.1 Billion Quarter?

Tether’s USDT goes live on Morpho Midnight for fixed-rate fintech lending

Bitcoin can outperform stocks and still make an investment portfolio worse

"Don't ignore this": in a joint statement, major tech companies raise alarm over internet security






