This command will guide you through selecting the bot type (executor or
challenger), configuring bot keys if needed, and setting up the bot’s
configuration.You can also specify the bot type directly:
Executor
Challenger
weave opinit init executor
To set up Executor from the config file without going through the interactive setup process, use the --with-config flag together with either --generate-key-file or --key-file flags.For example, to let Weave generate Executor’s keys for you, use the following command:
Path to the rollup directory that contains the rollup’s artifacts. This is
useful when you are setting up OPinit bots for a rollup that you have just
launched, as it can use the artifacts from the rollup to set up the bots.
Path to the Executor’s keys file. Can only be used when --with-config flag is provided. Conflicts with --generate-key-file flag.
weave opinit init challenger
To set up Challenger from the config file without going through the interactive setup process, use the --with-config flag together with either --generate-key-file or --key-file flags.For example, to let Weave generate Challenger’s keys for you, use the following command:
Path to the rollup directory that contains the rollup’s artifacts. This is
useful when you are setting up OPinit bots for a rollup that you have just
launched, as it can use the artifacts from the rollup to set up the bots.
Path to the rollup directory that contains the rollup’s artifacts. This is
useful when you are setting up OPinit bots for a rollup that you have just
launched, as it can use the artifacts from the rollup to set up the bots.
For the Executor bot to work, set up the Bridge Executor, Output Submitter, and Batch Submitter keys.For the Challenger bot to work, set up the Challenger key.For rollups with built-in oracle enabled, set up the Oracle Executor key.