go-hdwallet
go-hdwallet copied to clipboard
A multi-cryptocurrency HD wallet implementated by Golang.
Hi, i'm try to generate address pool by mnemonic phrase (which i check with TrustWallet) and i got wrong address: ```golang import ( "fmt" "github.com/foxnut/go-hdwallet" ) func main() { mnemonic...
Im getting an error when installing on MacBook: robert@Roberts-MacBook-Air gocourse % sudo go get -v -u github.com/foxnut/go-hdwallet github.com/foxnut/go-hdwallet (download) github.com/btcsuite/btcd (download) github.com/btcsuite/btclog (download) github.com/btcsuite/btcutil (download) get "golang.org/x/crypto/ripemd160": found meta tag...
Hello. Is there a way to use already generated Private Key/Public Key to generate addresses, instead of use a mnemonic seed?
` // zero is deafult of uint32 const ( Zero uint32 = 0 ZeroQuote uint32 = 0x80000000 BTCToken uint32 = 0x10000000 ETHToken uint32 = 0x20000000 ) // wallet type from...
Following the example in readme, ``` var ( mnemonic = "range sheriff try enroll deer over ten level bring display stamp recycle" ) func main() { master, err := hdwallet.NewKey(...
Hi @miaolz123 . First I want to thank for this great code. Can you tell me , can I create and sign transactions offline? Thanks!
hello how can i custom this package to support multisig for hd wallets. i mean how can i make HDM wallets by this package
``` 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...
``` master, err := hdwallet.NewKey( hdwallet.Mnemonic(cfg.Mnemonic), hdwallet.Params(&chaincfg.Params{}), ) if err != nil { log.Fatal("initialize master wallet private key: ", err) } evmWallet, err := master.GetWallet(hdwallet.CoinType(hdwallet.ETH)) if err != nil {...