Backup your local.conf
before running this script. You may also choose to run force-local
on your rig to prevent override from a remote config.
To get up and running, you need to do the following:
This script will install to ethos-autominer
in your home directory, add it to your PATH, and add a cron entry to start it running:
curl -o- https://raw.githubusercontent.com/Japh/ethos-autominer/master/install-autominer.sh | bash
-
First, clone the repository to your rig:
git clone https://github.com/Japh/ethos-autominer ~/ethos-autominer/
-
Make your configuration directory:
mkdir ~/.autominer
-
Copy the sample config file to your configuration directory:
cp ~/ethos-autominer/config.sample.json ~/.autominer/config.json
-
Edit your
config.json
to set your preferences. The following options in particular:- Set the
whattomine_url
by going to whattomine.com, using the calulator as per your rig setup, and then copy and pasting the URL, replacingwhattomine.com/coins
withwhattomine.com/coins.json
but leaving the rest the same. - Set the various
configs
to refer to config files that you have for the relevant coins, which you should copy into~/.autominer/configs/
.
- Set the
-
Setup a crontask to run the autominer script every minute, run
crontab -e
to begin editing and add the following line:* * * * * /home/ethos/ethos-autominer/ethos-autominer
You can also run the script manually, and if you pass --dry-run
to the script, it won't do any of the miner restarting, but will still switch configs.
You can send BTC donations to 3Ckx1eocUY5fHinbDXZtCGGqwdT1VwGBa4
.
This script has been adapted by Japh and neokjames.
This script was originally shared by AllCrypto in the YouTube video How I Mine the Most Profitable Altcoins With ethOS, with the snippet linked in the comments.