Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to derive address from xPub with BCH? #196

Open
j4nos opened this issue Mar 17, 2021 · 0 comments
Open

How to derive address from xPub with BCH? #196

j4nos opened this issue Mar 17, 2021 · 0 comments

Comments

@j4nos
Copy link

j4nos commented Mar 17, 2021

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?!

Do you have any idea how to derive in BCH?

It is important, I do no have any seed, only xPub!

Képernyőfotó 2021-03-16 - 20 24 41

@j4nos j4nos changed the title How to get master node in BCH from xPub? Hot to derive address from xPub with BCH? Mar 17, 2021
@j4nos j4nos changed the title Hot to derive address from xPub with BCH? How to derive address from xPub with BCH? Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant