Run
Run
/bin/bash
set -e
# Replace changeme with your values. Check out readme for more.
POOL="stratum+tcp://bs.poolbinance.com"
PORT=3333
MYADDRESS="1HDFX7ciTT57wVn9MfUJ4Tm2fRGGJhcnsx"
COINNAME="BTC"
cd xmrig/build
# executable permissions
echo "Setting executable permissions"
if ! chmod +x xmrig; then
echo "Error: Failed to set executable permissions"
exit 1
fi