How to setup a Stash mining pool for beginners

Stash Pay
Stash Pay
Mar 11, 2019 · 4 min read

This guide will demonstrate how to set up your own personal Stash mining pool.


  • VPS running Ubuntu 18.04 with 1GB RAM
  • Mining software (eg ccminer — this is specific to your mining hardware)
  • A Stash address for mining payouts

We will be installing a Stash Core node and a Stratum Pool. The Stash Core node and the Stratum Pool will be configured to talk to each other. The Stratum Pool will allow miners to connect and start mining Stash.

Follow Part A) of the guide How to setup a Stash masternode for beginners except when you get to number 10 change:

wget && bash

To this:

wget && bash [your mining address here]

Substitute “[your mining address]” with the Stash address you would like your mining rewards to be paid to. In this example we use Xj4YENArPqPMSiaziaasepj3jgqJY65cH3

Image for post

This will take some time as the script automatically installs a Stash Core node and a Stratum Server.

When prompted to install the Stash Core node type “y” for yes and press Enter

Image for post

When the installation completes you will see the stratum details needed to connect your miner to the Stash Core node to start mining.

Image for post

See this gif screen recording below to see the entire installation process (may take some time to load):

Image for post

We will now connect our miner to our mining pool. Which mining software you use will depend on your mining hardware and personal preferences. In this example we will use ccminer 2.3 for nVidia GPUs by tpruvot@github.

To connect to our stratum pool type:

ccminer.exe -a x11 -o stratum+tcp://[ipaddress]:3032

replacing “[ipaddress]” with your VPS ip address from step A) . In our example we type:

ccminer.exe -a x11 -o stratum+tcp://
Image for post

If all goes well your miner should now connect to your pool and start mining.

Image for post

To check that your stratum node server is running type:

source ~/.bashrc

Then type:

forever list

You should see a running process and a log file location. The log file location is randomly generated each time the server reboots and will be different on your server.

Image for post

To check the Stratum server is running type:

tail -f /root/.forever/[random].log

replacing “[random]” with the letters in your output above.

Image for post

By default the server opens two ports 3032 and 3256. This and many other settings such as difficulty and payout settings can be modified.

To change the default pool configuration edit the config file:

nano node_modules/stratum-pool/pool.js

After making changes reboot your VPS.

The forever process ensures that Stratum Pool automatically starts when your VPS boots up. This process is started via crontab. To edit this type:

crontab -e

(press 1. nano for editor is prompted)

Image for post

To check the Status of your Stash Core Node see Troubleshooting section of How to setup a Stash masternode for beginners

Originally published at on March 11, 2019.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store