Configuration

Adding Nicehash Cryptonight to your coin selection

Find this variable in 1bash and make sure you had your BTC address filled with :

BTC_ADDRESS="replace_with_your_BTC_address"

Select the coin in 1bash

COIN="NICE_CRYPTONIGHT"

Add Pool details to 1bash, i have added honkong server, please amend it according to your nearest pool from Which stratum servers are available

NICE_CRYPTONIGHT_WORKER="YourWorkerName"
NICE_CRYPTONIGHT_POOL="stratum+tcp://cryptonight.hk.nicehash.com:3355"

Add this to 3main

if [ $COIN == "NICE_CRYPTONIGHT" ]
then
HCD='/home/m1/KTccminer-cryptonight/ccminer'
ADDR="$BTC_ADDRESS.$NICE_CRYPTONIGHT_WORKER"
 
screen -dmS miner $HCD -o $NICE_CRYPTONIGHT_POOL -u $ADDR -p x
 
if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
 
BITCOIN="theGROUND"
 
while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi

Leave a Reply

Your email address will not be published. Required fields are marked *

Powered by: Wordpress
%d bloggers like this: