How to dual mine ETH and ERGO with T-Rex?

In this guide we will show you how to set up dual mining of Ethereum and ERGO on minerstat with your LHR cards. Keep in mind that this tutorial required GPUs with 8 GB VRAM or more.

About dual mining In dual mining two coins are mined at the same time at different pools of your choosing. The coins don't have to be of same algorithm, but to be able to dual mine, your mining client needs to support dual mining.

1. Pools

First, open the address editor and add a new tags (POOL:ETH) which will hold ETH stratum address and (POOL:ERG) will hold the ERG stratum address. In this example, we will use Ethermine and Nanopool:

  • ETH: stratum+tcp://eu1.ethermine.org:14444
  • ERG: stratum+tcp://ergo-eu1.nanopool.org:11111

minerstat - T-Rex ETH and ERG dual mining - Pools

2. Wallets

In the next step you need to save your wallet addresses to your address editor. Create new tag (WALLET:ETH) under wallets with your ETH wallet address and tag (WALLET:ERG) with your ERG wallet address.

minerstat - T-Rex ETH and ERG dual mining - Wallets

3. Worker's config

Open worker's config and select TREX as a default mining client.

minerstat - T-Rex ETH and CFX dual mining

4. TREX config

Click on [Advanced] tab and update the mining client's configuration so that it will be defined as:

{
"pools": [
{
"user": "(WALLET:ETH)⁣.(WORKER)",
"worker": "(WORKER)⁣",
"url": "(POOL:ETH)⁣",
"pass": "x"
}
],
"no-nvml": false,
"api-bind-http": "127.0.0.1:4068",
"json-response": true,
"pci-indexing":true,
"retries": 3,
"retry-pause": 5,
"timeout": 500,
"no-watchdog":true,
"algo": "ethash",
"lhr-algo": "autolykos2",
"user2": "(WALLET:ERG).(WORKER)",
"url2": "(POOL:ERG)",
"pass2": "x",
"exit-on-cuda-error": true,
"exit-on-connection-lost": false
}

minerstat - T-Rex ETH and ERG dual mining - Config

It's easy to get started and it's free

Use minerstat software and improve your mining operation

Sign up for free