Set Validator Configuration for a Single Validator

This will set the validator configuration for a single validator in the git repository. It will have to be run for each validator expected at genesis.


movement aptos genesis set-validator-configuration [OPTIONS] --username <USERNAME> --validator-host <VALIDATOR_HOST>


  • --username <USERNAME> Name of the validator

  • --validator-host <VALIDATOR_HOST> Host and port pair for the validator e.g. or

  • --full-node-host <FULL_NODE_HOST> Host and port pair for the fullnode e.g. or

  • --stake-amount <STAKE_AMOUNT> Stake amount for stake distribution. [default: 1]

  • --commission-percentage <COMMISSION_PERCENTAGE> Commission rate to pay operator. This is a percentage between 0% and 100%. [default: 0]

  • --join-during-genesis Whether the validator will be joining the genesis validator set. If set, this validator will already be in the validator set at genesis.

  • --owner-public-identity-file <OWNER_PUBLIC_IDENTITY_FILE> Path to private identity generated from GenerateKeys

  • --operator-public-identity-file <OPERATOR_PUBLIC_IDENTITY_FILE> Path to operator public identity, defaults to owner identity

  • --voter-public-identity-file <VOTER_PUBLIC_IDENTITY_FILE> Path to voter public identity, defaults to owner identity

  • --github-repository <GITHUB_REPOSITORY> Github repository e.g. 'aptos-labs/aptos-core'. Mutually exclusive with --local-repository-dir

  • --github-branch <GITHUB_BRANCH> Github repository branch e.g. main. [default: main]

  • --github-token-file <GITHUB_TOKEN_FILE> Path to Github API token. Token must have repo:* permissions

  • --local-repository-dir <LOCAL_REPOSITORY_DIR> Path to local git repository. Mutually exclusive with --github-repository

Last updated