Open j4nos opened 3 years ago
I need to derive the first address belongs to an xPub.
I checked this documentation: https://github.com/Bitcoin-com/bitbox-sdk/blob/master/docs/hdnode.md#fromxpub
I tried this code:
bitbox.HDNode.fromXPub("xpub6D2vLmZcXc...").derivePath("m/44'/145'/0'/0");
but it returned this error:
not a master node
It seems bitbox.HDNode.fromXPub("xpub6D2vLmZcXc...")returns not master node?!
bitbox.HDNode.fromXPub("xpub6D2vLmZcXc...")
Do you have any idea how to derive in BCH?
It is important, I do no have any seed, only xPub!
I need to derive the first address belongs to an xPub.
I checked this documentation: https://github.com/Bitcoin-com/bitbox-sdk/blob/master/docs/hdnode.md#fromxpub
I tried this code:
but it returned this error:
It seems
bitbox.HDNode.fromXPub("xpub6D2vLmZcXc...")
returns not master node?!Do you have any idea how to derive in BCH?
It is important, I do no have any seed, only xPub!