Skip to main content


Usage: chr build [OPTIONS]

Build an application and create a blockchain configuration

╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -s, --settings=SETTINGS Alternate path for project settings file
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit

The build command (chr build) creates a blockchain configuration for your dapp. By default, it gets placed in the root folder of your dapp, but you can change it in the project config file (chromia.yml) in compile:target and compile:source.

  • If you are in the working directory where the chromia.yml file presides, you can run the following command to create the blockchain configuration:
chr build
  • Otherwise, you can set a path for the chromia.yml file or specify a different Project Settings file:
chr build --settings chromia.yml