I added the nicehash stuff to the wtm autoswitch coins if someone is interested.
1. ADD to the WTM coins in 1bash.
NICE_SKUNKHASH;NICE_EQUIHASH;NICE_ETHASH;NICE_NEOSCRYPT;NICE_X11GOST;NICE_CRYPTONIGHT;NICE_LYRA2REV2
2. in WTM_AUTO_SWITCH Change
From:
# filter WTM coins by user selection only
for i in reversed(data):
if i["tag"] not in includedCoins:
data.remove(i)
to:
# filter WTM coins by user selection only
for i in reversed(data):
if i["tag"] == "NICEHASH":
i["tag"] = "NICE_" + i["algorithm"].upper()
for i in reversed(data):
if i["tag"] not in includedCoins:
data.remove(i)
3. in PAPAMPI_WTM change the TOP_COIN=
to :
TOP_COIN=$(cat WTM_top_coin | grep : | sed 's/:[0-9]*//')
4. ADD to your coins in 1bash
NICEHASH_BTC_ADDRESS="Your nicehash BTC address here"
#NICE_LYRA2REV2
NICE_WORKER="$WORKERNAME"
NICE_ADDRESS=$NICEHASH_BTC_ADDRESS
NICE_LYRA2REV2_POOL="stratum+tcp://lyra2rev2.eu.nicehash.com:3347"
NICE_LYRA2REV2_INTENSITY="21"
#NICE_NEOSCRYPT
NICE_WORKER="$WORKERNAME"
NICE_ADDRESS="$NICEHASH_BTC_ADDRESS"
NICE_NEOSCRYPT_POOL="stratum+tcp://neoscrypt.eu.nicehash.com:3341"
NICE_NEOSCRYPT_INTENSITY="21"
#NICE_CRYPTONIGHT
NICE_WORKER="$WORKERNAME"
NICE_ADDRESS="$NICEHASH_BTC_ADDRESS"
NICE_CRYPTONIGHT_POOL="stratum+tcp://cryptonight.eu.nicehash.com:3355"
NICE_CRYPTONIGHT_INTENSITY="21"
#NICE_X11GOST
NICE_WORKER="$WORKERNAME"
NICE_ADDRESS="$NICEHASH_BTC_ADDRESS"
NICE_X11GOST_POOL="stratum+tcp://x11gost.eu.nicehash.com:3359"
NICE_X11GOST_INTENSITY="21"
#NICE_SKUNKHASH
NICE_WORKER="$WORKERNAME"
NICE_ADDRESS="$NICEHASH_BTC_ADDRESS"
NICE_SKUNKHASH_POOL="stratum+tcp://skunk.eu.nicehash.com:3362"
NICE_SKUNKHASH_INTENSITY="21"
5. ADD to 3main or wtm-miner for latest version
########################################################## Nicehash ###############################################
########################################################## Nicehash ###############################################
########################################################## Nicehash ###############################################
if [ $COIN == "DUAL_NICEHASH" ]
then
HCD=/home/m1/eth/$CLAYMORE_VERSION/ethdcrminer64
ETHASH_ADDR="$DUAL_BTC_ADDRESS.$DUAL_WORKER"
DCR_ADDR="$DUAL_BTC_ADDRESS.$DUAL_WORKER"
screen -dmSL miner $HCD -epool $DUAL_ETHASH_POOL -ewal $ETHASH_ADDR -epsw x -allcoins 1 -allpools 1 -dpool $DUAL_DCR_POOL -dwal $DCR_ADDR -dpsw x $DUAL_EXTENSION_ARGUMENTS
if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
BITCOIN="theGROUND"
while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
if [ $COIN == "NICE_NEOSCRYPT" ]
then
HCD='/home/m1/SPccminer/ccminer'
ADDR="$NICE_ADDRESS.$NICE_WORKER"
screen -dmSL miner $HCD -a neoscrypt -o $NICE_NEOSCRYPT_POOL -u $ADDR -p x -i $PXC_INTENSITY
if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
BITCOIN="theGROUND"
while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
if [ $COIN == "NICE_LYRA2REV2" ]
then
HCD='/home/m1/SPccminer/ccminer'
ADDR="$NICE_ADDRESS.$NICE_WORKER"
screen -dmSL miner $HCD -a lyra2v2 -o $NICE_LYRA2REV2_POOL -u $ADDR -p x -i $NICE_LYRA2REV2_INTENSITY
if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
BITCOIN="theGROUND"
while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
if [ $COIN == "NICE_X11GOST" ]
then
HCD='/home/m1/SPccminer/ccminer'
ADDR="$NICE_ADDRESS.$NICE_WORKER"
screen -dmSL miner $HCD -a sib -o $NICE_X11GOST_POOL -u $ADDR -p x -i $NICE_X11GOST_INTENSITY
if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
BITCOIN="theGROUND"
while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
if [ $COIN == "NICE_SKUNKHASH" ]
then
HCD='/home/m1/TPccminer/ccminer'
ADDR="$NICE_ADDRESS.$NICE_WORKER"
screen -dmSL miner $HCD -a skunk -o $NICE_SKUNKHASH_POOL -u $ADDR -p x -i $NICE_SKUNKHASH_INTENSITY
if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
BITCOIN="theGROUND"
while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
if [ $COIN == "NICE_CRYPTONIGHT" ]
then
HCD='/home/m1/TPccminer/ccminer'
ADDR="$NICE_ADDRESS.$NICE_WORKER"
screen -dmSL miner $HCD -a cryptonight -o $NICE_CRYPTONIGHT_POOL -u $ADDR -p x -i $NICE_CRYPTONIGHT_INTENSITY
if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
BITCOIN="theGROUND"
while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
########################################################## Nicehash ###############################################
########################################################## Nicehash ###############################################
########################################################## Nicehash ###############################################
Hope this helps
regards
Matze
Thanks mate
I tried to put your edits in codes to be easier to understand.
But we already have a nicehash auto switch, is this one needed ?