Currently Zcoin can be mined by CPU and GPUs though are most efficient on 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: Official Zcoin ccminer by djm34
- AMD GPU: Official Zcoin sgminer by djm34
- Nvidia GPU: T-Rex Miner (closed source with 1% fee)
- Nvidia GPU: TT-Miner (closed source with 1% fee)
- Nvidia GPU: Cryptodredge (closed source with 2% fee)
- cpuminer by djm34
- AMD GPU: WildRig
(closed source with 1% fee)
Warning: Miners are listed here for convenience but non-official miners have not been vetted. Use at your own risk.
Extract the exe binary into a folder of your choice.
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:
- us-zcoin.zellabs.net:7015 (USA)
- F2Pool (PPS Pool)
- xzc.f2pool.com:5780 (Asia)
- mtp.mine.zergpool.com:3000 (Europe)
- Solo Pool
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 a decent amount of RAM for stability.
For ccminer (Nvidia):
ccminer.exe -a mtp -o stratum+tcp://POOLADDRESS:PORT -u username.worker -p password
For sgminer (AMD):
sgminer.exe --kernel mtp -o stratum+tcp://POOLADDRESS:PORT -u username.worker -p 0,strict,verbose,d=700 --worksize 256 --intensity 18
For T-Rex Miner (Nvidia):
t-rex.exe -a mtp -o stratum+tcp://POOLADDRESS:PORT -u username.worker -p password
For CryptoDredge (Nvidia):
CryptoDredge.exe -a mtp -o stratum+tcp://POOLADDRESS:PORT -u username.worker -p x
For TT-Miner (Nvidia):
TT-MinerCmd.exe -A MTP-100 -P [email protected]:PORT
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.