How to Setup a Miner for Scrypt and Worker on Mineshaft 2.0 Pool ! For Beginners !

Gender: Unknown
Country: Unknown
Threads: 130, Posts: 262

Installation of Cgminer on Windows !



How to setup CGMiner for mining Scrypt


So first we need to download 3.7.2 (which is the last version to support GPU mining) of CGMiner from here.

After you have downloaded CGMiner unpack the Zip file with WinRAR or WinZip.


So now that you have the files its time to setup everything so that you get the most out of your GPU.

There are 3 ways of settings up CGMiner which are trough the program itself, with a Config files and with a Batch file.

For this guide i will be using the Batch file method and i might add the Config file method later down the road.


Now open Notepad (if you dont have it Click here) or any other text editor you might be using and start by typing the following



  For Example  
                                                          setx GPU_MAX_ALLOC_PERCENT 100
                                                          setx GPU_USE_SYNC_OBJECTS 1
                                  cgminer --scrypt -o stratum+tcp://[poolurl:[port] -u [username].[workername] -p [password]

For Example on Mineshaft

                                                          setx GPU_MAX_ALLOC_PERCENT 100
                                                          setx GPU_USE_SYNC_OBJECTS 1
                                  cgminer --scrypt -o stratum+tcp:// -u [username].[workername] -p [password]


-u is your username+worker that you made on the pool website

-p is for the password you set it at


These settings will be enough to get you started mining without even optimizing it for your GPU.

So now you should save this into your CGMiner folder as a batch file.

Go to Save As in notepad and then change Save as type: to All Files and put .bat behind the name.



So now for the optimizing part. There are a few parameters to optimize your CGMiner to your GPU.

-w    Worksize 64, 128, 182 or 256 where 256 is the maximum

-I   Intensity is pretty crucial too high and it will lower your hash rate and give HW errors and too low will also lower your hash rate.

Intensity can be set from 0 to 20.

-g    Once you have found the optimal shaders and intensity, you can start increasing the -g value till cgminer fails to start.

Rarely will you be able to go over about -g 4 and each increase in -g only increases hashrate slightly.

--shaders     Use the shader count that your GPU has

--thread-concurrency      This tunes the optimal size of work that scrypt can do.

It is internally tuned by cgminer to be the highest reasonable multiple of shaders that it can allocate on your GPU.

Ideally it should be a multiple of your shader count. vliw5 architecture (R5XXX) would be best at 5x shaders, while VLIW4 (R6xxx and R7xxx) are best at 4x.

Setting thread concurrency overrides anything you put into --shaders.


Now for your GPU settings in CGMiner i'll use mine as an example.


                                                                                              --gpu-engine 1150 (gpu clocks you want to use)
                                                                                              --gpu-fan 10-85 (fan speed you want to use)
                                                                                              --gpu-memclock 1450 (memory clocks you want to use)
                                                                                              --gpu-powertune 10 (powertune i always leave it at 10 or 20)
                                                                                              --temp-cutoff 90 (max temperature untill CGMiner stops i usually put it at 90)
                                                                                              --temp-overheat 85
                                                                                              --temp-target 75 (max temperature you want to reach so it can adjust the fan speed you set at --gpu-fan)


When CGMiner is running look out at the [R] and [HW] points !

[R] should be below 1% of your accepted other wise it will slow down your hashrate too much for

[HW] errors there should be 0 if not your settings arn't the correct ones .




So here is what my batch file for CGMiner looks like with an R9 270 X VaporX

and remember these are guide lines so what works for me might not work good for you

so you have to play a bit with these settings.

Also my thread concurrency is higher then what this guide says it should be so as you can see its not the be all end all guide these are just guidelines.


So finally here is what my Tutorial batch file looks like which gets me  380 Kh/s !



cgminer   --scrypt -o stratum+tcp://  -u Lafu.Lafu  -p x  -I 15  --thread-concurrency 16384  --worksize  64  --gpu-engine 1150 --gpu-memclock 1450  --gpu-fan 50  --gpu-powertune 10  --gpu-threads 2             


And my example (batch file) has been built on this tutorial and extra rewritten for!




How you get to the Mineshaft 2.0 Mining Pool 

and Setup your Worker !





When you clicked on Miners here you Create and Manage Worker




Click Create Worker



Now you are Ready to Mine on Cryptopia Mineshaft Mining Pool


Here you see how you can Switch your Worker and Setup your Miner


When clicked Getting Started





I hope I could help you and give you a little good insight into the mining software

Regards Lafu



Posted: 10/15/2016 4:43:35 PM Edited: 11/17/2016 10:57:35 PM
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1

How to Witthdraw coin to Wallet from Mineshaft ?foot-in-mouth

Posted: 10/27/2016 3:58:52 AM
Gender: Unknown
Country: Unknown
Threads: 3, Posts: 33

How to Witthdraw coin to Wallet from Mineshaft ?foot-in-mouth

sayyed_raza: 10/27/2016 3:58:52 AM

 They are auto added to your current balance each time they are confirmed.
You can see your what you received from mineshaft at

Posted: 10/27/2016 5:38:43 AM Edited: 10/27/2016 5:39:16 AM
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 6

nice work :) 

Posted: 11/17/2016 9:00:35 AM
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1

Conf file for NVIDIA for ccminer => open notepad, paste it and save it as ccminer.conf in ccminer dir


"_comment1" : "Possible keys are the long options (ccminer --help)",
"_comment2" : "todo: support /* comments */",

"algo" : "scrypt",

"api-bind": "",
"statsavg": 5,

"quiet" : true,
"debug" : false,
"protocol" : false,
"cpu-priority" : 4,

"show-diff" : true,
"no-gbt" : true,
"url" : "stratum+tcp://",
"user" : "ID.MinerName",
"pass" : "YourPASS"

Posted: 3/16/2017 11:00:43 PM
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1


Sorry for the bother but is CG Miner 3.7.2 still available. When I try to download from the link provided it says it is in the wrong format or corrupted. I am just looking to learn about the process and if there is a alternative where I can find easy configurations I would like to try it just for the knowledge. Thanks for any suggestions.


Posted: 8/23/2017 7:36:24 PM
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1

 Why button Mineshaft is not displayed?

Posted: 10/22/2017 6:47:52 PM
Gender: мужчина
Country: Russia
Threads: 0, Posts: 3

Сам майнинг то на сервисе где? frown

Posted: 12/30/2017 6:10:08 PM