How to mine Zcash: Flypool + EWBF’s Cuda Zcash Miner [Nvidia]

We may receive compensation from the companies whose products we review if you click through our affiliate links. As an Amazon Associate we earn from qualifying purchases.

This brief guide is focused on how to mine Zcash with Nvidia GPUs with either the Windows or Linux operating system. Zcash (ZEC), which utilizes the Equihash algorithm, has lingered near the top of the charts for Nvidia mining profits. It’s also traded on multiple exchanges making it easy to exchange for other cryptocurrencies.

This article is out of date. Learn how to  dual mine ETH and ZIL (and other cryptocurrencies) in our list of 2021 mining software – plus what other cryptocurrencies mining, and what other coins the miners we are using can mine!

In this guide we will be mining Zcash (ZEC) with Nvidia GPUs and mining it from the mining pool Flypool.

Mining Zcash with EWBF’s Cuda Miner – What you’ll need

To mine Zcash with EWBF’s Cuda Miner you will need:

  • A GPU Mining Rig (with Nvdia GPUs) running Windows or Linux
  • Zcash wallet to deposit your mined ZEC into

If you’re at the phase of building a mining rig, check out our 6 GPU mining rig guide. The 3-part tutorial walks through each and every step to get your up and mining with as little hassle as possible.

Step 1: Download and install EWBF’s CUDA Zcash miner

EWBF’s CUDA Zcash miner is available from a few different sources. We recommend downloading it from the official git repository. The version of the Zcash miner that we are running is 0.3.4b.

  1. Navigate to the repository for EWBF’s CUDA Zcash miner on github
  2. Download the version appropriate for your platform (Windows or Linux)
    • We recommend the compiled binaries. Download the version appropriate for your hardware and OS:
      • for Windows
      • Zec.miner.0.3.4b.Linux.Bin.tar.gz for Linux
    • if you want to compile the miner yourself, download the most recent version of the source code for your operating system.
  3. Uncompress the archive you downloaded in a convenient location (such as the desktop)
  4. If compiling your own binaries, do so now


Step 2: Review a batch file for starting the Zcash miner

We’ll be starting the miner using a simple text file that tells the operating system to launch the mining program. It also allows the configuration of settings when EWBF starts. These files can be created an edited with any text editor. On the Windows platform, the correct file extension is .bat. On Linux, it is .cmd.

Our batch file for mining Zcash at Flypool

Below is an example of a batch file that we use on one of our Windows-based mining rigs. Everything is contained in a single line in the .bat file. That single line specifies the program to be run (miner) and a few settings that customize the miner’s activity. Finally, and most importantly, one of Zcash wallet addresses is specified so mined Zcash goes to the right place. Here’s the .bat file that we are currently using to start mining. Scroll to see all of it’s contents if necessary.

miner --server --port 3333 --user t1HuKRfQbdfrTXVZ55C1M41kohJDEsS4Cpw.gpu0r18 --pass z --api --tempunits C --r 120 --log

Two minus signs indicate variables or settings that will be supplied to the miner when it starts. Whatever directly follows a minus sign and setting is the value for the mining software to use. Let’s go through each in this file.

Variable What it is
The URL of the mining server
The port required by the server for mining Zcash
The Zcash wallet address and the name of the mining rig that is mining separated by a period
Password is not used by Flypool, but you must supply something. We use a ‘z’
--api (optional)
No value required
--templimit (optional)
Instructs the miner to stop any card mining above the temperature indicated
--tempunits (optional)
Specifies whether temperature units should be expressed in F or C
--r (optional)
Tells the miner to automatically restart by the value in minutes
--log (optional)
Stores a local log of the miner’s activity

The settings not marked as optional are the bare minimum that must be used to mine ZEC at flypool.

Optional EWBF settings we currently use

As you can see, we’ve also included several optional settings. Here’s what they do and why we are using them:

  • –api – Adding this to the batch file allows you to monitor the miner’s progress with a web browser
  • –tempunits – We set our temperature unit to Celsius to correlate with our overclocking software
  • –r – We’ve unfortunately found that EWBF crashes randomly, regardless of our overclocking. –rr 120 forces the miner to restart every two hours (120 minutes) whether it needs to or not.
  • –log – When a miner crashes it’s good to be able to see how it was behaving right before it crashed. By specifying –log, a log file is placed in the same folder as EWBF’s Cuda Zcash Miner.


Step 3: Configure the miner with your settings

Settings to mine Zcash at Flypool

Now that you understand how the file that we’ll use to start Zcash works, all you need to do is to configure the settings for your mining rig:

  1. Make a note of the Flypool Zcash server that is closest to your mining rig’s physical location
    • Asia:
    • China:
    • Europe:
    • United States:
  2. In the folder containing EWBF’s Cuda Zcash Miner, create a memorable file name such as start_ZEC_flypool.bat. If your are on Linux, your file extension will be .cmd as opposed to .bat.
  3. Open the file you just created in a text editor. .
  4. Copy the entire line below that starts with ‘miner’
  5. Paste it into you file making the following changes:
    • change YOURSERVER to the Flypool server nearest to you
    • update YOURWALLET to your Zcash wallet address
    • set YOURRIG to the name of the mining rig you’re setting EWBF up for
  6. Save the file
miner --server YOURSERVER --port 3333 --user YOURWALLET.YOURRIG --pass z --api --log

Step 4: Start mining

You’re ready to start mining Zcash on Flypool!

Start to Mine Zcash with EWBF's Zcash Cuda miner

What you see when you start to mine Zcash with EWBF’s Zcash Cuda miner.

  1. Double-click the file we just edited in Step 3
  2. A window will appear showing the miner’s progress as it connects to Flypool and starts mining Zcash. In Windows it will look like the image above.
  3. That’s it, you’re mining Zcash from Flypool with EWBF’s Cuda Zcash Miner!
  4. To check your mining progress on Flypool, Visit
  5. At the top right-hand corner of the webpage, enter your Zcash wallet address and click the magnifying glass to find your miner.
  6. Since we included –api you can monitor the miner with a web browser as opposed to the command/terminal window. On the mining rig, navigate to in a web browser. You should see a screen like the one below.
EWBF's Zcash Cuda Miner API

Monitoring mining progress locally with EWBF’s Zcash Cuda Miner

Having issues? There’s only a few things that can really go wrong. They include:

  • Do note that when you start mining it can take a few minutes before Flypool acknowledges your miner.
  • One or more values were incorrectly set in the .bat or .cmd file
  • Something is wrong with your mining rig
  • Flypool is down (visit to verify their site is up and running)


Next steps

  • Learn more about EWBF’s Cuda Zcash Miner  – We’ve only exposed you to a few of the settings that are available for use when mining. In the folder with the miner in it, open the HELP.txt file to review all available settings.
  • If you haven’t already, learn about overclocking your video cards to tune your mining rig’s performance.