Pool Mining Guide

reubenyap edited this page Jan 1, 2017 · 10 revisions

Pool Mining Guide

This guide assumes you already have a wallet running for you to receive your mining payouts. If not, refer to the installation guide first.

Registering for a Pool and Creating a Worker

  1. There are currently 3 mining pools to use Pool.mn, Suprnova and MaxMiners.

  2. Head to the top right of the page of either pool and click on Sign-up


  3. Enter in your details to sign-up and don't forget your PIN! Take note of your username as you will need it later!

  4. Sign-in to your new account and go to My Account > My Workers in the left pane and give your worker a name and any password.

    Add a Worker

  5. Once you've added a worker, it should now show on the right hand side at the Worker Configuration. Just leave it at the default values it automatically entered. You should now have a username.worker and a password which you will use later in your miner.

Getting the Miner

To mine on a pool, currently there are only two publicly available miner programs, ocminer's custom cpuminer-xzc and optiminer's cpuminer-xzc which is a slightly optimized version of OCMiner's. For the purposes of this guide we will use Optiminer's version but can be applicable to ocminer's as well.


  1. Download the the Windows binary here.
  2. Extract the zip file's into any folder where you wish to run the miner from.
  3. Open up Notepad and cut and paste the following line corresponding to your selected pool into it after replacing username.worker and password with the entries you created earlier.

    For suprnova: cpuminer.exe -a lyra2rev2 -o stratum+tcp://xzc.suprnova.cc:5596 -u username.worker -p password

    For pool.mn: cpuminer.exe -a lyra2rev2 -o stratum+tcp://xzc.pool.mn:2428 -u username.worker -p password

    For MaxMiners: cpuminer.exe -a lyra2rev2 -o stratum+tcp://stratum0.maxminers.net:3756 -u username.worker -p password

  4. Click File *and *Save As

  5. Select Save as Type as All Files (.) and then browse inside the folder where you extracted the zip and which contains cpuminer.exe and save it as cpuminer.bat

    Save As

  6. Now before you double click cpuminer.bat note that some antiviruses classify the miner's actions as dangerous and deletes it. Add the relevant exclusions to your Antivirus software before running it.

  7. Double click cpuminer.bat and you should see something like this which means you are mining!

    Windows mining


  1. We will be using Ubuntu 16.04 LTS as the basis of our guide here but installation should be similar with other distributions. Open up a terminal window.
  2. Run the following in a terminal window:

    sudo apt-get update

    sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev gcc g++ git screen

  3. Once that is done type this:

    git clone https://github.com/optiminer/cpuminer-xzc

    cd cpuminer-xzc/

    ./build.sh # This builds the cpuminer binary and will take a few minutes.

    nano cpuminer.sh # This creates the script to start mining.

  4. From within nano type the relevant line depending on your pool and replacing username.worker and password with the entries you created earlier when signing up for the pool.

    For suprnova: screen -S zcoin ./cpuminer -a lyra2rev2 -o stratum+tcp://xzc.suprnova.cc:5596 -u username.worker -p password

    For pool.mn: screen -S zcoin ./cpuminer -a lyra2rev2 -o stratum+tcp://xzc.pool.mn:2428 -u username.worker -p password

    For MaxMiner: screen -S zcoin ./cpuminer -a lyra2rev2 -o stratum+tcp://stratum0.maxminers.net:3756 -u username.worker -p password

  5. Press Ctrl-X and press Y to accept the changes.

  6. Type chmod +x cpuminer.sh to make the file executable

  7. Type ./cpuminer.sh to launch the miner and you should see the following to show you're mining.

    Linux mining

  8. Press Ctrl-a-d to detach and you can then exit and have the miner running in the background. To resume the view of the miner type screen -r from the terminal.