OpenCL miner for ergoplatform.com
You can find CUDA miner at: CUDA miner
-
Download the miner for desired OS.
-
Run the ErgoStratumProxy executable (Bundled with the miner release)
- In Windows PowerShell:
.\ErgoStratumProxy.exe -s <POOL_ADDRESS> -p <POOL_PORT> -u <WORKER_NAME>
- In linux:
./ErgoStratumProxy_Linux -s <POOL_ADDRESS> -p <POOL_PORT> -u <WORKER_NAME>
- Run the miner
- If neccessary, edit
config.json
; set node address to the proxy's address (by default this address is:{"node":"http://127.0.0.1:3000"}
)
Miner has a HTTP info page located at http://miningnode:36207
(one can change default port by adding -DHTTPAPI_PORT XXXX
to Makefile).
It outputs total hashrate, and per-GPU hashrates, power usages and temperatures in JSON format (relies on NVML, can fail if NVML fails - if so, JSON contains error field).
- Installing AMDGPU PRO driver for Ubuntu.
Download AMDGPU-PRO package for your Linux distribution from amd.com, upack the downloaded file and run:
$ amdgpu-pro-install --opencl=legacy,pal --headless
- Opencl headers
$ sudo apt-get install opencl-headers
- libcurl library: to install run
$ apt install libcurl4-openssl-dev
- OpenSSL 1.0.2 library: to install run
$ apt install libssl-dev
-
AMD graphic card with driver installed
-
Download and Install AMD APK
-
Build libcurl from sources with Visual Studio toolchain instruction
-
Download OpenSSL 1.0.2 installer from slproweb.com
-
Download and install Visual C++ redistributable
-
Change directory to Ubuntu
-
Run
make
-
If make completed successfully there will appear an executable Autolykos2_AMD_Miner/Ubuntu/ErgoOpenCL that can start with ./ErgoOpenCL
-
using visual studio
-
add OpenCL , LibCurl , OpenSSl libreries
-
Include Directories:
- Additional Include Directories:
- Additional Library Directories:
- Additional Dependencies:
These files must be in the same folder as Executable file:
- Miningkernel.cl
- Prehashkernel.cl
- Ocldecs.h
- Ocldefs.h
- Libcurl.dll( in windows)::: There is a libcurl.dll file in the win64 folder, use it or better replace it with your own built file
- Config.json
Change the config.json file with your node's address.
In order to use this miner with a stratum pool, a stratum proxy is needed.
- Download Ergo Stratum Proxy
- Run proxy
- In the miner's config file set node address to the proxy's address
(by default this address is:
{ "node" : "http://127.0.0.1:3000" }
)
Note that the miner is free to use and we do not charge any fee from what you mine. To support all the work we're doing, we welcome donations from ERGO miners!
Bitcoin: 3KkwygpCLs1oEi9aTozFxYunoASV6ZrykJ
Bitcoin: bc1q7flay376e5mcp4ljjxpdp7r6p8yajcjm5mu6wd
ERGO: 9fFUw6DqRuyFCv13nQyoDuDz4TiR4GvVvWRcSvqzs39eBVcb5S1