Cuda miner for ergoplatform.com
You can find OpenCL miner at: OpenCL miner
1- Download the miner for desired OS.
2- Run the ErgoStratumProxy executable (Bundled with the miner release)
.\ErgoStratumProxy.exe -s <POOL_ADDRESS> -p <POOL_PORT> -u <WORKER_NAME>
./ErgoStratumProxy_Linux -s <POOL_ADDRESS> -p <POOL_PORT> -u <WORKER_NAME>
3- Run the miner
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).
(For Ubuntu 16.04 or 18.04)
To compile you need the following:
$ apt install libcurl4-openssl-dev
$ apt install libssl-dev
Autolykos2_NV_Miner/secp256k1
make
If make
completed successfully there will appear an executable
Autolykos2_NV_Miner/secp256k1/auto.out
and (if not already present)
a config file Autolykos2_NV_Miner/secp256k1/config.json
with stub contents.
secp256k1/winbuild.cmd
file, change OPENSSL_DIR
, LIBCURL_DIR
to your libcurl and OpenSSL directories, change CUDA_COMPUTE_ARCH
to GPU code architecture you wantvcvars64.bat
script, it should be in VISUAL_STUDIO_INSTALL_DIRECTORY\VC\Auxiliary\Build
vcvars64.bat
script, then change dir to secp256k1, then run winbuild.cmd
miner.exe
should appear in secp256k1
directory miner.exe
can't find nvml.dll
, add C:\Program Files\NVIDIA Corporation\NVSMI
to your PATH environment variable before running.[YOUR_CONFIG]
as an optional argumentAutolykos2_NV_Miner/secp256k1/config.json
as a config{ "node" : "https://127.0.0.1:9052" }
To run the miner on all available CUDA devices type:
$ <YOUR_PATH>/Autolykos2_NV_Miner/secp256k1/auto.out [YOUR_CONFIG]
To choose CUDA devices change and use runner.sh
or directly change environment variable CUDA_VISIBLE_DEVICES
{ "node" : "https://127.0.0.1:9052" }
To change CUDA devices available to the miner change environment variable CUDA_VISIBLE_DEVICES
, for example set CUDA_VISIBLE_DEVICES="0,1"
In order to use this miner with a stratum pool, a stratum proxy is needed.
{"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