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: Official Zcoin ccminer by djm34
- AMD GPU: Official Zcoin sgminer by djm34
- Nvidia GPU: TT-Miner (closed source with 1% fee)
- Nvidia GPU: Cryptodredge (closed source with 2% fee)
- cpuminer by djm34
Warning: Miners are listed here for convenience but non-official miners have not been vetted. Use at your own risk especially those that are closed-source.
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:
- xzc.2miners.com:8080 (Europe)
- F2Pool (PPS Pool)
- xzc.f2pool.com:5780 (Asia)
- mtp.mine.zergpool.com:3000 (Europe)
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):
sgminer.exe --kernel mtp -o stratum+tcp://POOLADDRESS:PORT -u username.worker -p 0,strict,verbose,d=700 --worksize 256 --intensity 18
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.