Validate derivation_path purpose field in coin config #1995
Labels
improvement: hd-wallet
priority: low
Tasks with low importance that can be addressed when time permits.
MM2 coin config has a 'derivation_path' parameter which defines how hierarchically derived addresses are created.
The purpose field in the derivation_path should be validated for coins with configured segwit or non-segwit address usage according to the BIP44 and BIP84 standards.
There is a param in coin configuration that determines that for this coin segwit addresses are used. This param is 'format' field in the 'address_format' set to "segwit" or set to other value if non-segwit addresses are used.
Sample coin config for segwit addresses:
The text was updated successfully, but these errors were encountered: