go-bip44 icon indicating copy to clipboard operation
go-bip44 copied to clipboard

Invalid addresses?

Open IvRRimum opened this issue 6 years ago • 2 comments

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 avatar Jul 06 '18 16:07 IvRRimum

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.

IvRRimum avatar Jul 06 '18 16:07 IvRRimum

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!

edunuzzi avatar Jul 07 '18 15:07 edunuzzi