accounts

Command-line helper for managing local accounts. You can unlock local accounts from scripts or the console using the accounts.load() method.

accounts [OPTIONS] COMMAND [ARGS]...

change-password

Change the password of an existing account

accounts change-password [OPTIONS] {}

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

Arguments

ALIAS

Required argument

delete

Delete an existing account

accounts delete [OPTIONS] {}

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

Arguments

ALIAS

Required argument

export

Export an account private key

accounts export [OPTIONS] {}

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

Arguments

ALIAS

Required argument

generate

Create an account with a random mnemonic seed phrase

accounts generate [OPTIONS] ALIAS

Options

--hide-mnemonic

Hide the newly generated mnemonic from the terminal

--word-count <word_count>

Number of words to use to generate seed phrase

Default:

12

--hd-path <custom_hd_path>

Specify an HD path for deriving seed phrase

Default:

m/44'/60'/0'/0/0

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

Arguments

ALIAS

Required argument

import

Import an account by private key or seed phrase

accounts import [OPTIONS] ALIAS

Options

--use-mnemonic

Import a key from a mnemonic

--hd-path <custom_hd_path>

Account HD path to use when importing by mnemonic

Default:

m/44'/60'/0'/0/0

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

Arguments

ALIAS

Required argument

list

List available local accounts

accounts list [OPTIONS]

Options

--all

Output accounts from all plugins

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG