derive Private Key From Xpriv
Derives a private key from an extended private key (Xpriv).
Parses an Xpriv string according to BIP-32 non-hardened derivation, and returns the derived private key for a given BIP-32 non-hardened derivation path.
Return
The derived private key as a hex string
Parameters
xpriv
A valid secp256k1 extended private key (Xpriv) string
derivation Path
The BIP-32 non-hardened derivation path to use for computing the private key