generate-genesis

Generate Genesis from a Git Repository

This will create a genesis.blob and a waypoint.txt to be used for running a network.

Usage

movement aptos genesis generate-genesis [OPTIONS]

Options

  • --output-dir <OUTPUT_DIR> Output directory for Genesis file and waypoint

  • --mainnet Whether this is mainnet genesis. Default is false

  • --assume-yes Assume yes for all yes/no prompts

  • --assume-no Assume no for all yes/no prompts

  • --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