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)
dijets --help
Flags
- --config <string>Optionalno type
path to a config file
$dijets [subcommand] --config /Users/saleem/.dijets-cli.json - -h, --helpOptionalno type
help for dijets
- --log-level <string>Optionalno type
log level for the application
$dijets [subcommand] --log-level ERROR - -v, --versionOptionalno type
version for dijets-cli
helps deploy Enterprise Consortia Chains
dijets ecc [sub-command][flags]
Flags
- -h, --helpOptionalno type
help for ecc
whitelists a primary network validator
dijets ecc addValidator [ecc-name] [flags]
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
dijets ecc configure [ecc-name] [flags]
Flags
- --chain-config <string>Optionalno type
path to the chain configuration
$dijets 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.
dijets ecc create [ecc-name] [flags]
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.
dijets ecc delete [ecc-name] [flags]
Flags
- -h, --helpOptionalno type
help for ecc
deploys ECC configuration to specified dijets network
dijets ecc deploy [ecc-name] [flags]
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