Command Line Interface

This command line interface provides a collection of tools for key generation, transaction construction, certificate creation and other important tasks.
It is organized in a hierarchy of subcommands, and each level comes with its own built-in documentation of command syntax and options.
We can get the top level help by simply typing the command without arguments:
We will be told that one available subcommand is node, and typing
cardano-cli node
will display available sub-subcommands, one of which is key-gen. Typing
cardano-cli node key-gen
will inform us about the parameters this command takes,
cardano-cli node key-gen
cardano-cli node key-gen --cold-verification-key-file FILE
--cold-signing-key-file FILE
--operational-certificate-issue-counter-file FILE
Create a key pair for a node operator's offline key and a new certificate issue counter
Available options:
--cold-verification-key-file FILE Filepath of the cold verification key.
--cold-signing-key-file FILE Filepath of the cold signing key.
--operational-certificate-issue-counter-file FILE The file with the
issue counter for the operational certificate. -h,--help Show this help text
so we can, for example, generate a key-pair of cold keys to control a stake pool and a file for the issue counter by typing
cardano-cli node key-gen \
--cold-verification-key-file cold.vkey \
--cold-signing-key-file cold.skey \
--operational-certificate-issue-counter-file opcert.counter
If you have any questions and suggestions while taking the lessons please feel free to ask in the forum and we will respond as soon as possible.