Wallet
The wallets handler allows you to manage your locally stored wallet keys
Available Commands
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.
Autosave is enabled by default.
Usage
wallet autosaveThen 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
You cannot have two wallets with the same name including wallets on different chains.
Example
The above command will prompt you to enter a passphrase for your account and then generate an output similar to:
Note: The output of the above command contains a seed phrase. It's recommended to save the seed phrase in a safe place to avoid losing it.
Use the specific chain faucet to send tokens to the address for testnet wallets..
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.
You will always have to input your passphrase to be able to view the mnemonic.
Usage
Example

List
Lists all the added wallets.
The asterisk will show you which address is currently being used
Usage
We get:
Add another wallet and try again:
Result:
Migrate Legacy
Migrates a wallet from an older version of CLI.
This command might be removed in the future after migration by users have been successfully completed.
Migrating is from v1 to v2 of CLI. You can check the version of your CLI by running "version".
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?