Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
/ mining-scripts Public archive

Go from 0 to distributed aggregated zcash mining in 3 clicks.

Notifications You must be signed in to change notification settings

amingilani/mining-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lazy Zcash Cloud Mining

Followed a link? Consider upvoting or leaving feedback. Even "nice job" means a lot!

This is my really lazy Zcash mining script. It's meant to get you from nought to mining and aggregated log monitoring without ever having to log into an instance.

What you'll get

1 click to deploy, and all your miner logs are aggregated in a single place.

Specs

Setup

You'll need:

  1. A Zcash address (or use t1V95okrCXsjuTYPjjWPUnNfXBUeozvQ83s)
  2. A Papertrail account to monitor your cattle miners
  3. Ubuntu instances (tested on 14.04 & 16.04)
  4. Optional: cloud-init capabilities in your host

To start:

  1. Give each instance a unique hostname (this will be your worker name)
  2. Pass the following cloud-init script to your instance
  3. Profit!

You can do this for an arbitrary number of instances, just check the logs for failed builds (they sometimes happen) and destroy the affected instances.

#cloud-config

# replace the values of:
# - $ADDRESS with your zcash address
# - $PAPERTRAIL_HOST and $PAPERTRAIL_PORT with the host and port of your
#     papertrail log destination
runcmd:
 - SCRIPT_URL=https://raw.githubusercontent.com/amingilani/mining-scripts/master/initialize.sh
 - ADDRESS=t1V95okrCXsjuTYPjjWPUnNfXBUeozvQ83s
 - PAPERTRAIL_HOST=logs5
 - PAPERTRAIL_PORT=00000
 - curl $SCRIPT_URL | bash -s $ADDRESS $PAPERTRAIL_HOST $PAPERTRAIL_PORT

No cloud-init

If you don't have cloud-init, just run the following on first boot:

# Change ADDRESS, and PAPERTRAIL variables
ADDRESS=t1V95okrCXsjuTYPjjWPUnNfXBUeozvQ83s && \
PAPERTRAIL_HOST=logs5 && \
PAPERTRAIL_PORT=00000 && \
SCRIPT_URL=https://raw.githubusercontent.com/amingilani/mining-scripts/master/initialize.sh && \
curl $SCRIPT_URL | bash -s $ADDRESS $PAPERTRAIL_HOST $PAPERTRAIL_PORT

Price

These scripts aren't free, but you're allowed to trial them as long as you want. When you're ready, pay via:

  1. Code contributions
  2. Zcash: t1V95okrCXsjuTYPjjWPUnNfXBUeozvQ83s

About

Go from 0 to distributed aggregated zcash mining in 3 clicks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages