# Configure Coordinator

## Install coordinator CLI

The Zkopru coordinator will synchronize the Zkopru chain, check for fraud, and optionally submit transactions and bid on auction rounds. To start install the Zkopru CLI:

```
$ npm install -g @zkopru/cli
```

A coordinator can now be run using `zkopru-coordinator`.

## Configuring

The coordinator has a number of options that can be configured via cli flags or a configuration file.

```bash
zkopru-coordinator <command> [args]

Options:
  --version          Show version number                               [boolean]
  --address, -a [string] [default: "0x970e8f18ebfEa0B08810f33a5A40438b9530FBCF"]
  --bootstrap, -b                                      [boolean] [default: true]
  --websocket, --ws        [string] [default: "ws://goerli.zkopru.network:8546"]
  --sqlite                                                              [string]
  --postgres                                                            [string]
  --maxBytes                                          [number] [default: 131072]
  --priceMultiplier                                       [number] [default: 48]
  --port                                                [number] [default: 8888]
  --config           You can skip interactive booting up process with JSON
                     configuration file                                 [string]
  --generateConfig   Generate a sample config file                      [string]
  --daemon, -d       Start as a daemon                                 [boolean]
  --password                                                            [string]
  --passwordFile     Path to a plaintext file to be used as the keystore
                     password                                           [string]
  --keystoreFile     Path to an Ethereum keystore file                  [string]
  --maxBid           Maximum bid allowed in the burn auction (Gwei)
                                                       [number] [default: 20000]
  --publicUrls       Comma separated list of host:port combinations this node is
                     accessible at                                      [string]
  --help             Show help                                         [boolean]
```

## Configuration File

All command line flags may be supplied in a json file. This file should be passed in using `--config`. **Any cli flags will override config file settings.**

## Generate Config

Zkopru includes a config generator that can be run using `zkopru-coordinator --generateConfig`. This will start an interactive process allowing you to select values for a configuration file. This file is a good starting point for further customization.

![](https://user-images.githubusercontent.com/631020/105255745-d0473580-5b49-11eb-8e94-8a31eb04b7b5.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zkopru.network/master/getting-started/configure-coordinator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
