*** Advanced Options ***Don't use it if you didn't know what is this.
Yes, activate advanced mode.
Please note this script only tested on Ubuntu 19.1
Run this first:
After that, simply send Y or Yes if there is a question.
Then run script below (copy & paste all of script at once):
sudo apt-get install -y \
build-essential libssl-dev libcurl4-openssl-dev libjansson-dev libgmp-dev automake zlib1g-dev && \
git clone https://github.com/cryptozeny/cpuminer-opt-sugarchain.git && \
cd cpuminer-opt-sugarchain && \
./build-yespower.sh && \
Then wait, it should take a few minute since it'll run so much things required to build miners and if there are a question, just send Y or Yes.
After finished all download and build, you just need to run this script to start mining in background:
./cpuminer -a yespower -o stratum+tcp://sugar.anomp.com:6673 -u sugar1q0qeegeah2ckuvpt55ks3x7zzhzqusat06dxy9j.vps -p x -t1 -B
Congratulation, now you are mining SUGAR
Please note this script has been only tested on mi 5 with termux installed.
Install TERMUX from playstore FIRST!!!!
1. We need to run ubuntu inside the termux, run one by one:
pkg updatepkg upgradepkg install wgetpkg install prootpkg install gitgit clone https://github.com/Neo-Oli/termux-ubuntu.gitcd termux-ubuntuchmod +x ubuntu.sh./ubuntu.sh./start-ubuntu.sh
If there is no error happen, then you are already on inside ubuntu.
2. Building the sugarmaker script, run one by one each line:
apt updateapt upgradeapt install gitapt install wgetapt install unzipapt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev zlib1g-dev make g++wget https://github.com/decryp2kanon/sugarmaker/releases/download/v2.5.0-sugar4/sugarmaker-v2.5.0-sugar4-aarch64.zip && \ unzip sugarmaker-v2.5.0-sugar4-aarch64.zip
Then run script below (copy & paste all of script at once) to start mining:
Congratulation, now you are mining SUGAR on android.
Buy me a soft drink, i'm accepting some cryptos.