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

In this guide we will show you how to set up dual mining of Ethereum and CFX on minerstat with your LHR cards. Keep in mind that this tutorial required GPUs with 10 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:CFX) will hold the CFX stratum address. In this example, we will use Ethermine and Nanopool:

  • ETH: stratum+tcp://
  • CFX: stratum+tcp://

minerstat - T-Rex ETH and CFX 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:CFX) with your CFX wallet address.

minerstat - T-Rex ETH and CFX 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": "",
"json-response": true,
"retries": 3,
"retry-pause": 5,
"timeout": 500,
"algo": "ethash",
"lhr-algo": "octopus",
"user2": "(WALLET:CFX).(WORKER)",
"url2": "(POOL:CFX)",
"pass2": "x",
"exit-on-cuda-error": true,
"exit-on-connection-lost": false

minerstat - T-Rex ETH and CFX 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