Skip to content

Migrating to bot2

Simon Warta edited this page Oct 9, 2023 · 1 revision

For fast randomness amongst other things, bot2 will be needed. The older nois-bot is not maintained anymore.

There are two ways to install it:

  1. Install and run latest main branch from https://github.com/noislabs/bot2
  2. Use the noislabs/nois-bot:nextgen docker image

Migrating from older bot2 source

  1. Update checkout to latest main
  2. Rename config entry contract to drandAddress and add gatewayAddress (see https://github.com/noislabs/bot2/blob/main/config.example.json)

From nois-bot docker

  1. Create a local config.json based on https://github.com/noislabs/bot2/blob/main/config.example.json. The previously used environment variables are not used anymore.
  2. See "Run in Docker" from https://github.com/noislabs/bot2/tree/main#run-in-docker

Common config values for config.json

Testnet

Field Value Note
drandAddress nois14xef285hz5cx5q9hh32p9nztu3cct4g44sxjgx3dmftt2tj2rweqkjextk See https://docs.nois.network/node_operators/networks.html
gatewayAddress nois1xwde9rzqk5u36fke0r9ddmtwvh43n4fv53c5vc462wz8xlnqjhls6d90xc See https://docs.nois.network/node_operators/networks.html

Mainnet

Field Value Note
drandAddress nois19w26q6n44xqepduudfz2xls4pc5lltpn6rxu34g0jshxu3rdujzsj7dgu8 See https://docs.nois.network/node_operators/networks.html
gatewayAddress nois1acyc05v6fgcdgj88nmz2t40aex9nlnptqpwp5hf8hwg7rhce9uuqgqz5wp See https://docs.nois.network/node_operators/networks.html