Bip44 extension for P2SH/P2WSH/...



Summary:

A discussion has taken place regarding the implementation of a new derivation path for wallets that is parallel to Bip44 but with a different purpose. The idea is to allow users to choose which account they want to add, such as a normal account or witness account. The downside of this approach is that every Bip-compatible wallet in the future will have to implement all legacy derivation and transactions schemes. It also does not fail deterministically if one imports a seed or xPriv/xPub across different capable wallets. A solution proposed is to specify the type of address as a bit field flag, with 0x40000000 being the next available to specify witness addresses. This is compatible with existing accounts and wallet layouts, but recovering on non-segwit software will miss segwit receives. P2WSH should probably be handled by another account type and another BIP. While some Bip44 compliant wallets have something in the pipeline, there are no visible results yet.


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