generate
Generate a New Keypair
Generates a new keypair with a specific key scheme and optional derivation path.
Usage
movement sui keytool generate [OPTIONS] <KEY_SCHEME> [WORD_LENGTH] [DERIVATION_PATH]
Arguments
<KEY_SCHEME>
[Required] The key scheme for the keypair. Choose fromed25519
,secp256k1
, orsecp256r1
.[WORD_LENGTH]
[Optional] The word length for the keypair. Choose fromword12
,word15
,word18
,word21
, orword24
. Defaults toword12
if not specified.[DERIVATION_PATH]
[Optional] The derivation path for the keypair. Defaults tom/44'/784'/0'/0'/0'
fored25519
,m/54'/784'/0'/0/0
forsecp256k1
, orm/74'/784'/0'/0/0
forsecp256r1
.
Options
--json
Return command outputs in JSON format.-h
,--help
Print help (see a summary with '-h').-V
,--version
Print version.
Last updated