Mining For ZCASHsteemCreated with Sketch.

in bitcoin •  7 years ago 

GPU pricing got a little crazy this year for a few months, and I took a break from building new GPU mining rigs because they were too expensive. I believe AMD GPU’s are still a little overpriced and hard to buy, so I decided to build six Nvidia GPU based mining rigs.

AMD RX 480 and 580 GPU’s work really well on Ethash mining algorithms, and do a decent job on Equihash. Nvidia GPU’s are the opposite – they do better on Equihash and are decent with Ethereum.

If you watch my latest youtube video, CryptoCurrency Mining Strategies and What I am Mining Sept 2017 (below), you will see that I advocate mining with many different types of miners, and mining many different types of cryptocurrencies, all at the same time. For example, in the past few months I have mined BTC, DGB, BCH, ETC, EXP, ETH, UBQ, ZEN, ZEC, LTC, MUE, DASH, and others. I also run masternodes and stake different cryptocurrencies to participate in other crypto generating activities.

Although the leaders in the cryptocurrency mining space are BTC, ETH, LTC, DASH, ZEC, and XMR, there are benefits to mining lesser known cryptocurrencies, if you are able to hold them for a while. The smaller crypto’s are volatile, and as long as they have a good team developing and improving them, they will go up in price over time. By holding then converting a portion of your mined crypto’s to Bitcoin or Ethereum when the price doubles, you improve your mining profitability substantially. And as long as the cryptocurrency has good prospects, if you hold it for a long time it might go up in value 5x, 10x, or even 100x. This has happened in the past, and will happen in the future.
Anyway, to make a long story short, Nvidia GTX 1060, 1070, and 1080 GPU’s are good for mining ZEC and ZEN, and since I believe both project have good long-term prospects, I figured I needed to be making some Nvidia based GPU miners. This is a list of what to buy and how to set it up to get you mining quickly.

Bill of Materials
Equipment list – Links are to Amazon or Parallel Mining product page. Buy from wherever you can get the best deal!

Motherboard – Biostar Motherboard TB250-BTC – $95
Processor – Intel Celeron Kaby Lake 2.9GHz LGA 1151 processor – $41
Memory – 4GB Single DDR4 DIMM 288-Pin Memory – $36
SSD – EthosDistro 16GB with operating system and application pre-installed. – $49
Case – ParallelMiner BAREBONE – ALL ALUMINIUM 6.1 GPU OPEN AIR MINING CASE – $220
Power Supply – Corsair HX1200 1200W 80 Plus Platinum – $240
Risers – ITHOO USB3.0 PCI EXPRESS 1X TO 16X EXTENDER RISER CARD ADAPTER W/ 24″ CABLE from parallel miner – Qty 6 – $64
GPU – ASUS GeForce GTX 1070 8GB ROG STRIX OC Edition – $460 – qty 6 -> $2760
Optional – ATX power switch – two pack – $10
Case screws:
Motherboard to case – PC Mounting Computer Screws M3 x 1/4-Inches Long – qty 50 – $2
Risers and GPU’s to case – Maxmoral 200pcs Toothed Hex 6/32 SCREW 6 – 32 Computer – qty 200 – $9
Total Cost for Bill of Materials: ~$3500

Build Instructions
Here’s some basic instructions for the most efficient order of operations when building the machine. The idea is to get a basic computer built, troubleshoot any potential issues, install the operating system and application, then build the rest of the machine.

