跳至主要内容
此页面是从英文翻译而来的。请注意,与原始页面相比,可能会出现错误或差异。真实的文档来源应始终是英文版本。

create key

Description

Creates a key pair within the wallet so that you don't need to manually import it like you would with cleos create key. By default, this will create a key with the type \"favored\" by the wallet, which is a K1 key. But this command also lets you create a key in R1 format.

Positionals

key_type TEXT - "K1" or "R1" Key type to create

Options

-n,--name TEXT=default The name of the wallet to create key into

Usage

cleos wallet create_key K1

Outputs

Created new private key with a public key of: "EOS67xHKzQArkWZN6rKLCq7NLvaj8kurwxzRxoTVz6cgDJkiWdGug"