Constant pos_genesis_tool::USAGE

source ·
pub(crate) const USAGE: &str = r#"
Usage:
    tgconfig random --initial-seed <seed> [--num-validator=<nv> --num-genesis-validator=<ng> --chain-id=<id>]
    tgconfig frompub --initial-seed <seed> <pkfile>

Options:
    -h, --help              Display this message and exit.
    --num-validator=<nv>    The number of validators.
    --num-genesis-validator=<ng>    The number of validators included in the genesis.
    --chain-id=<id>         The chain id of the PoW chain.
    --initial-seed=<seed>   The 32-byte hex string of the initial seed hash.

Commands:
    random                  Generate random key pairs for validators.
    frompub                 Generate config file from pubkey file.
"#;