Configure your project and blockchain
To build and run a dapp on Chromia, set up your project and configure your blockchain to connect the frontend with the Rell backend for efficient data handling.
A Chromia project is a directory that organizes your Rell code and resources, typically including a chromia.yml
file and modules for dapp logic. Running chr create-rell-dapp
creates a new project with a main.rell
entry and test files.
The chromia.yml
file defines your dapp's configuration, including blockchain settings, deployments, and more. It can be renamed, and most attributes have defaults that only need changing if customization is required.
Key properties in BaseBlockChainConfiguration include signers
, sync
, and configurationfactory
. Block strategy settings cover maxblocksize
and mininterblockinterval
. Default values and types are provided for setup guidance.