create-rell-dapp
Usage: chr create-rell-dapp [<options>] [<name>]
Generates a template project
Template projects:
Minimal - Minimal working example including sample queries/operations and
tests.
Plain - A plain skeleton with empty main and test files.
Plain-Multi - A plain skeleton with empty main and test files using multiple
modules.
Options:
-d, --base-dir=<path> Directory to generate template project in
--template=(plain|plain-multi|minimal|plain-library|asset-management)
Project template
-h, --help Show this message and exit
Arguments:
<name> Dapp name
You can use the create-rell-dapp command (chr create-rell-dapp
) to create a new Rell
structured "Hello World" project. It creates a project config file
(chromia.yml
), a main module (main.rell
) in the src/
folder, and test files in the src/test/
folder in your
working directory.
chr create-rell-dapp
The project structure is as follows:
|--chromia.yml
|--_src
|--main.rell
|--_test
|--arithmetic_test.rell
|--data_test.rell