Mining

Hardware requirements

 

  1. Energi mining is only possible on OpenCL 1.2+ or CUDA 9 devices with minimum of 4GB memory.
  2. OpenCL devices must be of GPU or Accelerator type, CPU mining is not possible.

 

Step 1: Sync the wallet

 

Download and install the latest version of the Energi wallet from: https://www.energi.world/downloads/

Run the wallet and wait for sync to complete

Step 2: Configure the wallet

 

Navigate to your EnergiCore directory

%APPDATA%\Roaming\EnergiCore (e.g C:\Users\Username\AppData\Roaming\EnergiCore)

You may have to enable viewing of hidden files and folders

  1. Edit the energi.conf file.
  2. Enter the code as shown below.
  3. Make sure to pick a unique username and password:

Step 3: Exit and restart the Energi wallet

 

This will load the new settings you specificed in your energi.conf file

You are now ready to set up energiminer

  1. Download Energi Miner from https://www.energi.world/downloads/
  2. Unzip energiminer.zip
  3. Open a command prompt and navigate to your newly unzipped Energi miner directory
  4. Type the following command:
    energiminer.exe --list-devices

You should get an output that looks something like this, especially if you’re running multiple GPUs:

This will list every graphics card in your system. In the example, we have one entry for the onboard Intel graphics, and 6 entries for 6 AMD RX 580 GPUs.

Preceeding each entry are two numbers in this format:

[1] [0]

The first number is the platform. The first platform, 0, is the onboard graphics card. The six RX580s are grouped into their own platform. We will be using platform 1, containing the six graphics cards.

The second number is the card number. The count starts from 0, so the six cards range from 0 to 5.

You will need this information when configuring your start.cmd file.

Step 4a: Configure start.cmd for solo mining

 

  1. In the Energi wallet software, generate a new address you will use for mining.
  2. Within your energiminer folder, open your start.cmd file
  3. Put the following code:
    @REM off
    energiminer.exe "http://UniqueUserName:[email protected]:9796" --coinbase-addr "YourWalletAddress"
  4. Replace UniqueUserName and SecurePassword to match what you entered in your energi.conf file
  5. Replace “YourWalletAddress” with the address you just generated in the wallet software. The URI and wallet address should be contained in quotes.

Step 4b: Configure start.cmd for pool mining

 

  1. In the Energi wallet software, generate a new address you will use for mining.
  2. Within your energiminer folder, open your start.cmd file
  3. It will contain the following code:
    @REM off
    energiminer.exe "stratum://[email protected]:3033"
  4. Replace “YourWalletAddress” with the address you just generated in the wallet software. The URI address should be contained in quotes.
  5. You can view pool statistics at https://mining.energi.network/

Step 5a: Configure for AMD devices

 

  1. Append -G --opencl-platform=P where P is the platform number, e.g. “0”.
  2. All available cards in the selected platform are used by default. You can select cards by appending --opencl-devices=D where D is a list of devices, e.g. “0,1,2,3”.
  3. Make sure the numbers after --opencl-platform and --opencl-devices match the cards you want to mine with when you ran the energiminer.exe --list-devices command in step 3.

Step 5b: Configure for NVIDIA devices

 

  1. Append -U to select CUDA platform..
  2. All available cards with CUDA support are used by default. You can select cards by appending --cuda-devices=D where D is a list of devices, e.g. “0,1,2,3”.
  3. Make sure the numbers after --cuda-devices match the cards you want to mine with when you ran the energiminer.exe --list-devices command in step 3.

Start mining

 

  1. Finally, check that make sure that everything after @REM off is on a single line.
  2. Double click start.cmd to start mining.

 

Troubleshooting

 

1. Energi Miner fails to use more than 4-5 cards on Windows

This is a known issue on stock Window configuration. To overcome that you need to extend Virtual Memory address space. It’s possible to do by setting Virtual Memory page file (swap) maximum size to a total amount of memory of all video cards added with total amount of system memory.

For example, if there are 6 cards with 4GB of VRAM and system has 8 GB of RAM then you need to set max size to 24GB + 8GB = 32GB.

2. Hashrate is fluctuating compared to older versions and other miners

Older versions of Energi Miner before v2.2.0 used to show hashrate of the previous job iteration without taking into account idle times. The same do most of all other miners.

However, new miner shows TRUE average hashrate in 2 second intervals smoothed by 5% with the previous cycle result.

3. Energi Miner consumes more power in OpenCL than other miners with similar algorithms

Energi Miner is more efficient as it puts more stress on OpenCL devices without even small time gaps of idling. It’s also much more efficient for pool mining.