I’m presently engaged on a problem that includes deriving a non-hardened prolonged non-public key for a particular search path in Bitcoin. The problem supplies the next data:
Bitcoin root prolonged public key (beginning with xpub…)
Bitcoin non-hardened prolonged non-public key for the derivation path m/44/0/0/1/404
(beginning with xprv…)
Search path for which I have to derive the related (non-hardened) prolonged non-public key: m/44/0/0/0/402
The duty is to derive the non-hardened prolonged non-public key for the given search path, and the submission ought to be encoded as per the BIP 32 specification.
I’ve tried to make use of the pycoin
and python-hdwallet
libraries, however I am going through difficulties understanding the method and acquiring the proper consequence. Might somebody present steering or a step-by-step strategy on how one can obtain this utilizing these libraries or another related instruments?
Moreover, if there are particular capabilities or strategies inside these libraries which can be appropriate for this activity, please present examples to assist me grasp the implementation higher.
I respect any help and clarification on this matter. Thanks!