New BIP32 structure



Summary:

The email thread discussed creating a compatible BIP32 wallet structure for interoperability between different wallets. Mike Hearn proposed a new structure that was agreed upon by himself, Thomas V of Electrum, and Marek of Trezor. The structure is as follows: /m/cointype/reserved'/account'/change/n. Cointype is zero for Bitcoin but can distinguish between keys intended for multisig outputs or more complex transactions. Reserved is for "other stuff". Account keeps separate wallets within a wallet to avoid mixing of coins. Change is 0 for receiving addresses and 1 for change addresses. N is the actual key index. They aim to create a structure where the same seed can be used for all user needs while still allowing some drift between what wallets support. It was acknowledged that metadata may also be needed to encode how keys are meant to be used, but interop between wallets is more important than arriving at the most perfect arrangement.


Updated on: 2023-06-08T16:17:33.432260+00:00