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

1
daobet-cli create key -f myKey.txt
2
daobet-cli create key --to-console
Copied!

Output

1
// example
2
Private key: 5KCkcSx...
3
Public key: EOS5uHeB...
Copied!

Last modified 2yr ago
Copy link