Home

Build an ECC

Dijets-CLI

The Command Line tool for Dijets

This is a reference document for all the commands, flags, sub-commands & tools available with Dijets CLI. An all-in-one command line tool built to simplify development workflows. Launch validators, submit transactions, manage keys, create highly scalable and modular blockchains and much more.

Developers can also use Dijets CLI for simulating, stress-testing and refining ECCs running on a local dijets network.

Below is a list of all available sub-commands and flags for Dijets CLI.

dijets

(You can use both dijets or dijets-cli)

Terminal

_10
dijets --help

Flags

  • --debug
    Optional
    no type

    output debug logs to stderr

  • --dns-resolver <[ native | https ]>
    Optional
    no type

    lookup domain names using the specified resolver

  • --experimental
    Optional
    no type

    enable experimental features

  • -h, --help
    Optional
    no type

    help for supabase

  • --workdir <string>
    Optional
    no type

    path to a Supabase project directory

dijets ecc

helps deploy Enterprise Consortia Chains

Terminal

_10
dijets ecc [sub-command][flags]

Flags

  • -h, --help
    Optional
    no type

    help for ecc

dijets ecc addValidator

whitelists a primary network validator

Terminal

_10
dijets ecc addValidator [ecc-name] [flags]

Flags

  • --testnet testnet
    Optional
    no type

    join dijets testnet

  • -h, --help
    Optional
    no type

    help for addValidator

  • -k, --key <string>
    Optional
    no type

    select the key to use

  • -g, --ledger
    Optional
    no type

    use ledger instead of key

  • --mainnet mainnet
    Optional
    no type

    join on mainnet

  • --nodeID <string>
    Optional
    no type

    set the NodeID of the validator to add

  • --output-tx-path <string>
    Optional
    no type

    file path of the add validator tx

  • --staking-period duration
    Optional
    no type

    period validator will be staking for

  • --start-time string
    Optional
    no type

    UTC start time for validating

dijets ecc configure

allows you to set file path for ECC config

Terminal

_10
dijets ecc configure [ecc-name] [flags]

Flags

  • --chain-config <string>
    Optional
    no type

    path to the chain configuration

  • -h, --help
    Optional
    no type

    help for configure

  • --per-node-chain-config <string>
    Optional
    no type

    path to per node chain configuration

  • --ecc-config <string>
    Optional
    no type

    path to the ECC configuration

dijets ecc create

builds a new genesis file to configure your ECC.

Terminal

_10
dijets ecc create [ecc-name] [flags]

Flags

  • --custom
    Optional
    no type

    use a custom Virtual Machine

  • --evm
    Optional
    no type

    use the SubnetEVM as the base template

  • -f, --force
    Optional
    no type

    overwrite the existing configuration if one exists

  • --genesis <string>
    Optional
    no type

    file path of genesis to use

  • -h, --help
    Optional
    no type

    help for the command

  • --latest
    Optional
    no type

    use latest VM version, takes precedence over --vm-version

  • --vm <string>
    Optional
    no type

    file path of custom vm to use

  • --vm-version <string>
    Optional
    no type

    version of vm template to use

dijets ecc delete

deletes an existing ECC configuration.

Terminal

_10
dijets ecc delete [ecc-name] [flags]

Flags

  • -h, --help
    Optional
    no type

    help for ecc

dijets ecc deploy

deploys ECC configuration to specified dijets network

Terminal

_10
dijets ecc deploy [ecc-name] [flags]

Flags

  • --testnet testnet
    Optional
    no type

    deploy to dijets testnet

  • -h, --help
    Optional
    no type

    help for addValidator

  • --dijetsnodego-version <string>
    Optional
    no type

    use specified version of Dijets Node

  • --control-keys <strings>
    Optional
    no type

    addresses authorised to make ECC changes

  • --mainnet mainnet
    Optional
    no type

    deploy to dijets mainnet

  • --nodeID <string>
    Optional
    no type

    set the NodeID of the validator to add

  • --output-tx-path <string>
    Optional
    no type

    file path of the add validator tx

  • --staking-period duration
    Optional
    no type

    period validator will be staking for

  • --start-time string
    Optional
    no type

    UTC start time for validating

Need some help?

You can join Dijets Support Space for a live chat with one of the team members. Join us on Qowalts.