After cloning the repository, move into its directory:
cdminingos-wrk-miner-avalon
2. Install Dependencies
Inside the miningos-wrk-miner-avalon directory, run the following command to install dependencies using npm:
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.
4. Configure the Worker
After generating the configuration files, edit the files in the config/ directory to match your environment:
common.json - Worker-wide settings including worker identity
base.thing.json - Device-specific configuration for your Avalon miners
facs/net.config.json - Network and RPC connection settings