Configuration

ETH mining on Nanopool with email

To use nanopool, first ensure that this option has been set to ‘SLASH’ in your 1bash (thanks to damNmad)

DOT_POOL_FORMAT_or_FORWARD_SLASH_POOL_FORMAT="SLASH"    # DOT  or  SLASH    # formerly ETHERMINEdotORG

Go to 3main file, search for this line [ $COIN == “ETH” ]

Add your email as marked in red

if [ $COIN == "ETH" ]
then
if [ $ETHMINER_or_GENOIL_or_CLAYMORE == "GENOIL" ]
then
HCD='/home/m1/eth/Genoil-U/ethminer'
ETHADDR="$ETH_ADDRESS/$ETH_WORKER/yourEmail@mail.com"
if [ $DOT_POOL_FORMAT_or_FORWARD_SLASH_POOL_FORMAT == "DOT" ]
then
ETHADDR="$ETH_ADDRESS.$ETH_WORKER"
fi
screen -dmS miner $HCD -S $ETH_POOL -O $ETHADDR:x -U
if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
BITCOIN="theGROUND"
while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
if [ $ETHMINER_or_GENOIL_or_CLAYMORE == "ETHMINER" ]
then
HCD='/home/m1/eth/ethminer_12dev2/ethminer'
ETHADDR="$ETH_ADDRESS/$ETH_WORKER/yourEmail@mail.com"
if [ $DOT_POOL_FORMAT_or_FORWARD_SLASH_POOL_FORMAT == "DOT" ]
then
ETHADDR="$ETH_ADDRESS.$ETH_WORKER"
fi
screen -dmS miner $HCD -S $ETH_POOL -O $ETHADDR:x -U
if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
BITCOIN="theGROUND"
while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
if [ $ETHMINER_or_GENOIL_or_CLAYMORE == "CLAYMORE" ]
then
HCD=/home/m1/eth/$CLAYMORE_VERSION/ethdcrminer64
ETHADDR="$ETH_ADDRESS/$ETH_WORKER/yourEmail@mail.com"
if [ $DOT_POOL_FORMAT_or_FORWARD_SLASH_POOL_FORMAT == "DOT" ]
then
ETHADDR="$ETH_ADDRESS.$ETH_WORKER"
fi
screen -dmS miner $HCD -epool $ETH_POOL -ewal $ETHADDR -epsw x -mode 1 -dbg -1 $ETH_EXTENSION_ARGUMENTS
if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
BITCOIN="theGROUND"
while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
fi

7 Comments

  • Zotix
    November 9, 2017 - 8:25 pm | Permalink

    Does the @mail(dot)com need to be formatted like that? Should it be @mail.com or @mail(dot)com when typed in?

    • andy.vansteenbergen
      November 12, 2017 - 6:17 pm | Permalink

      thanks for the notification , changed it 🙂

  • woodl1
    November 13, 2017 - 8:21 pm | Permalink

    It’s absolutely not neсessary to make changes for this in 3main, you can add your e-mail in 1bash, where all variables are declared, just like this:

    WORKERNAME+=/your@mail.here

    Add this line after GLOBAL_WORKERNAME implementation section and it’s done.

    • andy.vansteenbergen
      November 13, 2017 - 8:48 pm | Permalink

      You can do that way, but sometimes all pools won’t accept email like that
      so that’s why we added it as nanopool specific

      • woodl1
        November 13, 2017 - 9:19 pm | Permalink

        I thought this article is for those who try mining at nanopool and use mail notification, and if they do, they add the line I wrote above and it’s gonna work. If they don’t, they comment it and use other pools. If you follow the instructions in this article, you will get the same result but with more things to do – 3 changes in the file we do not edit usually.

        • damNmad
          November 14, 2017 - 1:30 pm | Permalink

          Well, its mainly targeted for beginners, all these guides are not necessarily for every one who know IN and OUT of linux/bash scripting. There are even less steps I can do to accommodate email, but that doesn’t necessarily mean that every one can understand and use it. Hope it makes sense.

  • damNmad
    November 14, 2017 - 2:24 pm | Permalink

    From what you said, if you set up email in global worker name, some pools won’t let you connect, some pools don’t even accept worker name and some doesn’t take ‘.’ as seperator.

    This is even simpler version,

    ETH_WORKER=”miner/yourmail@abc.com”

    But some people just doesn’t want to have those things in 1bash! so the above suggestion is not for everyone!

  • Leave a Reply

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

    Powered by: Wordpress
    %d bloggers like this: