A utility function to get the relative BIP32 sequence of a child key Given two paths, we want the path difference from the child.
The path of the parent key from which the child should be derived
The full path of the child derived from the parent
getRelativeBip32Sequence("m/45'/0'/0'", "m/45'/0'/0'/0/0")// returns [0, 0] Copy
getRelativeBip32Sequence("m/45'/0'/0'", "m/45'/0'/0'/0/0")// returns [0, 0]
A utility function to get the relative BIP32 sequence of a child key Given two paths, we want the path difference from the child.