hdwallet

package
v1.8.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRootDerivationPath = "m/44'/304'"

DefaultRootDerivationPath for iotex https://github.com/satoshilabs/slips/blob/master/slip-0044.md

Variables

View Source
var (
	ErrPasswdNotMatch = errors.New("password doesn't match")
)

Errors

View Source
var HdwalletCmd = &cobra.Command{
	Use:   config.TranslateInLang(_hdwalletCmdUses, config.UILanguage),
	Short: config.TranslateInLang(_hdwalletCmdShorts, config.UILanguage),
}

HdwalletCmd represents the hdwallet command

Functions

func DeriveKey

func DeriveKey(account, change, index uint32, password string) (string, crypto.PrivateKey, error)

DeriveKey derives the key according to path

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL