An Interbit CLI command that prepares a deployable, fully-resolved, Interbit manifest from an Interbit configuration file.
interbit build [--config configFilePath] \
[--manifest manifestFilePath] \
[--artifacts outputDir]
--config String Optional Default=./interbit.config.js
|
The path to an Interbit configuration file. When not provided, the command looks for the file |
||
--artifacts String Optional Default=./dist
|
The path where the build artifacts should be stored. The path is created if it does not already exist. If the path cannot be created, an error is displayed. When not provided, the command outputs artifacts to the |
||
--manifest Filepath Optional Default=./interbit.manifest.js
|
The path to an Interbit manifest file. When not provided, the command looks for the file
|
Fully-resolved means that:
-
All aliases are resolved to their blockchain IDs; the manifest uses the blockchain IDs instead of the alias names used in the configuration file.
-
All covenants have been packed into hashed binaries, with recorded covenants hashes and file locations.
This command:
-
generates a manifest file based on the provided configuration,
-
packs all covenants described in the configuration and outputs them to
dist/covenants, -
updates the
index.htmlfiles described in configuration with the chain IDs that were resolved in the manifest. This allows browser nodes to connect to the associated blockchain networks.
Coming soon:
-
Build your front end applications by executing the build steps provided.
-
Update only the
index.htmlfile from the completed application build.