GuidesMiningZcoin Blog

Guide on How to Mine Zcoin (XZC)

By March 22, 2017 No Comments

Currently Zcoin can be mined by CPU and also Nvidia and AMD GPUs.

We use the Lyra2z algorithm which is a chained algorithm using Blake256 first round and Lyra2 (timecost = 8, r=c=8) for the final round. This will be changed once we implement MTP which is scheduled to be released on mainnet in mid August 2017.

Before you begin, make sure you have an Zcoin (XZC) address where you want your mining payouts to go to. You do that by downloading a Zcoin wallet and syncing it.

The guide is meant for Windows users though Linux users can easily adapt it.

Step 1: Getting your Miners

Extract the exe binary into a folder of your choice.

Step 2: Registering yourself on a Pool

There are several pools running Zcoin on Lyra2z (arranged in alphabetical order). The ones we recommend are as follows:

Get yourself and account there and make sure you obtain a username and worker details and the pool’s address and port.

Special Notes on Zpool

Some pools such as Zpool, don’t use a username and only require you to specify a Bitcoin address as a username which you will be your payout address but you will receive payouts in Bitcoin. Zpool supports payouts in XZC too. Use this when moving to Step 3.

-o stratum+tcp://lyra2z.mine.zpool.ca:4553 -u ZCOINADDRESS -p c=XZC

Step 3: Configuring your Miner

Open up Notepad and cut and paste the following line corresponding to your selected pool and miner and edit it accordingly.

For cpuminer:

cpuminer.exe -a lyra2z -o stratum+tcp://POOLADDRESS:PORT -u username.worker -p password

For sgminer (AMD):

sgminer.exe -k lyra2z -o stratum+tcp://POOLADDRESS:PORT -u username.worker -p password

For ccminer (Nvidia):

ccminer.exe -a lyra2z -o stratum+tcp://POOLADDRESS:PORT -u username.worker -p password

After pasting it in, save the file as a .bat file (for e.g. miner.bat) in the same folder where you had extracted the miner binary to earlier.

Step 4: Running the Miner

Once you are done, run the bat file you created. You should see a window similar to this (will differ from miner to miner).

If you’re seeing your shares as accepted, you should be good to go! Note that it make take a few minutes for the correct speed to be reflected on your pool’s website and your mining command line. Happy mining!