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.
(You can use both dijets or dijets-cli)
Flags
- --debugOptionalno type
output debug logs to stderr
- --dns-resolver <[ native | https ]>Optionalno type
lookup domain names using the specified resolver
- --experimentalOptionalno type
enable experimental features
- -h, --helpOptionalno type
help for supabase
- --workdir <string>Optionalno type
path to a Supabase project directory
helps deploy Enterprise Consortia Chains
Flags
- -h, --helpOptionalno type
help for ecc
whitelists a primary network validator
Flags
- --testnet testnetOptionalno type
join dijets testnet
- -h, --helpOptionalno type
help for addValidator
- -k, --key <string>Optionalno type
select the key to use
- -g, --ledgerOptionalno type
use ledger instead of key
- --mainnet mainnetOptionalno type
join on mainnet
- --nodeID <string>Optionalno type
set the NodeID of the validator to add
- --output-tx-path <string>Optionalno type
file path of the add validator tx
- --staking-period durationOptionalno type
period validator will be staking for
- --start-time stringOptionalno type
UTC start time for validating
allows you to set file path for ECC config
Flags
- --chain-config <string>Optionalno type
path to the chain configuration
jsonREQUIREDdijets ecc configure --chain-config /Users/Saleem/test/chain-config.json - -h, --helpOptionalno type
help for configure
- --per-node-chain-config <string>Optionalno type
path to per node chain configuration
- --ecc-config <string>Optionalno type
path to the ECC configuration
builds a new genesis file to configure your ECC.
Flags
- --customOptionalno type
use a custom Virtual Machine
- --evmOptionalno type
use the SubnetEVM as the base template
- -f, --forceOptionalno type
overwrite the existing configuration if one exists
- --genesis <string>Optionalno type
file path of genesis to use
- -h, --helpOptionalno type
help for the command
- --latestOptionalno type
use latest VM version, takes precedence over --vm-version
- --vm <string>Optionalno type
file path of custom vm to use
- --vm-version <string>Optionalno type
version of vm template to use
deletes an existing ECC configuration.
Flags
- -h, --helpOptionalno type
help for ecc
deploys ECC configuration to specified dijets network
Flags
- --testnet testnetOptionalno type
deploy to dijets testnet
- -h, --helpOptionalno type
help for addValidator
- --dijetsnodego-version <string>Optionalno type
use specified version of Dijets Node
- --control-keys <strings>Optionalno type
addresses authorised to make ECC changes
- --mainnet mainnetOptionalno type
deploy to dijets mainnet
- --nodeID <string>Optionalno type
set the NodeID of the validator to add
- --output-tx-path <string>Optionalno type
file path of the add validator tx
- --staking-period durationOptionalno type
period validator will be staking for
- --start-time stringOptionalno type
UTC start time for validating