Hardware Build
Assemble the Case
Put the CPU, CPU fan, and memory on the motherboard. Plug in the CPU fan.
Optional – attach the ATX power switches and LED’s to the power header.
Plug the SATA cable into the motherboard.
Put the motherboard in the case and screw it in with the smaller screws.
Attach the power supply to the right side of the case. Use the screws that came in the box. Attach power cables from the power supply to the Motherboard, CPU power, SSD.
Screw in one of the PCI-E Riser cards in the second slot (right above the CPU fan), plug it into the second PCI-E slot on the motherboard closest to the processor, and plug in power from the power supply.
Put a GPU into the PCI-E riser card, screw it into the case, and attach a PCI-E power cable to it.
Attach a keyboard to the motherboard and HDMI monitor to the GPU card.
Plug the power cord into the power supply, turn on the power switch.
Press the ATX power button, or short the power button header pins with a screwdriver. The machine should boot.
If it doesn’t boot, this is the time to do basic troubleshooting. Don’t add any more graphics cards until you get at least one working.

If it does boot, configure the BIOS, connect an Ethernet cable to the network that can get to the internet, and reboot.

Motherboard BIOS Settings
Turn off unneeded services on the BIOS, keep all the PCI settings on Auto, set the graphics TOLUD to 3.5GB. Make the power come on whenever power is applied to the board. Here is a set of pictures for BIOS settings for a similar motherboard.

Setting up EthosDistro mining operating system
This is a purpose built version of Linux that is optimized for GPU mining. It works really well, better than running Windows or Ubuntu for mining. By using EthosDistro, I save time and don’t need to mess around with the operating system. You can, of course, use the same hardware build and run Windows or Linux and mine with it, but I recommend using a purpose built operating system.

What I really like about EthosDistro is how it has settings for adjusting power, fans, core clock speed, and memory clock speed. This allows for overclocking and power limiting of the GPU’s. You can also set up a single configuration file on a webserver, and by changing one file on your miner, have it go to that configuration file on boot, pull its config, and start mining. It even checks the file every few minutes while running, so it’s possible to reboot the miner to have it accept new settings.

After setting the BIOS, connecting Ethernet, and rebooting, EthosDistro boots to a screen that is more user-friendly than just a command line:
This shows one GPU is successfully mining Ethereum. There are a few important pieces or information you need from this screen.

IP address of the miner itself – access by SSH – this one is at 10.172.0.232
name of the miner – this one is e7423e
URL of the website with statistics. Depends on the IP address of your location. – this one is http://a127f5.ethosdistro.com
It is mining to the EthosDistro address. That needs to be changed. I recommend not using this screen for making changes, and instead using SSH from your PC. Here are some options for SSH on different operating systems:

Linux – use the Terminal command line
Mac – use the Termminal command line
PC – use the Bash command line, or download and use Putty
If you don’t know the first thing about Linux you may want to learn at least the basics. Get started here.

Setting up EthosDistro to Mine for You
The screen shows the IP address. SSH to the IP address like so:

ssh [email protected]
(enter password live)
The system is designed to download a file from a website and run. If you don’t want it do that, edit remote.conf with nano or vim, and make it a blank file. When the system boots, it will copy whatever file is referenced in remote.conf into local.conf, unless there is nothing in the remote.conf file.

For just a single miner, edit the local.conf file with nano or vim to configure the miner to work for you. Here is an example configuration for mining Zcash. Put this at the beginning of the local.conf file:

globalminer ethminer
maxgputemp 90
stratumproxy enabled
flags --cl-global-work 8192 --farm-recheck 200
globalfan 85
autoreboot 12
globalpowertune 7

#zcash flypool
ewbf-zcash=proxywallet t1baES7LZ8Wx1mATYqQxeCShQwVbwTgnhuU
ewbf-zcash=proxypool1 us1-zcash.flypool.org:3333

nvidia miners

miner 4288a0 ewbf-zcash

nvidia

#pwr 4288a0 160 160 160 160 160 160
#cor 4288a0 1923 1923 1923 1923 1923 1923
#mem 4288a0 4314 4314 4314 4314 4314 4314
I like to keep the configurations for multiple mining pools in the file, commented out with the # symbol. That way if I want to change what I am mining I can just alter the configuration without looking everything up again. Before you start mining, you definitely want to have a wallet address of your own to mine to, which in this configuration is set by the proxywallet configuration item.

