How-to: Mining LTC with cudaMiner on a Stratum server

Edit: As of the July 13, 2013 release of cudaMiner, the program has native Stratum support. It is highly suggested to use this latest version.

Download the latest version of the software from here.

cudaMiner is mining software made by┬ácbuchner1 for the specific purpose of mining LTC faster on NVIDIA graphics cards. As a proud owner of a GTX 570, I decided to try out this software. I must say that this thing works wonder, however, it doesn’t have stratum support at this time. In order to have the miner work with a stratum server, a couple things need to be done:

First, download the stratum_proxy.exe that should be available from the mining pool website. Most sites will require setting up some triggers. To make things simple, just make a shortcut to the file, right click, and go to Properties. Under the “Target” field, scroll to the very end, type a space, add “-pa scrypt -o [server address] -p [server port]” (without quotes). The server address and port should be listed on the pool miner setup page in a specific section regarding setting up the stratum server proxy. For example, setting up the “Give Me LTC” pool stratum proxy, add “-pa scrypt -o stratum.give-me-ltc.com -p 3333″ without quotes to the end of the “Target” field and hit the “Apply” button.

Once that is done, make a shortcut to the cudaminer.exe and go to the shortcut properties. If you use your computer while mining, it is best to first add “-i 1″ without quotes to the end of the “Target” field. This will lower the hashrate a bit with the benefit of there being little to no lag when doing most everyday tasks on the system (however, things like gaming will still be affected). Then add “-o http://127.0.0.1:8332″ (without quotes). This tells the miner to connect to your computer, which the stratum proxy will detect and send and receive data from the correct server. After the -o, add “-u [workername] -p [worker password]” (without quotes). The worker name and pass are available through your mining pool user information. This will usually NOT be the username and password for accessing the pool’s website. Once done, hit “Apply” and close out of the window.

To start mining, first open the stratum proxy program through the shortcut, then open cudaMiner through the shortcut. If everything is set up correctly, the cudaMiner will report “longpolling activated for 127.0.0.1:8332/lp” and progress to auto-tuning and mining.

In order to speed up startup, you can tell the program to use a set tuning configuration ever time the program starts instead of going through the auto-tuning setup each time. After the first auto-tune, record the configuration number (mine is 30×7 for example), then go into the shortcut properties and add “-l [configuration numer]” (without quotes, lowercase L).

Since the program is being constantly updated, the easiest way to set up a new version is to overwrite the old program. However, this wastes some time having to close the program, so what I do is just unpack the archive folder to the desktop, and change the “Target” and “Start in” fields of the shortcut to the name of the new folder (usually just a date change). This way I always know the exact version I have. I would HIGHLY suggest checking the thread daily for updates. The hashrate of my card went from the 160 kH/s range with the April 13th version to over 200 kH/s on the April 14th version. Someone testing a 570 without the “-i 1″ command and auto-tuning enabled has manged up to 250 kH/s.

If you’ve found this guide useful, please feel free to donate some LTC or BTC to the addresses on the right of the page.

Leave a Reply