Skip to main content


Usage: chr keygen [OPTIONS]

Generates public/private key pair

-m, --mnemonic TEXT Mnemonic word list, words separated by space, e.g:
"lift employ roast rotate liar holiday sun fever output
-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 a file named .secret.
chr keygen --save .secret --mnemonic "march aspect pizza treat ..."