Generate Keys
The Othentic CLI simplifies key generation and encryption into Keystore files.
Read More
Prerequisites
1
Run the encrypt command
If you already have raw keys generated using another tool, these can also be used directly in either raw format or as Keystore files.
otcli wallet encrypt --private-key <PRIVATE_KEY> --keystore-dir <KEYSTORE_PATH>
PRIVATE_KEY
: A raw 32-byte private key to encrypt as keystore. If not supplied, CLI will auto-generate a new private key and proceed to encrypt it.KEYSTORE_PATH
: Path to the JSON-formatted Keystore file. If not supplied, a UUID-based filename will be auto-generated and saved under the.keystore
directory.
2
Last updated