New and improved 1bash for nvOC v0019-2.0 - Community Release
Thanks to leenoox
1bash Dropbox Download link#!/bin/bash
##########################################################################
##########################################################################
################# nvOC v0019-2.0 - Community Release #################
############## by papampi, Stubo and leenoox ##############
########## Based on the original nvOC v0019-1.4 by fullzero ##########
##########################################################################
##########################################################################
nvOC_1bash_ver="v0019-2.0.001" # Do not edit this
# 1bash for v0019-2.0 (1bash subversion 001)
# fullzero: nvOC creator
# + contributors (in alphabetical order):
# BaliMiner: BaliMiner_TELEGRAM_ALERTS
# ( BTC address: 1HbzxQ6AVeWYvFm322KtxZcJJLAqfJHpN8 )
# damNmad: damNmad_ALGO_SPECIFIC_OC
# nvOC discord channel https://discordapp.com/invite/8YDFEvY
# Added Lots of COIN selections
# Alternative telegram alert
# ( BTC address: 1Mtf6K7c3ZhBDcPz91c4wcQ95DxLn88zC )
# IAmNotAJeep: IAmNotAJeep_and_Maxximus007_WATCHDOG
# Methods for improved system stability
# ( BTC address: 13PnEKpfVzNseWkrm6LoueKcCMPj74zPv7 )
# kk003: Alternative telegram alert ( very extensive )
# Telegram Setup Video
# ( BTC address: 196pMZnByg5UaPvJPK67ErAHgDPeSyu8QV )
# leenoox: nvOC ver 0019-2.0 (community release) main developer
# The new 0019-2.0 TEMP_CONTROL
# Methods for color output throughout nvOC scripts
# multiple bug fixes and enhacements for ver 0019-2.0
# lost_post: upPASTE (timeout based _Parallax_ Mode auto-updating)
# Methods for separating settings and implementation
# Methods for AUTO_UPDATE
# ( BTC address: 1GFTEtLLvvwoa4ogDntD5oaXBgJLYokzTC )
# Maxximus007: Maxximus007_AUTO_TEMPERATURE_CONTROL
# Expectless 1bash
# IAmNotAJeep_and_Maxximus007_WATCHDOG
# ( BTC address: 1JAFefdPVAs3WQiTqnYWbsjifJAEjQcjQ8 )
# meligo: FAQ website nvoc-mining-os.com
# ( BTC address: 1AwUJMztX2ARZp8ULqR5UsK3b27om8j3vq )
# papampi: nvOC ver 0019-2.0 (community release) main developer
# WTM_AUTO_SWITCH
# WTM_PROFIT_CHECK
# Added multiple COIN selections
# Alternative telegram alert and guide
# Web info http://rig_ip/index.html
# multiple bug fixes and enhacements for ver 0019-2.0
# ( BTC address: 1NsnsnqkkVuopTGvUSGrkMhhug8kg6zgP9 )
# _Parallax_: _Parallax_ Mode ( wget + pastebin oneBash updating )
# Methods for image size reduction
# Methods for logging and system enhancements (with next version)
# ( BTC address: 329k8rDgxHHcHAEXfwznqv25Go5LERGWLp )
# salfter: SALFTER_NICEHASH_PROFIT_SWITCHING
# SALFTER_MPH_PROFIT_SWITCHING
# ( BTC address: 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 )
# Stubo: ver 0019-2.0 (community release) main developer
# nvOC function script
# minerinfo script
# multiple bug fixes and enhacements for ver 0019-2.0
# xleejohnx: SRR support
# ( BTC address: 1EY5WbiW3YkWanSKEGcjCETpQfCR81wc56 )
# Open a terminal to launch miner; will auto launch on boot
# firefox has an OP bookmark; look at the OP for more information
# CHOOSE COIN FROM:
#ALGO - X11-GOST
######### SIB
#ALGO - CryptoNight
######### XMR KRB ETN
#ALGO - Skunk
######### SIGT ZPOOL_SKUNK ALTCOM
#ALGO - Ethash
######### ETH ETC EXP UBQ MUSIC SOIL
#ALGO - Equihash
######### ZEC ZEN HUSH ZCL KMD BTG BTCZ
#ALGO - NiceHash
######### DUAL_NICEHASH (Ethash + Decred) NICE_EQUIHASH NICE_ETHASH
#ALGO - X13
######### ONION
#ALGO - Neoscrypt
######### PXC FTC ORB TZC VIVO
#ALGO - Myriad-Groestl
######### XMY
#ALGO - LYRA2V2
######### MONA VTC ZCOIN
#ALGO - SKEIN
######### DGB
#ALGO - GROESTL
######### GRS
#ALGO - SIA
######### SIA
#ALGO - LBRY
######### LBC (LBRY)
#ALGO - Decred
######### DCR
#ALGO - Pascal
######### PASC PASL
#ALGO - timetravel10
######### BTX
#TYPE - Zpool (auto converts to BTC)
######### ZPOOL_LYRA2V2 ZPOOL_BLAKE2S ZPOOL_EQUIHASH ZPOOL_LBC ZPOOL_NEOSCRYPT ZPOOL_LBRY ZPOOL_SKEIN
#TYPE - DUAL Claymore (ETHASH + DCR/LBC/PASC/PASL/SC)
######### DUAL_ETH_DCR DUAL_ETH_PASC DUAL_ETH_PASL DUAL_ETH_LBC DUAL_ETH_SC
######### DUAL_ETC_DCR DUAL_ETC_PASC DUAL_ETC_PASL DUAL_ETC_LBC DUAL_ETC_SC
######### DUAL_EXP_DCR DUAL_EXP_PASC DUAL_EXP_PASL DUAL_EXP_LBC DUAL_EXP_SC
######### DUAL_MUSIC_DCR DUAL_MUSIC_PASC DUAL_MUSIC_PASL DUAL_MUSIC_LBC DUAL_MUSIC_SC
######### DUAL_UBQ_DCR DUAL_UBQ_PASC DUAL_UBQ_PASL DUAL_UBQ_LBC DUAL_UBQ_SC
######### DUAL_SOIL_DCR DUAL_SOIL_PASC DUAL_SOIL_PASL DUAL_SOIL_LBC DUAL_SOIL_SC
#TYPE - Miningpoolhub Auto Coin Switches based on Algo
######### MPH_ETHASH MPH_EQUIHASH
#TYPE - Profit Switchers
######### SALFTER_NICEHASH_PROFIT_SWITCHING
######### SALFTER_MPH_PROFIT_SWITCHING
### New Coins: Electroneum(ETN), Trezarcoin(TZC), Vivo(VIVO), Pirl(PIRL), Altcommunity(ALTCOM)
###############################################################################
# #
# IMPORTANT: USE ALL CAPS when editing below except for addresses and pools #
# #
###############################################################################
########################################################
# #
# General settings #
# #
########################################################
COIN="ZEC"
AUTO_START_MINER="YES" # YES or NO # Set this to NO when troubleshooting, this will prevent the watchdog restarting the rig
NUMBER_GPUS_INSTALLED="" # Number or "" # Set number of GPUs installed. Watchdog will check installed vs detected. Leave empty to not check
LOCALorREMOTE="LOCAL" # LOCAL or REMOTE # Set to LOCAL if you have local access to the rig. Set to REMOTE if logging remotely to the rig
# LOCAL will attach the mining process to the gnome or guake terminal
# REMOTE will leave it unattached, it will be launched using "screen", ready for SSH
TEAMVIEWER="NO" # YES or NO # If you use Team Viewer to remotely connect to this rig set this to YES
SSH="YES" # YES or NO # If you use SSH to remotely connect to this rig set this to YES
AUTO_REBOOT="NO" # YES or NO # If you want this rig to periodicly reboot set this to YES
REBOOT_TIMEOUT_IN_MINUTES=2880 # If AUTO_REBOOT is set to YES, use this to set how often to reboot, 1440 = 24 hours, 2880 = 48 hours
SLOW_USB_KEY_MODE="NO" # YES or NO # If you are using a slow USB flash drive (eg. USB 1.0 or USB 2.0) set this to YES
GLOBAL_WORKERNAME="YES" # YES or NO # Use same workername for all coins
AUTO_WORKERNAME="HOST" # HOST or MAC or CUSTOM # Use HOST IP address or network card MAC address or CUSTOM name workername
CUSTOM_WORKERNAME="19_2" # If AUTO_WORKERNAME="CUSTOM" enter your desired workername here
AUTO_UPDATE="STABLE" # STABLE or BETA # To update to the latest STABLE or BETA releases, manually run 4update in guake terminal
_Parallax_MODE="NO" # YES or NO # To deploy 1bash remotely from pastebin.com . You will need to create account
pasteBASH="your_PASTE_here" # pastebin.com setting - enter paste link here
upPASTE_TIMEOUT_IN_MINUTES=60 # pastebin.com setting - timeout
CLEAR_LOGS_ON_BOOT="NO" # YES or NO # Clear all logs when rig boots up
LOG_ROTATE="YES" # Rotate (clean) all logs every x hours. Highly recommended to set this to yes!
LOG_ROTATE_INTERVAL="3" # Time between log rotations in hours. Default is: 3
SRR="NO" # YES or NO # Remote SRR control using Raspberry Pi device with SRR board
SRR_SERIAL="000055" # Remote SRR control setting
__SRR_SLOT="1" # Remote SRR control setting
plusCPU="NO" # YES or NO # Mine XMR with CPU. Set your XMR address in addresses/pools section
threadCOUNT="1" # Number of CPU threads to use for plusCPU mining. Please check how many threads your CPU has.
CONTROL_GPU_LED="YES" # YES or NO # Control GPU LED light. NOTE: It only works on some models
LED_BRIGHTNESS=100 # 0 - 100 # Set the LED brightness intensity. 0 = OFF, 100 = full brightness
MINER_WATCHDOG="YES" # YES or NO # Monitors the rig and automatically corrects the detected problems. Highly recommended to use this!
MANUAL_FAN="NO" # YES or NO # Manually set the fans, no auto adjustment. Set this to NO if using the auto MINER_TEMP_CONTROL
FAN_SPEED=75 # Set fan speed percentage if MANUAL_FAN="YES" (Do not write the % sign)
MINER_TEMP_CONTROL="YES" # YES or NO # Automatically adjusts the fan speed to keep the desired temp. Highly recommended to use this!
########################################################
# #
# MINER_TEMP_CONTROL settings #
# #
########################################################
# Automatically adjusts the fan speed to keep the desired target temp. If the actual temp is above the target temp this script will increase the fan speed. If the actual temp is 2C below the target temp this script will reduce the fan speed. If the target temperature can't be reached with fan adjustments it will decrease the Power Limit. If actual temp is above the desired target temp and fan speed is already at 100%, the script will lower the Power Limit. Once the target temp is reached, Power Limit will be restored.
TARGET_TEMP=65 # Set the desired target temperature in Celsius. Recommended ranges: 55 - 75
ALLOWED_TEMP_DIFF=2 # If current temp is 2C below the target temp reduce the fan speed. Works only if current temp is below target temp
MINIMAL_FAN_SPEED=50 # Lowest fan speed that will be used. Recommended ranges: 40 - 60
__FAN_ADJUST=5 # Fan adjustment size in percent
POWER_ADJUST=5 # Adjustment size in watts. If the target temp can not be achieved and fan is already at 100%, reduce Power Limit
RESTORE_POWER_LIMIT=90 # Restore original Power Limit if fan speed is lower than this percentage. Recommended: 90
########################################################
# #
# Telegram settings #
# #
########################################################
# The Telegram service can periodically send Telegram messages with the status of your rig.
# Please watch kk003's video tutorial how to create a telegram bot and get Api Key + User Id:
# https://youtu.be/HS7Q1zH00bs
# If You set telegram to "NO" but add CHATID and API, you will only get notifications from system.
BaliMiner_TELEGRAM_ALERTS="NO" # YES or NO # Set to YES if you want to use Telegram service
TELEGRAM_TYPE="papampi" # kk003 or papampi or damNmad or BaliMiner # There are 4 versions. Please choose one
TELEGRAM_TIMEOUT_IN_MINUTES="60" # timeout
TELEGRAM_CHATID="CHATID" # Enter your Chat ID here
TELEGRAM_APIKEY="Your Telegram API" # Enter your API Key here
########################################################
# #
# OC (overclock) and Power Limit settings #
# #
########################################################
POWERLIMIT="YES" # YES or NO # Choose YES to set Global Power Limit for all GPU's
POWERLIMIT_WATTS=75 # Global Power Limit in watts for all GPU's. If enabled, INDIVIDUAL settings will override this.
__CORE_OVERCLOCK=100 # Global Core overclock for all GPU's if not using INDIVIDUAL settings
MEMORY_OVERCLOCK=100 # Global Memory overclock for all GPU's if not using INDIVIDUAL settings
# SET OC and POWERLIMIT dependant on what mining ALGO is used (see end of 1bash for ALGO OC settings)
# Please note that this works for Global settings only, can not use INDIVIDUAL settings with this.
# For OPT use of PAPAMPI_WTM_AUTO_SWITCH use ALGO_SPECIFIC_OC !!
# Default values set at the end of 1bash are for 1060, remember to set yours accordingly.
ALGO_SPECIFIC_OC="NO" # YES or NO # See the description above
P106_100_FULL_HEADLESS_MODE="NO" # YES or NO # If using P106_100 GPU's in a full headless (no monitor) rig, set this to YES
GPUPowerMizerMode_Adjust="NO" # YES or NO # Use nvidia PowerMizerMode
GPUPowerMizerMode=1 # Set PowerMizerMode
########################################################
# #
# PAPAMPI WTM_AUTO_SWITCH settings #
# #
########################################################
WTM_AUTO_SWITCH="NO" # ( whattomine.com switcher) remember to disable Parallax MODE (_Parallax_MODE="NO")
WTM_PROFIT_CHECK="YES" # whattomine.com Profit check for webinfo
# note!! all selected COINS must HAVE ADDRESSES below (no need for address if switch=no and profit=yes )
# select which coins you want to mine/check profit (profit switch only using this list of coins) it will auto switch/check profit of your COIN selection from this list using whattomine.com
WTM_AUTO_SWITCH_COINS="ZEC;ZEN;ETH;BTG;FTC" ### coins to check profit or make the switch with format "ZEC;ETH;ETC;XMR"
WTM_AUTO_SWITCH_SYNC_INTERVAL="3" # Time to sync with WTM for best coin
WTM_PROFIT_CHECK_INTERVAL="60" # interval between checking profit for web info
WTM_MIN_DIFFERENCE="5" # Mininumum difference in percent when switch to new coin, to prevent too many switches.
WTM_CURRENCY="USD" # USD, AUD, BRL, CAD, CHF, CLP, CNY, DKK, EUR, GBP, HKD, INR, ISK, JPY, KRW, NZD, PLN, RUB, SEK, SGD, THB, TWD
#Read below for how to change the url
WTM_AUTO_SWITCH_URL="https://whattomine.com/coins.json?utf8=%E2%9C%93&adapt_q_280x=0&adapt_q_380=0&adapt_q_fury=0&adapt_q_470=1&adapt_q_480=3&adapt_q_570=0&adapt_q_580=0&adapt_q_750Ti=0&adapt_q_1050Ti=1&adapt_q_10606=6&adapt_10606=true&adapt_q_1070=1&adapt_q_1080=1&adapt_q_1080Ti=1ð=true&factor%5Beth_hr%5D=135.0&factor%5Beth_p%5D=540.0&grof=true&factor%5Bgro_hr%5D=123.0&factor%5Bgro_p%5D=540.0&x11gf=true&factor%5Bx11g_hr%5D=43.2&factor%5Bx11g_p%5D=540.0&cn=true&factor%5Bcn_hr%5D=2580.0&factor%5Bcn_p%5D=420.0&eq=true&factor%5Beq_hr%5D=1620.0&factor%5Beq_p%5D=540.0&lre=true&factor%5Blrev2_hr%5D=121800.0&factor%5Blrev2_p%5D=540.0&ns=true&factor%5Bns_hr%5D=3000.0&factor%5Bns_p%5D=540.0&lbry=true&factor%5Blbry_hr%5D=1020.0&factor%5Blbry_p%5D=540.0&bk2bf=true&factor%5Bbk2b_hr%5D=5940.0&factor%5Bbk2b_p%5D=480.0&bk14=true&factor%5Bbk14_hr%5D=9300.0&factor%5Bbk14_p%5D=540.0&pas=true&factor%5Bpas_hr%5D=3480.0&factor%5Bpas_p%5D=540.0&skh=true&factor%5Bskh_hr%5D=108.0&factor%5Bskh_p%5D=540.0&factor%5Bl2z_hr%5D=420.0&factor%5Bl2z_p%5D=300.0&factor%5Bcost%5D=0.0&sort=Profit&volume=0&revenue=current&factor%5Bexchanges%5D%5B%5D=&factor%5Bexchanges%5D%5B%5D=abucoins&factor%5Bexchanges%5D%5B%5D=bitfinex&factor%5Bexchanges%5D%5B%5D=bittrex&factor%5Bexchanges%5D%5B%5D=bleutrade&factor%5Bexchanges%5D%5B%5D=c_cex&factor%5Bexchanges%5D%5B%5D=cryptopia&factor%5Bexchanges%5D%5B%5D=hitbtc&factor%5Bexchanges%5D%5B%5D=poloniex&factor%5Bexchanges%5D%5B%5D=yobit&dataset=Main&commit=Calculate"
## Go to [ https://whattomine.com/coins ] select your cards, hash rate, power, algos, exchanges, ...
# Set "Sort by" and Difficulty for Revenue" to "Current profit" and "Current dificulty" ... "Average last ***" are not good for auto switch.
# Click calculate, and wait for page to load, copy the new url and add .json to /coins at the begining of the url.
# like this " https://whattomine.com/coins.json?utf8=✓&adapt....."
# Above url is for 6x1060
########################################################################################
# GLOBAL_WORKERNAME implementation Start - DO NOT EDIT this section #
########################################################################################
IPW=$(ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p')
IP_AS_WORKER=$(echo -n $IPW | tail -c -3 | sed 'y/./0/')
MAC=$(ifconfig -a | grep -Po 'HWaddr \K.*$')
MAC_AS_WORKER=$(echo -n $MAC | sed 'y/:/_/')
if [ $GLOBAL_WORKERNAME == "YES" ]; then
if [ $AUTO_WORKERNAME == "HOST" ]; then
WORKERNAME=$IP_AS_WORKER
elif [ $AUTO_WORKERNAME == "MAC" ]; then
WORKERNAME=$MAC_AS_WORKER
elif [ $AUTO_WORKERNAME == "CUSTOM" ]; then
WORKERNAME=$CUSTOM_WORKERNAME
fi
fi
########################################################################################
# GLOBAL_WORKERNAME implementation End - DO NOT EDIT this section #
########################################################################################
########################################################
# #
# Addresses, pools, ports, intensity, miner settings #
# #
########################################################
BTC_ADDRESS="replace_with_your_BTC_address"
# For zpool use MINER_PWD="$WORKERNAME,c=btc"
MINER_PWD="x" # Set the miner password. Default: x
ZM_or_EWBF="ZM" # choose ZM or EWBF miner
# DSTM ZM Miner optional arguments add "--telemetry=$IPW:42000" if you want web info
ZM_OPTS=""
# EWBF ZEC Miner version
EWBF_VERSION="3_4" # choose 3_3 or 3_4
# EWBF ZEC Miner optional arguments. add "--api $IPW:42000" if you want web info
EWBF_OPTS=""
# change EWBF_PERCENT to alter donation percent for EWBF Miner
EWBF_PERCENT="0"
################################################################
##### No Need to add stratum+tcp:// to your pool addresses #####
################################################################
# ZEC
ZEC_WORKER="$WORKERNAME"
# replace_with_your_ZEC_address
ZEC_ADDRESS="t1XfkZUZWME8FnRiFxHZQAQ2K1UdQMbshJp"
ZEC_POOL="zec-us-east1.nanopool.org"
ZEC_PORT="6666"
# ZCL
ZCL_WORKER="$WORKERNAME"
ZCL_ADDRESS="replace_with_your_address"
ZCL_POOL="us.zclmine.pro"
ZCL_PORT="9009"
# ZEN
ZEN_WORKER="$WORKERNAME"
ZEN_ADDRESS="replace_with_your_address"
ZEN_POOL="luckpool.org"
ZEN_PORT="3057"
# ZDASH or HUSH
HUSH_WORKER="$WORKERNAME"
HUSH_ADDRESS="replace_with_your_address"
HUSH_POOL="zdash.suprnova.cc"
HUSH_PORT="4048"
# BTG
BTG_WORKER="$WORKERNAME"
BTG_ADDRESS="replace_with_your_address"
BTG_POOL="replace_with_your_BTG_POOL"
BTG_PORT="replace_with_your_BTG_PORT"
# Nice Equihash
NICE_EQUIHASH_WORKER="$WORKERNAME"
NICE_EQUIHASH_ADDRESS="$BTC_ADDRESS"
NICE_EQUIHASH_POOL="equihash.usa.nicehash.com"
NICE_EQUIHASH_PORT="3357"
# KMD
KMD_WORKER="$WORKERNAME"
KMD_ADDRESS="replace_with_your_address"
KMD_POOL="luckpool.org"
KMD_PORT="3857"
# BTX ## No Need to add stratum+tcp:// to server address
BTX_WORKER="$WORKERNAME"
BTX_ADDRESS="replace_with_your_address"
BTX_POOL="btx.suprnova.cc"
BTX_PORT="3629"
BTX_INTENSITY="21"
# XZC or ZCOIN ## No Need to add stratum+tcp:// to server address
ZCOIN_WORKER="$WORKERNAME"
ZCOIN_ADDRESS="replace_with_your_address"
ZCOIN_POOL="xzc.suprnova.cc"
ZCOIN_PORT="1569"
# KRB ## No Need to add stratum+tcp:// to server address
KRB_ADDRESS="replace_with_your_address"
KRB_POOL="krb.sberex.com"
KRB_PORT="5555"
# Electroneum(ETN) ## No Need to add stratum+tcp:// to server address
ETN_ADDRESS="replace_with_your_address"
ETN_POOL="ETN POOL"
ETN_PORT="ETN PORT"
# SIGT ## No Need to add stratum+tcp:// to server address
SIGT_WORKER="$WORKERNAME"
SIGT_ADDRESS="replace_with_your_address"
SIGT_POOL="us.hashbag.cc"
SIGT_PORT="8644"
SIGT_INTENSITY="25"
# Altcommunity(ALTCOM) ## No Need to add stratum+tcp:// to server address
ALTCOM_WORKER="$WORKERNAME"
ALTCOM_ADDRESS="replace_with_your_address"
ALTCOM_POOL="ALTCOM POOL"
ALTCOM_PORT="ALTCOM PORT"
ALTCOM_INTENSITY="25"
# SIB ## No Need to add stratum+tcp:// to server address
SIB_WORKER="$WORKERNAME"
SIB_ADDRESS="replace_with_your_address"
SIB_POOL="sib.suprnova.cc"
SIB_PORT="3458"
SIB_INTENSITY="21"
# PXC ## No Need to add stratum+tcp:// to server address
PXC_WORKER="$WORKERNAME"
PXC_ADDRESS="replace_with_your_address"
PXC_POOL="atlas.phoenixcoin.org:"
PXC_PORT="10554"
PXC_INTENSITY="23"
# ZPOOL_SKUNK ## ZPOOL uses your BTC_ADDRESS ## No Need to add stratum+tcp:// to server address
ZPOOL_SKUNK_POOL="skunk.mine.zpool.ca"
ZPOOL_SKUNK_PORT="8433"
ZPOOL_SKUNK_INTENSITY="22"
# ZPOOL_LYRA2V2 ## ZPOOL uses your BTC_ADDRESS ## No Need to add stratum+tcp:// to server address
ZPOOL_LYRA2V2_POOL="lyra2v2.mine.zpool.ca"
ZPOOL_LYRA2V2_PORT="4533"
ZPOOL_LYRA2V2_INTENSITY="22"
# ZPOOL_BLAKE2S ## ZPOOL uses your BTC_ADDRESS ## No Need to add stratum+tcp:// to server address
ZPOOL_BLAKE2S_POOL="blake2s.mine.zpool.ca"
ZPOOL_BLAKE2S_PORT="5766"
ZPOOL_BLAKE2S_INTENSITY="21"
# ZPOOL_EQUIHASH ## ZPOOL uses your BTC_ADDRESS ## No Need to add stratum+tcp:// to server address
ZPOOL_EQUIHASH_POOL="equihash.mine.zpool.ca"
ZPOOL_EQUIHASH_PORT="2142"
# ZPOOL_LBRY ## ZPOOL uses your BTC_ADDRESS ## No Need to add stratum+tcp:// to server address
ZPOOL_LBRY_POOL="lbc.mine.zpool.ca"
ZPOOL_LBRY_PORT="3334"
ZPOOL_LBRY_INTENSITY="23"
# ZPOOL_NEOSCRYPT ## ZPOOL uses your BTC_ADDRESS ## No Need to add stratum+tcp:// to server address
ZPOOL_NEOSCRYPT_POOL="neoscrypt.mine.zpool.ca"
ZPOOL_NEOSCRYPT_PORT="4233"
ZPOOL_NEOSCRYPT_INTENSITY="22"
# ZPOOL_SKEIN ## ZPOOL uses your BTC_ADDRESS ## No Need to add stratum+tcp:// to server address
ZPOOL_SKEIN_POOL="skein.mine.zpool.ca"
ZPOOL_SKEIN_PORT="4933"
ZPOOL_SKEIN_INTENSITY="22"
# MPH_EQUIHASH
MPH_WORKER="$WORKERNAME"
MPH_ADDRESS="replace_with_your_MPH_username"
MPH_EQUIHASH_POOL="us-east.equihash-hub.miningpoolhub.com"
MPH_EQUIHASH_PORT="17023"
# MPH_ETHASH
MPH_WORKER="$WORKERNAME"
MPH_ADDRESS="replace_with_your_MPH_username"
MPH_ETHASH_POOL="us-east.ethash-hub.miningpoolhub.com"
MPH_ETHASH_PORT="17020"
# GRS ## No Need to add stratum+tcp:// to server address
GRS_WORKER="$WORKERNAME"
GRS_ADDRESS="replace_with_your_address"
GRS_POOL="moria.dwarfpool.com"
GRS_PORT="3345"
GRS_INTENSITY="23"
# XMY ## No Need to add stratum+tcp:// to server address
XMY_WORKER="$WORKERNAME"
XMY_ADDRESS="replace_with_your_address"
XMY_POOL="us-east1.myriadcoin-groestl.miningpoolhub.com"
XMY_PORT="20479"
XMY_INTENSITY="23"
# MONA ## No Need to add stratum+tcp:// to server address
MONA_WORKER="$WORKERNAME"
MONA_ADDRESS="replace_with_your_address"
MONA_POOL="mona.suprnova.cc"
MONA_PORT="2995"
MONA_INTENSITY="21"
# VTC ## No Need to add stratum+tcp:// to server address
VTC_WORKER="$WORKERNAME"
VTC_ADDRESS="replace_with_your_address"
VTC_POOL="hub.miningpoolhub.com"
VTC_PORT="20507"
VTC_INTENSITY="21"
# TZC ## No Need to add stratum+tcp:// to server address
TZC_WORKER="$WORKERNAME"
TZC_ADDRESS="TZC ADDRESS"
TZC_POOL="TZC POOL"
TZC_PORT="TZC PORT"
TZC_INTENSITY="21"
# NICE_ETHASH autoconverts to BTC: ensure you update BTC_ADDRESS if you use NICE_ETHASH
NICE_ETHASH_WORKER="$WORKERNAME"
NICE_ETHASH_POOL="stratum+tcp://daggerhashimoto.usa.nicehash.com:3353"
GENOIL_NICE_ETHASH_POOL="daggerhashimoto.usa.nicehash.com:3353"
NICE_ETHASH_EXTENSION_ARGUMENTS="" # add any additional claymore arguments desired here
# DGB ## No Need to add stratum+tcp:// to server address
DGB_INTENSITY="24"
DGB_WORKER="$WORKERNAME"
DGB_ADDRESS="replace_with_your_address"
DGB_POOL="hub.miningpoolhub.com"
DGB_PORT="20527"
# LBC ## No Need to add stratum+tcp:// to server address
LBC_WORKER="$WORKERNAME"
LBC_ADDRESS="replace_with_your_address"
LBC_POOL="lbry.suprnova.cc"
LBC_PORT="6256"
LBC_INTENSITY="23"
# FTC ## No Need to add stratum+tcp:// to server address
FTC_WORKER="$WORKERNAME"
FTC_ADDRESS="replace_with_your_address"
FTC_POOL="hub.miningpoolhub.com"
FTC_PORT="20510"
FTC_INTENSITY="23"
# ORB ## No Need to add stratum+tcp:// to server address
ORB_WORKER="$WORKERNAME"
ORB_ADDRESS="Your DNB Account Name"
ORB_POOL="strat.dnb.io"
ORB_PORT="3031"
ORB_INTENSITY="23"
# VIVO ## No Need to add stratum+tcp:// to server address
VIVO_WORKER="$WORKERNAME"
VIVO_ADDRESS="VIVO ADDRESS"
VIVO_POOL="VIVO POOL"
VIVO_PORT="VIVO PORT"
VIVO_INTENSITY="21"
# ONION ## No Need to add stratum+tcp:// to server address
ONION_ADDRESS="replace_with_your_ONION_address"
ONION_POOL="kawaiipool.party"
ONION_PORT="3633"
USE_ENVIRONMENTAL_VARIBLES="NO" # YES or NO # Not needed vor nvidia cards. Default: NO
# Some pools require dot (address.worker), some require slash (address/worker) format.
# Depending on the pool you use, set this approprietly:
DOT_POOL_FORMAT_or_FORWARD_SLASH_POOL_FORMAT="DOT" # DOT or SLASH
CLAYMORE_VERSION="latest" # choose: latest or 10_0 or 9_8 or 9_7 or 9_5 or 9_4 or 8_0. (type latest to use 10_2)
ETHMINER_or_GENOIL_or_CLAYMORE="CLAYMORE" # choose CLAYMORE or ETHMINER or GENOIL
# ETH
ETH_WORKER="$WORKERNAME"
ETH_ADDRESS="replace_with_your_address"
ETH_POOL="europe.ethash-hub.miningpoolhub.com"
ETH_PORT="20535"
ETH_EXTENSION_ARGUMENTS="" # add any additional Claymore miner arguments here
# ETC
ETC_WORKER="$WORKERNAME"
ETC_ADDRESS="replace_with_your_address"
ETC_POOL="europe.ethash-hub.miningpoolhub.com"
ETC_PORT="xxxx"
ETC_EXTENSION_ARGUMENTS="" # add any additional Claymore miner arguments here
# EXP
EXP_WORKER="$WORKERNAME"
EXP_ADDRESS="replace_with_your_EXP_address"
EXP_POOL="exp-us.dwarfpool.com:"
EXP_PORT="81"
EXP_EXTENSION_ARGUMENTS="" # add any additional Claymore miner arguments here
# UBQ
UBQ_WORKER="$WORKERNAME"
UBQ_ADDRESS="replace_with_your_UBIQ_address"
UBQ_POOL="us.ubiqpool.io"
UBQ_PORT="8008"
UBQ_EXTENSION_ARGUMENTS="" # add any additional Claymore miner arguments here
# PIRL
PIRL_WORKER="$WORKERNAME"
PIRL_ADDRESS="replace_with_your_PIRL_address"
PIRL_POOL="PIRL POOL"
PIRL_PORT="PIRL PORT"
PIRL_EXTENSION_ARGUMENTS="" # add any additional Claymore miner arguments here
# MUSIC
MUSIC_WORKER="$WORKERNAME"
MUSIC_ADDRESS="replace_with_your_MUSIC_address"
MUSIC_POOL="eus.gmc.epool.io"
MUSIC_PORT="8008"
MUSIC_EXTENSION_ARGUMENTS="" # add any additional Claymore miner arguments here
# SOIL
SOIL_WORKER="$WORKERNAME"
SOIL_ADDRESS="replace_with_your_SOIL_address"
SOIL_POOL="soil.pool.sexy"
SOIL_PORT="9009"
SOIL_EXTENSION_ARGUMENTS="" # add any additional Claymore miner arguments here
#
DUAL_WORKER="$WORKERNAME"
DUAL_BTC_ADDRESS="$BTC_ADDRESS"
DUAL_ETHASH_POOL="stratum+tcp://daggerhashimoto.usa.nicehash.com:3353"
DUAL_DCR_POOL="stratum+tcp://decred.usa.nicehash.com:3354"
DUAL_EXTENSION_ARGUMENTS="-dcri 40"
# SIA
SC_WORKER="$WORKERNAME"
SC_ADDRESS="replace_with_your_address"
SC_POOL="sia-us-east1.nanopool.org"
SC_PORT="7777"
SC_GW_POOL="sia-us-east1.nanopool.org"
SC_GW_PORT="9980"
# DCR ## No Need to add stratum+tcp:// to server address
DCR_WORKER="$WORKERNAME"
DCR_ADDRESS="replace_with_your_DCR_address"
DCR_POOL="yiimp.eu"
DCR_PORT="3252"
# PASC ## No Need to add stratum+tcp:// to server address
PASC_WORKER="$WORKERNAME"
PASC_ADDRESS="replace_with_your_PASC_ACCOUNT"
PASC_POOL="pasc-us-east1.nanopool.org"
PASC_PORT="15555"
# PASL ## No Need to add stratum+tcp:// to server address
PASL_WORKER="$WORKERNAME"
PASL_ADDRESS="replace_with_your_PASL_ACCOUNT"
PASL_POOL="mine.pasl.fairpool.xyz"
PASL_PORT="4009"
# XMR : if plusCPU is "YES" replace with your XMR info ##
XMR_WORKER="$WORKERNAME"
XMR_ADDRESS="replace_with_your_XMR_address"
XMR_POOL="xmr-us-east1.nanopool.org"
XMR_PORT="14444"
# BTCZ
BTCZ_WORKER="$WORKERNAME"
BTCZ_ADDRESS="replace_with_your_address"
BTCZ_POOL="btcz.suprnova.cc"
BTCZ_PORT="5586"
# SMART ## No Need to add stratum+tcp:// to server address
SMART_WORKER="$WORKERNAME"
SMART_ADDRESS="yourPoolLoginName"
SMART_POOL="pool-eu.smartcash.cc"
SMART_PORT="3333"
SMART_INTENSITY="25"
########################################################
# #
# SALFTER_NICEHASH_PROFIT_SWITCHING & #
# SALFTER_MPH_PROFIT_SWITCHING Settings #
# #
########################################################
CURRENCY=USD
POWER_COST=0.20
MINIMUM_PROFIT=0.0
MPH_USERNAME=replace_with_your_MPH_username
PAYMENT_ADDRESS="$BTC_ADDRESS"
WORKER_NAME="$WORKERNAME"
PROFIT_CHECK_TIMEOUT=600
# ENSURE YOU USE MINER_TEMP_CONTROL for fanspeed
daggerhashimoto_POWERLIMIT_WATTS=120
__daggerhashimoto_CORE_OVERCLOCK=100
daggerhashimoto_MEMORY_OVERCLOCK=100
equihash_POWERLIMIT_WATTS=120
__equihash_CORE_OVERCLOCK=100
equihash_MEMORY_OVERCLOCK=100
neoscrypt_POWERLIMIT_WATTS=120
__neoscrypt_CORE_OVERCLOCK=100
neoscrypt_MEMORY_OVERCLOCK=100
lyra2rev2_POWERLIMIT_WATTS=120
__lyra2rev2_CORE_OVERCLOCK=100
lyra2rev2_MEMORY_OVERCLOCK=100
lbry_POWERLIMIT_WATTS=120
__lbry_CORE_OVERCLOCK=100
lbry_MEMORY_OVERCLOCK=100
Blake_Vanilla_POWERLIMIT_WATTS=120
__Blake_Vanilla_CORE_OVERCLOCK=100
Blake_Vanilla_MEMORY_OVERCLOCK=100
Cryptonight_POWERLIMIT_WATTS=120
__Cryptonight_CORE_OVERCLOCK=100
Cryptonight_MEMORY_OVERCLOCK=100
Groestl_POWERLIMIT_WATTS=120
__Groestl_CORE_OVERCLOCK=100
Groestl_MEMORY_OVERCLOCK=100
Keccak_POWERLIMIT_WATTS=120
__Keccak_CORE_OVERCLOCK=100
Keccak_MEMORY_OVERCLOCK=100
Myriad_Groestl_POWERLIMIT_WATTS=120
__Myriad_Groestl_CORE_OVERCLOCK=100
Myriad_Groestl_MEMORY_OVERCLOCK=100
Qubit_POWERLIMIT_WATTS=120
__Qubit_CORE_OVERCLOCK=100
Qubit_MEMORY_OVERCLOCK=100
Scrypt_POWERLIMIT_WATTS=120
__Scrypt_CORE_OVERCLOCK=100
Scrypt_MEMORY_OVERCLOCK=100
Sia_POWERLIMIT_WATTS=120
__Sia_CORE_OVERCLOCK=100
Sia_MEMORY_OVERCLOCK=100
Skein_POWERLIMIT_WATTS=120
__Skein_CORE_OVERCLOCK=100
Skein_MEMORY_OVERCLOCK=100
X11_POWERLIMIT_WATTS=120
__X11_CORE_OVERCLOCK=100
X11_MEMORY_OVERCLOCK=100
########################################################
# #
# INDIVIDUAL Power Limit, Temp and Clock settings #
# #
########################################################
# Settings below are for rigs using INDIVIDUAL powerlimit / target temps / clocks only
# If set to YES, the INDIVIDUAL settings will override the GLOBAL settings
INDIVIDUAL_POWERLIMIT="NO" # YES or NO
# Set individual powerlimits here if INDIVIDUAL_POWERLIMIT="YES"
INDIVIDUAL_POWERLIMIT_0=100
INDIVIDUAL_POWERLIMIT_1=100
INDIVIDUAL_POWERLIMIT_2=100
INDIVIDUAL_POWERLIMIT_3=100
INDIVIDUAL_POWERLIMIT_4=100
INDIVIDUAL_POWERLIMIT_5=100
INDIVIDUAL_POWERLIMIT_6=100
INDIVIDUAL_POWERLIMIT_7=100
INDIVIDUAL_POWERLIMIT_8=100
INDIVIDUAL_POWERLIMIT_9=100
INDIVIDUAL_POWERLIMIT_10=100
INDIVIDUAL_POWERLIMIT_11=100
INDIVIDUAL_POWERLIMIT_12=100
INDIVIDUAL_POWERLIMIT_13=100
INDIVIDUAL_POWERLIMIT_14=100
INDIVIDUAL_POWERLIMIT_15=100
INDIVIDUAL_POWERLIMIT_16=100
INDIVIDUAL_POWERLIMIT_17=100
INDIVIDUAL_POWERLIMIT_18=100
INDIVIDUAL_TARGET_TEMPS="NO" # YES or NO
# Set individual target temps here if INDIVIDUAL_TARGET_TEMPS="YES"
TARGET_TEMP_0=75
TARGET_TEMP_1=75
TARGET_TEMP_2=75
TARGET_TEMP_3=75
TARGET_TEMP_4=75
TARGET_TEMP_5=75
TARGET_TEMP_6=75
TARGET_TEMP_7=75
TARGET_TEMP_8=75
TARGET_TEMP_9=75
TARGET_TEMP_10=75
TARGET_TEMP_11=75
TARGET_TEMP_12=75
TARGET_TEMP_13=75
TARGET_TEMP_14=75
TARGET_TEMP_15=75
TARGET_TEMP_16=75
TARGET_TEMP_17=75
TARGET_TEMP_18=75
INDIVIDUAL_CLOCKS="NO" # YES NO
# Set individual clocks here if INDIVIDUAL_CLOCKS="YES"
__CORE_OVERCLOCK_0=100
MEMORY_OVERCLOCK_0=100
__CORE_OVERCLOCK_1=100
MEMORY_OVERCLOCK_1=100
__CORE_OVERCLOCK_2=100
MEMORY_OVERCLOCK_2=100
__CORE_OVERCLOCK_3=100
MEMORY_OVERCLOCK_3=100
__CORE_OVERCLOCK_4=100
MEMORY_OVERCLOCK_4=100
__CORE_OVERCLOCK_5=100
MEMORY_OVERCLOCK_5=100
__CORE_OVERCLOCK_6=100
MEMORY_OVERCLOCK_6=100
__CORE_OVERCLOCK_7=100
MEMORY_OVERCLOCK_7=100
__CORE_OVERCLOCK_8=100
MEMORY_OVERCLOCK_8=100
__CORE_OVERCLOCK_9=100
MEMORY_OVERCLOCK_9=100
__CORE_OVERCLOCK_10=100
MEMORY_OVERCLOCK_10=100
__CORE_OVERCLOCK_11=100
MEMORY_OVERCLOCK_11=100
__CORE_OVERCLOCK_12=100
MEMORY_OVERCLOCK_12=100
__CORE_OVERCLOCK_13=100
MEMORY_OVERCLOCK_13=100
__CORE_OVERCLOCK_14=100
MEMORY_OVERCLOCK_14=100
__CORE_OVERCLOCK_15=100
MEMORY_OVERCLOCK_15=100
__CORE_OVERCLOCK_16=100
MEMORY_OVERCLOCK_16=100
__CORE_OVERCLOCK_17=100
MEMORY_OVERCLOCK_17=100
__CORE_OVERCLOCK_18=100
MEMORY_OVERCLOCK_18=100
########################################################
# #
# ALGO_SPECIFIC_OC settings #
# #
########################################################
# ALGO_SPECIFIC_OC settings
# OC settings you can use based on COIN or ALGO (how ever you want to categorize them)
# Deafault values are for 1060 check http://krypto-mining.blogspot.co.uk/ for other OC values
if [ $ALGO_SPECIFIC_OC == "YES" ]
then
# Neoscrypt
if [ $COIN == "FTC" -o $COIN == "ORB" -o $COIN == "PXC" -o $COIN == "VIVO" -o $COIN == "TZC" ]
then
ALGORITHM="NEOSCRYPT"
POWERLIMIT_WATTS=80
__CORE_OVERCLOCK=150
MEMORY_OVERCLOCK=800
fi
# Ethash
if [ $COIN == "ETH" -o $COIN == "ETC" -o $COIN == "EXP" -o $COIN == "UBQ" -o $COIN == "MUSIC" -o $COIN == "SOIL" -o $COIN == "MPH_ETHASH" -o $COIN == "NICE_ETHASH" -o $COIN == "PIRL" ]
then
ALGORITHM="ETHASH"
POWERLIMIT_WATTS=76
__CORE_OVERCLOCK=100
MEMORY_OVERCLOCK=1600
fi
# Equihash
if [ $COIN == "BTG" -o $COIN == "ZEC" -o $COIN == "ZEN" -o $COIN == "HUSH" -o $COIN == "ZCL" -o $COIN == "KMD" -o $COIN == "ZPOOL_EQUIHASH" -o $COIN == "MPH_EQUIHASH" -o $COIN == "NICE_EQUIHASH" -o $COIN == "VOTE" ]
then
ALGORITHM="EQUIHASH"
POWERLIMIT_WATTS=76
__CORE_OVERCLOCK=150
MEMORY_OVERCLOCK=800
fi
# Skunk
if [ $COIN == "SIGT" -o $COIN == "ZPOOL_SKUNK" -o $COIN == "ALTCOM" ]
then
ALGORITHM="SKUNK"
POWERLIMIT_WATTS=78
__CORE_OVERCLOCK=150
MEMORY_OVERCLOCK=1000
fi
# Cryptonight
if [ $COIN == "XMR" -o $COIN == "KRB" -o $COIN == "ETN" ]
then
ALGORITHM="CRYPTONIGHT"
POWERLIMIT_WATTS=62
__CORE_OVERCLOCK=155
MEMORY_OVERCLOCK=-300
fi
# lyra2vRev2
if [ $COIN == "MONA" -o $COIN == "VTC" ]
then
ALGORITHM="LYRA2REV2"
POWERLIMIT_WATTS=65
__CORE_OVERCLOCK=135
MEMORY_OVERCLOCK=-1200
fi
# ZCOIN lyra2v2
if [ $COIN == "ZCOIN" ]
then
ALGORITHM="LYRA2V2"
POWERLIMIT_WATTS=65
__CORE_OVERCLOCK=160
MEMORY_OVERCLOCK=-1000
fi
fi