MicroBT Containers

MicroBT worker supports Kehua and Wonderint container models.

Install the MicroBT Worker

1. Clone the Repository

circle-info

Use the same working directory for all the workers.

Inside your working directory, run the following command to clone the (miningos-wrk-container-microbtarrow-up-right) repository:

git clone https://github.com/tetherto/miningos-wrk-container-microbt.git

After cloning the repository, move into its directory:

cd miningos-wrk-container-microbt

2. Install Dependencies

Inside the miningos-wrk-container-microbt directory, run the following command to install dependencies using npm:

npm ci

3. Generate Configuration Files

Next, run the following script to scan the config/ directory, copy each .example file into an active configuration file by removing the .example suffix.

sh setup-config.sh

4. Enable Debugging and Start the Workers

You can now start the workers by running the following commands:

5. Start Mock Servers

You can use the following commands to start a mock server:

Last updated