For any Bitcoin based cryptocurrencies, like ZEC and ZEN, I actually prefer to mine to a software wallet, then transfer to a hardware wallet every week or two. At this point, you can mine to a hardware wallet for ETH, ETC, and ZEC, and a software wallet for ZEN.

If you mine to a hardware wallet or exchange, change your pool settings so it only deposits once a day. More than once a day deposit into a hardware wallet or exchange can cause issues. And perform maintenance on your hardware wallet!

After you get the miner working with 1 GPU, then get the miner working with all 6 GPU’s. I like to plug them in one at a time then reboot, so I can figure out if I have a bad riser or card. The most common problem you will probably have is bad risers. I always order extra so I can quickly swap out a bad riser.
EthosDistro Documentation
There are two main sources of documentation for EthosDistro. The first is the local.conf file. A working example of the pool.txt for ethereum is posted online, with all the comments and examples. The pool.txt and local.conf file documentation is dense, so it takes a few times reading it through to figure it out. I had to read it through about 10 times before I understood how to change the settings to make it work. The second source of documentation is the EthosDistro Knowledge Base.

If you have more than one GPU miner, or want to be able to make changes remotely, you can create a text file and post it on a web server. The example above is a portion of my web server based configuration file. A fuller one is below:

globalminer ethminer
maxgputemp 90
stratumproxy enabled
flags --cl-global-work 8192 --farm-recheck 200
globalfan 85
autoreboot 12

globalpowertune 7

proxywallet 0x9F0EBB3e7A799e7F974e2F0cC5b5869132d1C4C5
proxypool1 us1-etc.ethermine.org:4444
proxypool2 us2-etc.ethermine.org:4444

#proxywallet 0x5E517e1E4E978deBca3752B0ac64CB34F7dEb86F
#proxypool1 us1.ethermine.org:4444
#proxypool2 us2.ethermine.org:4444

#zencash luckpool
claymore-zcash=proxywallet znT2g6zxEyFPhDTVN9QF9XrDvPzbWdr71sG
claymore-zcash=proxypool1 ssl://luckpool.org:3058
ewbf-zcash=proxywallet znT2g6zxEyFPhDTVN9QF9XrDvPzbWdr71sG
ewbf-zcash=proxypool1 luckpool.org:3057

#zcash flypool
#claymore-zcash=proxywallet t1baES7LZ8Wx1mATYqQxeCShQwVbwTgnhuU
#claymore-zcash=proxypool1 ssl://us1-zcash.flypool.org:3443gethelp
#ewbf-zcash=proxywallet t1baES7LZ8Wx1mATYqQxeCShQwVbwTgnhuU
#ewbf-zcash=proxypool1 us1-zcash.flypool.org:3333

nvidia miners

miner 4288a0 ewbf-zcash
miner 428a3a ewbf-zcash

nvidia

pwr 4288a0 160 160 160 160 160 160
cor 4288a0 1923 1923 1923 1923 1923 1923
mem 4288a0 4314 4314 4314 4314 4314 4314

pwr 428a3a 160 160 160 160 160 160
cor 428a3a 1984 1984 1984 1984 1984 1984
mem 428a3a 4360 4360 4360 4360 4360 4360

amd miners

miner 315e24 claymore-zcash

#amd miners
cor 315e24 1226 1226 1226 1264 1226 1226
mem 315e24 2000 2000 2000 1750 1750 1750
pwr 315e24 5 5 5 5 5 5

#reboot - increment number to reboot
reb 4288a0 26
reb 428a3a 26
reb 315e24 26
Put just the url, nothing else, in the file. The first time I did this I left in two comment lines, then the url, and it did not work. My remote.conf file has only one line, and looks like this:

https://blockoperations.com/ethos/ethos_classic_shaftoe.txt
There are many different ways to host a text file on a webserver, but that is beyond the scope of this article.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!