flags

package
v0.0.0-...-27e5b0e Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DerivationPath         = "derivation-path"
	UsePassphrase          = "use-passphrase"
	SkipMnemonicValidation = "skip-mnemonic-validation"
	InputHexSeed           = "input-hex-seed"
	Network                = "network"
	MnemonicLanguage       = "mnemonic-language"
	AddrType               = "addr-type"
	ShowAllKeys            = "show-all-keys"
)
View Source
const (
	OutputFormatNative = "native"
	OutputFormatJson   = "json"
	OutputFormatYaml   = "yaml"
)
View Source
const (
	NetworkMainnet = "mainnet"
	NetworkTestnet = "testnet"
)
View Source
const (
	DerivationPathAuto = "auto"
	DerivationPath0    = "m/44h/0h/0h/0/0"
	DerivationPath1    = "m/44h/0h/0h/0/1"
	DerivationPath2    = "m/49h/0h/0h/0/0"
	DerivationPath3    = "m/49h/0h/0h/0/1"
	DerivationPath4    = "m/84h/0h/0h/0/0"
	DerivationPath5    = "m/84h/0h/0h/0/1"
	DerivationPath6    = "m/44h/0h/0h"
	DerivationPath7    = "m/49h/0h/0h"
	DerivationPath8    = "m/84h/0h/0h"
)

BIP-44 format m/purpose'/coinType'/account'/change/addressIndex 0h is coin type BTC 0h is account number, can be 1, 2, etc. 0 is the change 0, 1, etc. are address indices

View Source
const (
	OutputFormat = "output-format"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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