Difference between revisions of "Cast wallet new --help"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{cast wallet}} * {{cast}} Category:Cast") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | [[cast wallet new]] --help | ||
+ | <pre> | ||
+ | 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') | ||
+ | </pre> | ||
Latest revision as of 08:09, 31 May 2024
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 | --help ]
Advertising: