The app configuration object appears within an
Interbit configuration file. It describes the run-time
configuration for an Interbit application running in a web browser,
specifying which peer nodes to connect to, which blockchains should be
loaded into the browser, and the path to its index.html file so that
the peers and chains information can be stored for run-time use.
{% include "app.js" %}In the above example, the app configuration is being applied to the
account app.
peers Array
|
The list of peer nodes that this application’s browser nodes should
connect to. Typically, you would not specify a port; applications served
via HTTP (or HTTPS) automatically use the traditional port. However, if
you run an Interbit node and an Interbit application on the same host,
you should specify the port. Specify |
chains Array
|
The list of blockchains that this application should load into the browser. Each entry in the list is a chain alias, that must already be defined in the Interbit configuration file. |
indexLocation String
|
The filesystem path to this application’s |