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

Invalid addresses? #1

Open
IvRRimum opened this issue Jul 6, 2018 · 2 comments
Open

Invalid addresses? #1

IvRRimum opened this issue Jul 6, 2018 · 2 comments

Comments

@IvRRimum
Copy link

IvRRimum commented Jul 6, 2018

Hello,

To put it simple, i use this tool https://iancoleman.io/bip39/ to verify the addresses generated.

bip44.NewKeyFromSeedHex(seedHex, bip44.MAINNET) where seedHex is BIP39 Seed from the website above(after i entered my mnemonics). At the bottom of the page you can see the address that should be generated, but they differ from the ones i get from this tool.

So, i guess my question is: Is this tool or the test website in wrong here?

Thanks!

@IvRRimum
Copy link
Author

IvRRimum commented Jul 6, 2018

What is interesting, if i use bip44.NewAccountKeyFromXKey(publicKey) where the publicKey is the Account Extended Public Key (from the website above), i get correct addresses generated.

@edunuzzi
Copy link
Owner

edunuzzi commented Jul 7, 2018

Hi @IvRRimum,

I managed to reproduce your issue. Indeed, it seems that the seed parsing is behaving weirdly. I will look into it and i will let you know once the issue has been solved!

Thanks a lot!

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

2 participants