Bip44 extension for P2SH/P2WSH/...



Summary:

In preparation for SegWit, a common derivation scheme needs to be defined for BIP44 compatible wallets to handle P2(W)SH and P2WPKH receiving addresses. Two options have been proposed by Daniel of Mycelium, the first option being to stick with the current Bip44 account and give users the option to show public keys as either a P2PKH-Address or P2SH address, scanning the blockchain for both representations. However, this would require the wallet to scan twice as many addresses, and three times as much in the future when P2WPKH is available. Additionally, if the same xPub/xPriv key is used in different wallets, both need to take care of the different address types. The second option is to define a new derivation path parallel to Bip44 but with a different 'purpose', letting the user choose which account they want to add ("Normal account" or "Witness account"). This option requires the user to migrate to a new account to receive the benefits of SegWit but makes it easier to stage roll-outs and catch bugs earlier. Daniel's personal favorite is pt2. No information was given regarding whether any Bip44 compliant wallet has done any integration at this point.


Updated on: 2023-06-11T05:21:20.078150+00:00