ethereum-cold-wallet
ethereum-cold-wallet copied to clipboard
Invalid private key generation
import "github.com/ethereum/go-ethereum/crypto"
privateKey, _, _ := hdWallet("real town addict extend shoot name disagree vital turn live can tip")
log.Println(hex.EncodeToString(crypto.FromECDSA(privateKey)))
got c64f0b3e510d03adef3f057d1814bdc8a7f904caafa6928550fc10670dcff031 wanted c29cd818232f40614691a58c9afcbd5518b539cb135d73b1d9e26d5f5f5dcbbe (https://iancoleman.io/bip39/)
https://github.com/btcsuite/btcutil/pull/159 it was a mistake on the m/44H/60H/0H path