create-rell-dapp
Usage: chr create-rell-dapp [OPTIONS] [NAME]
Generates a template project
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ -d, --base-dir=PATH Directory to generate template project in (default: <current working directory>) │
│ -h, --help Show this message and exit │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ NAME Dapp name (default: hello) │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
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