How to run Litecoin mining on Windows with a GPU with CGMiner

How to run Litecoin mining on Windows with a GPU with CGMiner

 

1) Download CGMiner 3.7.2 here:

http://cryptomining-blog.com/wp-content/download/cgminer-3.7.2-windows.rar

(If that link becomes dead, please contact me and I’ll update the blog with a new reference or self hosted copy.)

It’s important that you use CGMiner version 3.7.2 as that is the last version before it stopped supporting GPU mining for LiteCoin.

 

2) Extract the Rar file for CgMiner anywhere on your Windows computer.

 

3) Setup a LiteCoin mining pool account. I have used both: give-me-coins.com and litecoinpool.org – They both worked fine and seem legit. Create an account and ensure you have at least one worker setup.

 

4) Setup OpenCL or CUDA for your computer’s GPU. I had already done this as part of a previous article where I setup my computer for Windows GPU processing. CUDA is specific to NVidia cards, and NVidia cards can also use OpenCL. Setting up OpenCL (or CUDA) is pretty specific to the exact GPU you are using, so I can’t give you specific instructions on those details.

 

5) Run CGMiner by starting CGMiner.exe. On a command line run CGMiner.exe like this:

cgminer.exe -d 0 --scrypt -o http://ltc.give-me-coins.com:3333 -u StyleMyImage.blog -p 123456 --thread-concurrency 6400 -g 1 -w 128 -I 12
  1. The –thread-concurrency should be a multiple of your GPU’s shader count. Mine is 640 shaders, hence my –thread-concurrency set to 6400
  2. The “-a scrypt” tells minerd to use the LiteCoin hashing algorithm.
  3. The “ltc.give-me-coins.com:3333” is the pool mining address for Give-Me-Coins.com
  4. The “-d 0” indicates to use the GPU device with address 0.
  5. The “-u StyleMyImage.blog -p 123456” are the user and password for your mining worker. You can add more workers, change names, and change passwords through your mining pool’s dashboard and portal controls.

An example for running cgminer.exe to litecoinpool.org would look like this:

cgminer.exe -d 0 --scrypt -o http://us.litecoinpool.org:3333 -u Mandelhoff.blog -p 123456 --thread-concurrency 6400 -g 1 -w 128 -I 12

 

That’s everything for mining Litecoin with your GPU on Windows using CGMiner. Enjoy!

LiteCoin donations welcome at address: LT3TrMdTjMYVXqKdpMPDxTVKVG3S2Dp6as

How to run a Litecoin miner on Windows CPU

How to run a Litecoin miner on Windows CPU

1) Download the CPU miner tool here:

https://sourceforge.net/projects/cpuminer/files/latest/download

This contains a minerd.exe which is the actual mining tool eventhough the project package is called CPUMiner.

Note: It’s very likely that your antivirus will flag this as malware. I’m very certain it’s not. The cpuminer is packaged in many botnets, which is why Antivirus software flags the minerd.exe.

 

2) Unzip the download of CpuMiner and Minerd from Sourceforge to anywhere on your computer.

 

3) Setup a LiteCoin mining pool account. I have used both: give-me-coins.com and litecoinpool.org – They both worked fine and seem legit. Create an account and ensure you have at least one worker setup.

 

4) Run CpuMiner by starting Minerd.exe. On a command line run minerd.exe like this:

minerd.exe -a scrypt -o stratum+tcp://ltc.give-me-coins.com:3333 -u StyleMyImage.blog -p 123456
  1.  The “-a scrypt” tells minerd to use the LiteCoin hashing algorithm.
  2. The “stratum+tcp” is a special protocol that cryptocurrencies use to communicate between the pool and workers.
  3. The “ltc.give-me-coins.com:3333” is the pool mining address for Give-Me-Coins.com
  4. The “-u StyleMyImage.blog -p 123456” are the user and password for your mining worker. You can add more workers, change names, and change passwords through your mining pool’s dashboard and portal controls.

An example for running minerd.exe to litecoinpool.org would look like this:

minerd.exe -a scrypt -o stratum+tcp://us.litecoinpool.org:3333 -u Mandelhoff.blog -p 123456

The minerd.exe will kick off one worker thread per cpu that you have, and should set your CPU usage near 100% automatically. If you want it to run fewer threads, so your CPU isn’t at 100% usage simply add a “-t X” argument to your minerd.exe command. Example: 

minerd.exe -a scrypt -o stratum+tcp://us.litecoinpool.org:3333 -u Mandelhoff.blog -p 123456 -t 2

Adding the “-t 2” will limit the number of worker threads in minerd to 2.

 

That’s everything for mining Litecoin with your CPU on Windows using CpuMiner and Minerd.exe. Enjoy!

LiteCoin donations welcome at address: LT3TrMdTjMYVXqKdpMPDxTVKVG3S2Dp6as