Wallet

The wallets handler allows you to manage your locally stored wallet keys

Available Commands

Command
Description

Save the wallet password.

Generate a new wallet

Import an existing wallet to the CLI.

Reassign the name of a wallet.

Reveal the mnemonic for a wallet.

Lists all added wallets

Migrate wallets from old CLI (V1)

Removes a wallet by address

Sets the default wallet to use

Autosave

Store the wallet password in keychain, no longer requiring a password when switching to the wallet.

Usage

wallet autosave

Then select the wallet:

Then you can choose to enable or disable this feature:

When disabled, then you will be required to enter your password every time you switch back to this wallet.

Generate

Creates and adds a new wallet to the list of wallets.

Usage

Example

The above command will prompt you to enter a passphrase for your account and then generate an output similar to:

You have created a new wallet address. To view the address we would need to list our wallets.

Recover

Import an existing wallet using the mnemonic.

Usage

Example

You will be prompted to add a passphrase for the wallet. Finally input the mnemonic of the wallet being imported. You will now be connected to the imported wallet:

Rename

Assign a new name to the connected wallet.

Usage

Example

Reveal

Reveal the mnemonic key for one of your wallets.

Usage

Example

List

Lists all the added wallets.

Usage

We get:

Add another wallet and try again:

Result:

Migrate Legacy

Migrates a wallet from an older version of CLI.

Usage

Then select the wallet to migrate to the new CLI version:

You will then need to provide the passphrase for the wallet. After that the wallet will be added to your list.

rm

Remove a specified wallet from the list.

Usage

or just:

which will prompt you to chose which wallet you want to remove.

Example

You will be promted to confirm this:

test2 wallet has been deleted:

Use

Set the default wallet to be used.

Usage

Example

Last updated

Was this helpful?