Skip to main content


Usage: chr keygen [OPTIONS]

Generates public/private key pair

╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ -m, --mnemonic=TEXT Mnemonic word list, words separated by space, e.g: "lift employ roast rotate liar holiday sun │
│ fever output magnet..."" │
│ -s, --save=PATH File to save the generated keypair in
│ -h, --help Show this message and exit

The keygen command (chr keygen) generates a public and private key pair.

  • Saves the key pair in a file named .secret.
chr keygen --save .secret
  • Generates a key pair from a mnemonic phrase and saves it to a file named .secret.
chr keygen --save .secret --mnemonic "march aspect pizza treat ..."