Skip to content

alex-bormotov/Lazy-NiceHash2

Repository files navigation

Lazy-NiceHash2

Features

Show wallet balances

Trade on Nicehash Exchange

Autoexchange mined BTC to other coin, once a day (for instance)

Show coin prices


Install

sudo apt-get update
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
sudo apt-get update
sudo apt-get install docker.io git
git clone https://github.com/alex-bormotov/Lazy-NiceHash2
cd Lazy-NiceHash2
cp config.json.sample config.json

edit config.json

sudo docker build -t lazy-nicehash2 .
sudo docker run lazy-nicehash2 &

Update

cd Lazy-NiceHash2
sudo docker ps
sudo docker stop CONTAINER ID
sudo docker rm CONTAINER ID
sudo docker rmi Lazy-NiceHash2
git pull origin master
sudo docker build -t lazy-nicehash2 .
sudo docker run lazy-nicehash2 &