I recently discovered NiceHash and quickly moved my mining efforts over to this cloud mining service. There was one small problem, however. I use nVIDIA cards and there is no one mining app which works for all NiceHash supported algorithms. I'm using ccminer for two and cudaminer for three of the algorithms. The let me to create NiceHashControl which can use the NiceHash API for gather pricing information, combine that with your own settings for hash rate and power consumption per algorithm, and finally launch the correct mining application. The app checks pricing once a minute and if a new algorithm is more profitable it will kill the existing miner and start the next one.

Behavior is still a bit rough but I've had it running on my computer for several days now. I plan to tighten things up to handle conditions such as the NiceHash API not responding (which has happened) before. Currently, I'm only releasing the binary as the code needs to be cleaned up so I wouldn't die of embarrassment when others looks at it. Once things are cleaned up I'll get the source out there.

Legal disclaimer: This program is not created, supported, or endorsed by NiceHash. It is my own creation and you use it at your own risk.

-t | --minimize-to-tray Minimize to the tool tray and hide miner when minimize icon is clicked.

Q & A:

Q: How can I start mining automatically when NiceHashControl starts? A: Launch with "NiceHashControl.exe --auto-start".

Q: NiceHash Control starts to display, freezes for a second, and then crashes. What is happening? A: Most likely there is an error in the config file. NHC is sensitive to the formatting of this file and will crash badly if there is an error. Make sure your "key":"value" pairs are all correctly named and that any path backslashes are created as double-backslash ("\\").

Q: Will NiceHash Control work on Windows XP? A: Yes, as of version 1.0.4 it is compiled against .NET Framework 4.0 which is supported on Windows XP.

I'll add answers to questions on this thread to the Q & A as warranted. Of course, that also depends on if there are enough (or any) donations to warrant continued support.

Here is the configuration file I'm currently using to show how both ccminer and cudaminer can be invoked. Note that the "name" parameter is just for information and is not used by the program. Also, the SHA256 configuration is completely missing as I'm not foolish enough to try and mine this with a GPU.

Correct, it uses the hash rates and power consumption from your config file combined with the current earning rate provided by the NiceHash API to figure out which coin to mine. My machine has been bouncing between X11 and X13 this evening.

Currently checks and switches once per minute. One feature I'm thinking of adding is a minimum run time between switches but with a low diff setting I'm seeing new blocks come through almost immediately after the switch so I'm not sure this is needed.

Currently checks and switches once per minute. One feature I'm thinking of adding is a minimum run time between switches but with a low diff setting I'm seeing new blocks come through almost immediately after the switch so I'm not sure this is needed.

i have a older system that i run with and its set to reboot every 6 hours. will the program start itself?

Hey man, I tried out your program, but sadly, when I try to open it, nothing happens for a few seconds, and then I get a message that it has stopped responding. I use 64-bit windows 7 and I am trying to use the V1.01 version.

Hey man, I tried out your program, but sadly, when I try to open it, nothing happens for a few seconds, and then I get a message that it has stopped responding. I use 64-bit windows 7 and I am trying to use the V1.01 version.

Hey man, I tried out your program, but sadly, when I try to open it, nothing happens for a few seconds, and then I get a message that it has stopped responding. I use 64-bit windows 7 and I am trying to use the V1.01 version.

Parsing the JSON config file is the most fragile piece of the program right now. If something is not right it will die badly. Another area I need to make some improvement.

I tried your sugestion, and the program, sadly, still does not work. When I now try to open it, my mouse displays a loading icon, and after a few seconds the process shows up in my task manager [0 processing power, roughly 10.000 kb ram), and then disappears again after a few seconds more. No error message or anything. If you need more info, don't hesitate to ask.

I tried your sugestion, and the program, sadly, still does not work. When I now try to open it, my mouse displays a loading icon, and after a few seconds the process shows up in my task manager [0 processing power, roughly 10.000 kb ram), and then disappears again after a few seconds more. No error message or anything. If you need more info, don't hesitate to ask.

I think I just spotted it. You don't have a comma after the '"name":"x11"' key value pair, or any of the other name keys. I'll correct my previous post to show what it should be.

Can't believe I just noticed this, but the price it takes are a factor 1000 too big. For instance, it gives the price for X11 as 7445. It still picks the most profitable one (my power is free, so that doesn't affect it, and it applies the error to all of them), but it just makes the projected profit rather optimistic.

Could you please send me the hash rates you have in the configuration file? The numbers have been right on for me so I'm curious if you put the rate in as hash/sec vs khash/sec. Also, keep in mind that the earning numbers are in BTC/day.