Weave provides a streamlined way to configure and run OPinit Bots (executor and challenger) for your rollup.
weave opinit init
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:
weave opinit init <executor|challenger>
To modify bot keys, use the following command to either generate new keys or restore existing ones:
weave opinit setup-keys
Reset a bot's database. This will clear all the data stored in the bot's database (the configuration files are not affected).
weave opinit reset <executor|challenger>
weave opinit start <executor|challenger>
Specify --detach
or -d
to run in the background.
weave opinit stop <executor|challenger>
weave opinit restart <executor|challenger>
weave opinit log <executor|challenger>
To see all the available commands:
weave opinit --help