Back to Eos

Create Key

docs/02_cleos/03_command-reference/wallet/create_key.md

2.1.0615 B
Original Source

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

sh
cleos wallet create_key K1

Outputs

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