Today we’re going to talk about how to mine LUX coin. LUX is a coin you’ve probably only just heard about, which is a shame because if you’d heard about it earlier you’d probably be a touch richer right now. I’m not going to talk about if it’s legitimate, the secret dev team, or anything else, this guide is just how to mine LUX coin.
Mining LUX is also super profitable at the moment, not only because of the raw returns per hash, but also once you’ve earned them you can earn even more by leaving them in a wallet and earning a Proof Of Stake reward. LUX uses a variation of the SGMiner software, updated to run a new PHI algorithm specific to LUX coin.
I’ve recently moved a few of my rigs over from mining Eth and Zec to LUX. At today’s rates, i’ve increased my daily profit ~75% by doing this, so let’s look quickly at what I did and how I did it. Getting LUX set up to mine was a little more complex than other miners, if only due to the total lack of information available online. There is only one guide I could find online about how to mine, and it didn’t result in a working miner. So let me try. I had real problems with the LUX miner crashing straight to windows without an error message, but i eventually fixed it.
This guide is for AMD mining on Windows. For alternative combos, you’ll need alternative software and settings.
Note: Once you’ve got the miner working, read my article about how to tune it here.
Stage 1: Download the Miner
The file is here. Remember this is AMD, and Windows (64 bit) only. If it asks for a password to unzip it is elbandiminer don’t ask me why it has a password, it shouldn’t. This info may not be valid after future updates. If a virus software tags it, it is a false positive like with most miners, so whitelist it.
Stage 2: Download the wallet software, and pick a pool.
The wallet software for windows is here. Download and install it. You’ll need to let it download the blockchain, which may take a while.
You’ll then need to pick a pool to mine on. I recommend Altminer.net as they provide a very thorough support service on discord, and seem to have good uptime and low fees.
Stage 3: Create a bat file and start.
Or just download my BAT file and modify it to suit you from here.
So most miners come with a “Start” bat file for you to edit. SGMiner does not, so you have to make your own. So do the following:
- Create a new folder somewhere, name it SGMiner (or whatever you like), and unzip the contents of the miner’s ZIP file you downloaded into it. The password is elbandiminer if you need it.
- In that folder, right click on some white space, choose new, then text document. Rename that text document to whatever you like, it doesn’t matter what. I called mine Start.
- Now, open the new text document, and in it paste:
setx GPU_MAX_ALLOC_PERCENT 100
sgminer.exe -k phi -o stratum+tcp://pool.port -u walletaddress -p c=LUX -I 20 – –gpu-platform 1 2>log.txt
As a more complete example, here is my exact config file:
setx GPU_MAX_ALLOC_PERCENT 100
sgminer.exe -k phi -o stratum+tcp://eu1.altminer.net:6667 -u LMMLQvz3ZZo6R29vZM7gCgBQUsvyGYChjh -p c=LUX -I 20 – –gpu-platform 1 2>log.txt
- Now, go to Save As, in the “SAVE AS TYPE” box, choose “All Files”, and in the file name box, save the file as whatever.bat, this will create a BAT file, that you can click on to start the miner.
- You should now just click your bat file, which should just run.
So I learnt a few things during the process.
- The command ––gpu-platform 1 is necessary for AMD cards on most newer systems, without it the miner will just crash to desktop. I’ve found that with some recent AMD drivers I had to use gpu-platform 2 instead. The correct syntax for this is with the two short dashes (––) before it, if you try to run it with one dash or one longer dash then the miner will give an error. Getting this wrong leads to Unexpected extra command line arguments error in the log file. When you copy and paste my text, it may or may not copy and paste the two dashes correctly and will probably paste longer dashes. Manually make sure there are two short dashes before the gpu-platform command, otherwise it won’t work.
- Older systems where there is no built in GPU on the CPU will not require gpu-platform 1, either delete it it or replace the 1 with a 0.
- The command 2>log.txt creates a log file you can use to see errors if the miner does just crash to desktop. If your miner does not crash to desktop, then this command isn’t really necessary.
- The SGMiner is much more core speed dependant than other miners such as Claymores Eth and Zec miners. I was getting a low hash speed, which was fixed by resetting my overclock, and then improved further by overclocking the GPU core. I’m currently getting about 15.5MHz from each RX580 8GB card, @ 1400/2100 overclock. I think I can push them further.
- Lower Intensity values slow the miner down a lot. At -I 10 I lost about 40% of performance, so go for I -20.
- Windows Defender or other antivirus may delete the .exe file, in which case your BAT wont work. Make sure the files are whitelisted on your antivirus. I had to disable Windows Defender in the registry to get it to stop deleting my .exe file.
- SGMiner takes a lot longer to give you information than other mining software. Just wait, it may take a couple of minutes, but as long as the command prompt box is visually open, it’s working on starting. You only have a problem if it closes.
- On one of my rigs, it would randomly crash out without an error, and the log showed it found graphics cards correctly, and didn’t give an error log before closing. Creating a new windows user and trying again fixed that problem.