EpicCash / epic-miner

A standalone mining implementation intended for mining epic against a running Epic node.
https://epiccash.com
Apache License 2.0
3 stars 10 forks source link
blockchain cuckoo miner progpow randomx

Epic Miner

A standalone mining implementation intended for mining epic against a running Epic node.

Supported Platforms

At present, only mining plugins for linux-x86_64 and MacOS exist. This will likely change over time as the community creates more solvers for different platforms.

Requirements

Build steps

git clone https://gitlab.com/epiccash/epic-miner
cd epic-miner
git submodule update --init --recursive

To build the project you will have to specify if you are going to mine using only CPU, OPENCL or CUDA. To mine using only CPU, execute the following line in the terminal:

cargo build

To mine using CPUs/GPUs use OPENCL. Execute the following line in the terminal to build with OPENCL:

cargo build --features opencl

If you have NVIDIA GPUs and your system has the latest nvidia drivers and the Cuda toolkit 9+ installed, you can build the cuda plugins using the following command:

cargo build --no-default-features --features cuda,tui

What was built

A successful build gets you:

Running the Epic Miner

Prerequisites

To run the epic-miner you also need an epic server (with the stratum server enabled) running and an epic wallet listening.

Executing the epic miner

Make sure you always run epic-miner within a directory that contains an epic-miner.toml configuration file.

After you have your epic server running (with the stratum server enabled) and a wallet listening to it, to execute the epic miner follow the instructions:

  1. Open a new terminal window in the root directory of your Epic miner installation.
  2. To execute epic miner, you need to specify if you built it with OPENCL or CUDA. To run the epic miner compiled with OPENCL execute the following line in terminal:

     cargo run --features opencl

    And to execute your miner built with the cuda plugin, execute the command:

     cargo run --features cuda

Configuration

Epic-miner can be further configured via the epic-miner.toml file. This file contains inline documentation on all configuration options, and should be the first point of reference. Also, you can see Topic Configuring your epic-miner in the testnet documentation for further information.