Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix --genesis-file descriptions in ash avax blockchain create -h #86

Open
leopaul36 opened this issue Feb 1, 2024 · 0 comments
Open

Comments

@leopaul36
Copy link
Contributor

ash avax blockchain create -h
Create a new blockchain

Usage: ash avalanche blockchain create [OPTIONS] --subnet-id <SUBNET_ID> --private-key <PRIVATE_KEY> <NAME>

Arguments:
  <NAME>  Blockchain name

Options:
  -t, --vm-type <VM_TYPE>            Blockchain VM type [default: SubnetEVM]
  -i, --vm-id <VM_ID>                Blockchain VM ID [default: spePNvBxaWSYL2tB5e2xMmMNBQkXMN8z2XEbz1ML2Aahatwoc]
  -n, --network <NETWORK>            Avalanche network [env: AVALANCHE_NETWORK=local] [default: mainnet]
  -g, --genesis-str <GENESIS_STR>    Blockchain genesis data string (hex encoded)
  -j, --json                         Output in JSON format [env: ASH_JSON=]
  -c, --config <CONFIG>              Path to the configuration file [env: ASH_CONFIG=/etc/avalanche/ash-cli/conf/default.yml]
  -f, --genesis-file <GENESIS_FILE>  Path to a JSON file containing the blockchain genesis data (generated with `ash avalanche vm encode-genesis`)
  -s, --subnet-id <SUBNET_ID>        Subnet ID to create the blockchain on
  -p, --private-key <PRIVATE_KEY>    Private key to sign the transaction with (must be a control key) [env: AVALANCHE_PRIVATE_KEY=]
  -e, --key-encoding <KEY_ENCODING>  Private key format [env: AVALANCHE_KEY_ENCODING=] [default: cb58] [possible values: cb58, hex]
  -w, --wait                         Whether to wait for transaction acceptance
  -h, --help                         Print help
  -V, --version                      Print version

genesis-file is not a JSON file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant