Generate a New Keypair

Generates a new keypair with a specific key scheme and optional derivation path.


movement sui keytool generate [OPTIONS] <KEY_SCHEME> [WORD_LENGTH] [DERIVATION_PATH]


  • <KEY_SCHEME> [Required] The key scheme for the keypair. Choose from ed25519, secp256k1, or secp256r1.

  • [WORD_LENGTH] [Optional] The word length for the keypair. Choose from word12, word15, word18, word21, or word24. Defaults to word12 if not specified.

  • [DERIVATION_PATH] [Optional] The derivation path for the keypair. Defaults to m/44'/784'/0'/0'/0' for ed25519, m/54'/784'/0'/0/0 for secp256k1, or m/74'/784'/0'/0/0 for secp256r1.


  • --json Return command outputs in JSON format.

  • -h, --help Print help (see a summary with '-h').

  • -V, --version Print version.

Last updated