Skip to content

Create Publication

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

Configuration

Configuration

Configuration is stored in a file in the data directory named conduit.yml. Use ./conduit -h for command options.

conduit.yml

There are several top level configurations for configuring behavior of the conduit process. Most detailed configuration is made on a per-plugin basis. These are split between Importer, Processor and Exporter plugins.

Here is an example configuration which shows the general format:

# optional: hide the startup banner.
hide-banner: true|false

# optional: level to use for logging.
log-level: "INFO, WARN, ERROR"

# optional: path to log file
log-file: "<path>"

# optional: if present perform runtime profiling and put results in this file.
cpu-profile: "path to cpu profile file."

# optional: maintain a pidfile for the life of the conduit process.
pid-filepath: "path to pid file."

# optional: setting to turn on Prometheus metrics server
metrics: 
  mode: "ON, OFF"
  addr: ":<server-port>"
  prefix: "promtheus_metric_prefix"

# Define one importer.
importer:
    name:
    config:

# Define one or more processors.
processors:
  - name:
    config:
  - name:
    config:

# Define one exporter.
exporter:
    name:
    config:

Plugin configuration

Each plugin is identified by a name, and provided the config during initialization. See plugins documentation for details.