Windows builds made by us are available here: https://github.com/etherchain-org/etherchain-org/releases
Download and install:
- Visual Studio 2013 Community: https://www.visualstudio.com/en-us/news/releasenotes/vs2013-community-vs
- Visual C++ Compiler November 2013 CTP: https://www.microsoft.com/en-us/download/details.aspx?id=41151
Open nheqminer.sln under nheqminer/nheqminer.sln and build.
To build under Ubuntu Linux make sure you have Qt5 installed. You can install it manually from Qt website or install it from the command line: sudo apt-get install qt5-default
.
Open a terminal and cd to nheqminer root folder and run the following commands (make sure you have qmake in your PATH, if installed manually from Qt website you will have to export it to your PATH):
git clone https://github.com/etherchain-org/nheqminer.git
cd nheqminer
mkdir build
cd build
qmake ../nheqminer/nheqminer.pro
make
If you are using a Linux distribution that is not Ubuntu/Debian based you can still build but you will have to build boost 1.62 and copy the static libraries [libboost_log.a libboost_system.a libboost_thread.a] over to nheqminer/libs/linux_ubuntu and follow the Ubuntu/Debian instructions (installing qt5 qmake accordingly to systems package manager).
If run without parameters, miner will start mining with 75% of available virtual cores on NiceHash. Use parameter -h to learn about available parameters:
-h Print this help and quit
-l [location] Stratum server (eu1-zcash.flypool.org:3333)
-u [username] Username (worker_name)
-p [password] Password (default: x)
-t [num_thrds] Number of threads (default: number of sys cores)
-d [level] Debug print level (0 = print all, 5 = fatal only, default: 2)
-b [hashes] Run in benchmark mode (default: 100 hashes)
-a [port] Local API port (default: 0 = do not bind)
Example to run benchmark:
nheqminer.exe -b
Example to run with full logging (including network dump):
nheqminer.exe -d 0
Example to mine:
nheqmine.exe -l zec.coinmine.pl:7007 -u feeleep.1 -p x -t 6
Note: if you have a 4-core CPU with hyper threading enabled (total 8 threads) it is best to run with only 6 threads (experimental benchmarks shows that best results are achieved with 75% threads utilized)