cast wallet new
创建一个新的随机密钥对
$ cast wallet new --help
用法:cast wallet new [OPTIONS] [PATH]
参数:
[PATH]
If provided, then keypair will be written to an encrypted JSON
keystore
选项:
-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')