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 private key generation #2

Open
klim0v opened this issue Feb 13, 2020 · 2 comments
Open

Invalid private key generation #2

klim0v opened this issue Feb 13, 2020 · 2 comments

Comments

@klim0v
Copy link

klim0v commented Feb 13, 2020

mnemonic := "real town addict extend shoot name disagree vital turn live can tip"
master, err := hdwallet.NewKey(hdwallet.Mnemonic(mnemonic))
wallet, _ = master.GetWallet(hdwallet.CoinType(hdwallet.ETH))
pk, _ = wallet.PrivateKey()

got c64f0b3e510d03adef3f057d1814bdc8a7f904caafa6928550fc10670dcff031
wanted c29cd818232f40614691a58c9afcbd5518b539cb135d73b1d9e26d5f5f5dcbbe (https://iancoleman.io/bip39/)

@klim0v
Copy link
Author

klim0v commented Mar 3, 2020

btcsuite/btcutil#159

@klim0v
Copy link
Author

klim0v commented Mar 3, 2020

it was a mistake on the m/44H/60H/0H path

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