forked from papampi/nvOC_by_fullzero_Community_Release
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1bash
1047 lines (756 loc) · 34.5 KB
/
1bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/bin/bash
##########################################################################
##########################################################################
################# nvOC v0019-2.0 - Community Release #################
############## by papampi, Stubo and leenoox ##############
########## Based on the original nvOC v0019-1.4 by fullzero ##########
##########################################################################
##########################################################################
# v=0001 :
# v=0002 : Papampi : Telegram changes
# v=0003 : Papampi :
nvOC_1bash_ver="v0019-2.0.003" # Do not edit this
# 1bash for v0019-2.0 (1bash subversion 001)
# fullzero: nvOC creator
# + contributors (in alphabetical order):
# BaliMiner: TELEGRAM_MESSAGES
# ( 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 periodically 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.
TELEGRAM_MESSAGES="NO" # YES or NO # Set to YES if you want to receive Telegram Periodic Messages
TELEGRAM_ALERTS="YES" # YES or NO # Set to No if you Dont want to get Telegram Alerts
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 in the coin section below (no need for address if switch=no and profit=yes )
# select which coins you want to mine or 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" # Minimum 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" ... "last 24, 3 days,... " 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_WORKER="$WORKERNAME"
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_WORKER="$WORKERNAME"
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
## No Need to add stratum+tcp:// to server address
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