cast wallet new --help
Jump to navigation
Jump to search
cast wallet new --help
Create a new random keypair
Usage: cast wallet new [OPTIONS] [PATH]
Arguments:
[PATH]
If provided, then keypair will be written to an encrypted JSON keystore
Options:
-p, --password
Triggers a hidden password prompt for the JSON keystore.
Deprecated: prompting for a hidden password is now the default.
--unsafe-password <PASSWORD>
Password for the JSON keystore in cleartext.
This is UNSAFE to use and we recommend using the --password.
[env: CAST_PASSWORD=]
-n, --number <NUMBER>
Number of wallets to generate
[default: 1]
-j, --json
Output generated wallets as JSON
-h, --help
Print help (see a summary with '-h')
See also[edit]
cast wallet [ new-mnemonic | address ]cast [ block | block-number | wallet | send | balance | call | chain-id | tx | estimate | client | --help ]
Advertising: