Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 999 Bytes

cast-wallet-new.md

File metadata and controls

47 lines (29 loc) · 999 Bytes

cast wallet new

NAME

cast-wallet-new - Create a new random keypair.

SYNOPSIS

cast wallet new [options] [path]

DESCRIPTION

Create a new random keypair.

If path is specified, then the new keypair will be written to a JSON keystore encrypted with a password.

OPTIONS

Keystore Options

-p
--password
    Triggers a hidden password prompt for the JSON keystore.

--unsafe-password password
    Password for the JSON keystore in cleartext.

    This is unsafe to use and we recommend using --password instead.
    Environment: CAST_PASSWORD

{{#include common-options.md}}

EXAMPLES

  1. Create a new keypair without saving it to a keystore:

    cast wallet new
  2. Create a new keypair and save it in keystore.json:

    cast wallet new keystore.json

SEE ALSO

cast, cast wallet