create key

Creates a new keypair and prints the public and private keys.

Options

  • --r1 - Generate a key using the R1 curve (iPhone), instead of the K1 curve (Bitcoin)

  • -f, --file TEXT - Name of file to write private/public key output to. (Must be set, unless "--to-console" is passed.

  • --to-console - Print private/public keys to console.

Usage

daobet-cli create key -f myKey.txt
daobet-cli create key --to-console

Output

// example
Private key: 5KCkcSx...
Public key: EOS5uHeB...

‚Äč