Mining KASPA on Android phone and other Android devices (works without rooting)

in #cargo3 years ago (edited)

WARNING: It is not recommended to run on a battery-operated device, because batteries can get inflated under high load and big temperature, try using Android TV box instead.

Hello, dear friends. This is a quick starting guide on how to mine KASPA on an Android device.
You need Android 7.0 and upward device to make it work. If u are using Android 5.0 or Android 6.0 u can install termux from archived versions, it's a bit complicated because termux repositories are no longer supprted. Also for older Android version u can try using UserLand instead.

First u need to install termux app from F-Droid (recommended) or Google Play (some updates issue on their side)

Run termux app and u will get a terminal window very similar to one in linux:
Screenshot_20211122-032137_Termux.jpg
Run the following commands in it:

apt update
apt upgrade
pkg install rust
pkg install protobuf
press Y to agree downlading and installing apps.

Screenshot_20211122-032252_Termux.jpg

cargo install --git https://github.com/elichai/kaspa-miner.git
./.cargo/bin/kaspa-miner --mining-address kaspa:{address} --kaspad-address {node_address}

replace kaspa:{address} with your wallet address and {node_address} with your node address or any public node address avaible

Screenshot_20211122-035432_Termux.jpg

Once If u've done everything correctly u should be up and running.

Thanks to Yuri Gagarin and Tim for helping making this guide.