Alternate HD path structure: BIP, blog, or wat?



Summary:

In this context, Matt Smith from Gem is discussing the need to store paths in the wallet database. He points out that there's no way to infer the path of an address inside an HD wallet from the address alone. Therefore, HD wallets need to store either the paths, addresses, or both that have been previously derived/used to monitor the blockchain usefully. He explains that the motivation for the path structure over standard bip44 is that it separates the concept of network and coin type. This separation is useful if one wants to import a wallet into an application and knows that an account was in use at a specific path, such as m/##'/0'/99'/0', where 99 is the identifier for a specific blockchain. Matt also notes that he expects multisig HD wallet imports to require master keys and a list of account paths rather than a list of addresses. He concludes that this use case might be very specific to their model, but the reason they should request a BIP number for this is that to start using it, they need to pick a number for the purpose field and not want to do it arbitrarily. They also don't want to overload 44, which would be misleading.


Updated on: 2023-06-10T00:03:26.968174+00:00