Currently Zcoin can be mined by CPU and GPUs.
We use the MTP algorithm which is designed to be ASIC-resistant to lengthen fair distribution and allow home miners to participate for as long as possible.
Before you begin, make sure you have a Zcoin (XZC) address where you want your mining payouts to go to. To get one, download a Zcoin wallet and sync it with the network.
The guide is meant for Windows users though Linux users can easily adapt it.
Step 1: Getting your Miners
- Nvidia GPU: ccminer by djm34 (now with multi-GPU support)
- cpuminer by djm34
- sgminer (Work in Progress)
Extract the exe binary into a folder of your choice.
Note these are reference miners, and we expect the community to develop more efficient miners as MTP matures. This will allow casual/home miners to participate during this early stage.
The GPU miner does not support multi-GPU setups (requires initialization to be done on GPU to be coded). PCI-E risers increase initialization time significantly.
Step 2: Registering with a Pool (if not solo mining)
There are several pools running Zcoin on MTP (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.
Step 3: Configuring your Miner
Open your favourite text editor, cut and paste the following line corresponding to your selected pool and miner and edit it accordingly.
For Pool Mining
cpuminer.exe -a mtp -o stratum+tcp://POOLADDRESS:PORT -u username.worker -p password -t numberofthreads
If -t is not specified, it will use the maximum number of threads. It is recommended to have a computer with at least 8 gb of RAM as the miner consumes about 6 gb of RAM.
For ccminer (Nvidia):
ccminer.exe -a mtp -o stratum+tcp://POOLADDRESS:PORT -u username.worker -p password
For sgminer (AMD) (coming soon):
sgminer.exe -k mtp -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.
For Solo Mining
You will need to edit zcoin.conf to allow rpc calls. Navigate to the location of the zcoin data files, default is %appdata%\zcoin
Make a new file called zcoin.conf and add and adapt these lines:
rpcuser=zcoin (up to you to change)
rpcpassword=mtp (up to you to change)
Once this is done, restart your Zcoin wallet and ensure it is synced.
Then make a new file called miner.bat as below and save in the same folder as where you had extracted the miner binary to earlier.
ccminer.exe -a mtp http://127.0.0.1:8382 -u zcoin -p mtp --no-getwork --coinbase-addr YOURZCOINADDRESS
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). Note for solo-mining you need to wait for your Zcoin wallet to be synced.
If you’re seeing your shares as accepted, you should be good to go! Note that it may take a few minutes for the correct speed to be reflected on your pool’s website and your mining command line.