Skip to content

Instantly share code, notes, and snippets.

@chusri
Forked from sanzgiri/nicehash.txt
Created May 16, 2020 13:04
Show Gist options
  • Save chusri/d280cf3768319398545d20bcc2c4e0c8 to your computer and use it in GitHub Desktop.
Save chusri/d280cf3768319398545d20bcc2c4e0c8 to your computer and use it in GitHub Desktop.
[Running nicehash on Ubuntu]
- Open a nicehash account
- Enable 2FA
- Get a bitcoin deposit address
- List of nicehash algorithms is here: https://www.nicehash.com/algorithm
- Profitability calculator that lets you determine which crypto to mine based on hardware / currency / electricity cost is here: https://www.nicehash.com/profitability-calculator
- Use this to determine the most profitable algorithm for the upcoming day
- Select stratum based on algorithm and location from here: https://www.nicehash.com/farm-mining
- Set up a configuration file as follows:
https://github.com/nicehash/ccminer-nanashi/blob/master/README.txt
https://github.com/nicehash/ccminer-nanashi/blob/master/ccminer.conf
```
{
"_comment1" : "Possible keys are the long options (ccminer --help)",
"_comment2" : "todo: support /* comments */",
"algo" : "blake",
"intensity": 19,
"api-bind": "127.0.0.1:4068",
"statsavg": 20,
"quiet" : false,
"debug" : false,
"protocol" : false,
"cpu-priority" : 3,
"url" : "stratum+tcp://stratum.eu.miners-pool.eu:8421",
"user" : "ShGCAFrspnLDo414EzUyJm4k5Qr2Kkrmvh",
"pass" : "x"
}
```
```
sudo apt-get install build-essential libcurl4-openssl-dev git automake
git clone https://github.com/tpruvot/ccminer.git
cd ccminer
./autogen.sh
./configure CFLAGS="-O3 -Wall -march=native"
make
./ccminer -o stratum+tcp://blake2s.usa.nicehash.com:3361 --userpass=<your-bitcoin-address>:x -a blake2s -i 25
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment