Documentation ¶
Index ¶
- func DeriveAccountFromParsedPath(wallet *hdwallet.Wallet, path accounts.DerivationPath) accounts.Account
- func GenerateHdWalletFromMnemonic(mnemonic string) *hdwallet.Wallet
- func GenerateHdWalletNew() (*hdwallet.Wallet, string)
- func ParsedPathFromDefaultDerivationPath() accounts.DerivationPath
- func ParsedPathFromDerivationPath(dPath string) accounts.DerivationPath
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateHdWalletNew ¶
Generates hd wallet returns hd wallet and mnemonic phrase
func ParsedPathFromDefaultDerivationPath ¶
func ParsedPathFromDefaultDerivationPath() accounts.DerivationPath
"m / purpose' / coin_type' / account' / change / address_index" reference from: https://ethereum.stackexchange.com/questions/70017/can-someone-explain-the-meaning-of-derivation-path-in-wallet-in-plain-english-s
func ParsedPathFromDerivationPath ¶
func ParsedPathFromDerivationPath(dPath string) accounts.DerivationPath
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.