miner.sh 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. #!/bin/bash
  2. # version 1.11 22/10/2017
  3. cd ~
  4. screen -S miner -X quit
  5. #screen -S nofee -X quit
  6. ##-------AMD settings-----------
  7. export DISPLAY=:0
  8. export GPU_MAX_ALLOC_PERCENT=100
  9. export GPU_USE_SYNC_OBJECTS=1
  10. export GPU_FORCE_64BIT_PTR=1
  11. export GPU_MAX_HEAP_SIZE=100
  12. export GPU_SINGLE_ALLOC_PERCENT=100
  13. ##-------MINER---------------
  14. echo "start miner."
  15. sleep 5
  16. ##---------------------------------
  17. ##----My personal configuration----
  18. ##---------------------------------
  19. #echo "start cpuminer."
  20. ## cpuminer
  21. #screen -dmS cpu ~/cpuminer-opt/cpuminer -a Lyra2z -o stratum+tcp://lyra2z.eu.nicehash.com:3365/#xnsub -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p password
  22. #screen -dmS cpu ~/cpuminer-opt/cpuminer -a x16r -o stratum+tcp://minepool.com:3636 -u RLUkvxfkNrB1egaurjGx1htrveF82hfcGF.OpenRig -p x
  23. #screen -dmS cpu ~/cpuminer-opt/cpuminer -a x16r -o stratum+tcp://x16r.eu.nicehash.com:3366 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x
  24. ##------------------
  25. ## Other crypto coin
  26. ##------------------
  27. ##---- Sia
  28. #screen -dmS miner ~/sgminer-sia/sgminer -c ~/sgminer-sia/sia.conf -k sia
  29. ##-----------------------
  30. ##------ ethminer -------
  31. ##-----------------------
  32. #Genoil's ethminer stratum
  33. #screen -dmS miner ~/ethminer -G -S eu1.ethermine.org:4444 -O 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig:x --cl-local-work 256 --cl-global-work 26384 --opencl-device 0 1 2 3 -SP 1&
  34. #Genoil's ethminer nicehash
  35. #screen -dmS miner ~/ethminer -SP 2 -G -S daggerhashimoto.eu.nicehash.com:3353 -O 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig --cl-global-work 26384 --cl-local-work 256 -t 2 --opencl-device 0 1 2 3 --dag-load-mode sequential &
  36. ##------------------------------
  37. ##---- Claymore Dual Mining ----
  38. ##------------------------------
  39. ## Nicehash ETH only
  40. screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -gser 2 -asm 1 &
  41. ## Nicehash ETH + SIA
  42. #screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://siamining.com:7777 -dwal ef0a5c294aacac4766d13035d8e4842f54c542748f3a230115a4351af92688684a94fec1b557.OpenRig -dcoin sia -gser 2 &
  43. ## Nicehash ETH + lbry
  44. ##screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://lbry.suprnova.cc:6256 -dwal wareck.2 -dpsw x -dcoin lbc
  45. ## Nicehash ETH + DCR
  46. #screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://decred.eu.nicehash.com:3354 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -dcoin dcr
  47. ## Nicehash ETH + Blake
  48. #screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -dpool startum+tcp://stratum+tcp://blake2s.eu.nicehash.com:3361 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -dcoin blake2s
  49. ## Nicehash ETH + keccak
  50. #screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -dpool startum+tcp://stratum+tcp://keccak.eu.nicehash.com:3338 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -dcoin keccak
  51. ## Nicehash ETH + PASC_Nicehash
  52. #screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://pascal.eu.nicehash.com:3358 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -dcoin pasc
  53. ## Ethermine ETH only
  54. #screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444 -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -asm 2 -dcri 1 -gser 2 -dcri 1 &
  55. ## Ethermine ETH + decred
  56. #screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444 -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -esm 3 -allpools 1 -esm 3 -dpool dcr.suprnova.cc:3252 -dwal wareck.openrig -dpsw x &
  57. ## Ethermine ETH + lbry
  58. #screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444 -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -dpool stratum+tcp://lbry.suprnova.cc:6256 -dwal wareck.1 -dpsw x -dcoin lbc
  59. ## Ethermine ETH + Pascal
  60. #screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444 -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -dpool stratum+tcp://pasc.suprnova.cc:5279 -dwal wareck.1 -dpsw x -dcoin pasc -allpools 1
  61. ## Ethermine ETH + Pascal Lite
  62. #screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444 -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -dpool stratum+tcp://pasl.suprnova.cc:4316 -dwal wareck.1 -dpsw x -dcoin pasc -allpools 1 -asm 2 &
  63. ## Ethermine ETH + SIA
  64. #screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444 -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -dpool stratum+tcp://siamining.com:7777 -dwal ef0a5c294aacac4766d13035d8e4842f54c542748f3a230115a4351af92688684a94fec1b557.OpenRig -dcoin sia -wd 1 -gser 2 -esm 0 &
  65. ##------------------
  66. ##----Equihash------
  67. ##------------------
  68. ##---- Sgminer-genesis for zcash
  69. #screen -dmS miner sgminer-gm/sgminer -c sgminer-gm/zcash.conf
  70. ##---- Claymore Zcash ----
  71. # Nicehash
  72. #screen -dmS miner ~/claymore_zcash/zecminer64 -zpool ssl://equihash.eu.nicehash.com:33357 -zwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -zpsw x &
  73. # Flypool
  74. #screen -dmS miner claymore_zcash/zecminer64 -zpool ssl://eu1-zcash.flypool.org:3443 -zwal t1J4NMWTpr6WMd8arD31A3BHARAjZayq8Jq.OpenRig -zpsw x -ftime 1 -asm 2 -i 9 &
  75. ## Bitcoin Gold
  76. #screen -dmS miner claymore_zcash/zecminer64 -zpool eu.btgpool.pro:3857 -zwal GYD8iwQg4EjvHZRBLa1t5Rs7k6Wn4B5sT6.OpenRig -zpsw x -tt 90 -fanmin 60 -ftime 1 -i 6 -allpools 1 &
  77. ##-----------------
  78. ##----- XMR -------
  79. ##-----------------
  80. # Nicehash
  81. #screen -dmS miner claymore_xmr/nsgpucnminer -xpool stratum+ssl://cryptonight.eu.nicehash.com:33355 -xwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -xpsw x -allpools 1 -pow7 1 &
  82. #screen -dmS miner ./xmrig-amd -o cryptonightv7.eu.nicehash.com:3363 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x &
  83. #screen -dmS miner ./xmr-stak -o cryptonightv7.eu.nicehash.com:3363 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x --use-nicehash --currency cryptonight_v7 &
  84. # Nicehash cryptonight heavy
  85. #screen -dmS miner ./xmrig-amd -o cryptonightheavy.eu.nicehash.com:3364 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x -a cryptonight-heavy
  86. # Nicehash cryptonightv8
  87. #screen -dmS miner ./xmrig-amd -o stratum+tcp://cryptonightv8.eu.nicehash.com:3367 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x -a cryptonight --variant 2 &
  88. #screen -dmS miner ./xmr-stak -o stratum+tcp://cryptonightv8.eu.nicehash.com:3367 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x --use-nicehash --currency cryptonight_v8
  89. # Intense coin
  90. #screen -dmS miner claymore_xmr/nsgpucnminer -xpool ssl://pool.intensecoin.com:9000 -xwal iz5rRQwf4PrUVV8rNKGt3WWNhP4uJAQ1RNGw8EPEvy6NgMws3RagkpNaQX1FLsmeKjSEXCrjHFgK3h5nJV7F86hX2ckShiAck -xpsw x -allpools 1 -pow7 1
  91. #screen -dmS miner claymore_xmr/nsgpucnminer -xpool pool.intensecoin.com:7777 -xwal iz5rRQwf4PrUVV8rNKGt3WWNhP4uJAQ1RNGw8EPEvy6NgMws3RagkpNaQX1FLsmeKjSEXCrjHFgK3h5nJV7F86hX2ckShiAck -xpsw x -allpools 1 -pow7 1
  92. #screen -dmS miner ~/xmrig -o pool.intensecoin.com:7777 -u iz5rRQwf4PrUVV8rNKGt3WWNhP4uJAQ1RNGw8EPEvy6NgMws3RagkpNaQX1FLsmeKjSEXCrjHFgK3h5nJV7F86hX2ckShiAck -p x &
  93. #screen -dmS miner ~/xmrig -o pool.itnspool.net:3333 -u iz5rRQwf4PrUVV8rNKGt3WWNhP4uJAQ1RNGw8EPEvy6NgMws3RagkpNaQX1FLsmeKjSEXCrjHFgK3h5nJV7F86hX2ckShiAck -p x &
  94. #screen -dmS miner ~/xmr-stak -o pool.intensecoin.com:7777 -u iz5rRQwf4PrUVV8rNKGt3WWNhP4uJAQ1RNGw8EPEvy6NgMws3RagkpNaQX1FLsmeKjSEXCrjHFgK3h5nJV7F86hX2ckShiAck -p x --currency intense&
  95. ##---- BTX -----
  96. #screen -dmS miner sgminer-timetravel/sgminer --kernel timetravel10 -o stratum+tcp://bitcorepool.cc:1111 -u 1CSdZFRnpgkJyhRR35ogGVYDZWBt2k4UN1 -p x -I 16 -g 4
  97. #-- BEAT --
  98. #screen -dmS miner ~/ethminer --farm-recheck 200 -G -S eu1.ethermine.org:4444 -FS us1.ethermine.org:4444 -O 0x61BC185C7BFa1558223D792D41a758EEa66e048a.rJICLYK3M --cl-local-work 256 --cl-global-work 26384 --opencl-device 0 1 2 3 -SP 1&
  99. ##--------------
  100. ##--- Lyra2z ---
  101. ##--------------
  102. #screen -dmS miner sgminer-msvc2015/sgminer --kernel lyra2z -o stratum+tcp://lyra2z.eu.nicehash.com:3365/#xnsub -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G -p x -I 12 -g 3 -w 32
  103. #screen -dmS miner tdxminer-v0.2.2.2/tdxminer -a lyra2z -o stratum+tcp://lyra2z.eu.nicehash.com:3365 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G -p x --platform=0,1,2,3 --devices=0,1,2,3
  104. ##--------------
  105. ##--- X16R ---
  106. ##--------------
  107. ##---- RavenCoin
  108. #screen -dmS miner sgminer-x16r/sgminer -k x16r -o stratum+tcp://minepool.com:3636 -u RLUkvxfkNrB1egaurjGx1htrveF82hfcGF -p x -X 512 &
  109. ##---- Nicehash x16r
  110. #screen -dmS miner sgminer-x16r/sgminer -k x16r -o stratum+tcp://x16r.eu.nicehash.com:3366 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x -X 256 --extranonce &
  111. echo "use 'screen -x miner' to see miner activity"