hdwallet

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 11 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

Functions

func DeriveKey

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

DeriveKey derives the key according to path

func NewHdwalletCmd added in v1.9.0

func NewHdwalletCmd(client ioctl.Client) *cobra.Command

NewHdwalletCmd represents the new hdwallet command.

func NewHdwalletCreateCmd added in v1.8.2

func NewHdwalletCreateCmd(client ioctl.Client) *cobra.Command

NewHdwalletCreateCmd represents the hdwallet create command

func NewHdwalletDeleteCmd added in v1.9.0

func NewHdwalletDeleteCmd(client ioctl.Client) *cobra.Command

NewHdwalletDeleteCmd represents the hdwallet delete command

func NewHdwalletDeriveCmd added in v1.8.2

func NewHdwalletDeriveCmd(client ioctl.Client) *cobra.Command

NewHdwalletDeriveCmd represents the hdwallet derive command

func NewHdwalletExportCmd added in v1.8.2

func NewHdwalletExportCmd(client ioctl.Client) *cobra.Command

NewHdwalletExportCmd represents the hdwallet export command

func NewHdwalletImportCmd added in v1.8.2

func NewHdwalletImportCmd(client ioctl.Client) *cobra.Command

NewHdwalletImportCmd represents the hdwallet import command

Types

This section is empty.

Jump to

Keyboard shortcuts

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