making some config changes to better setup qt environments

This commit is contained in:
Chris Cochrun 2022-07-05 09:26:54 -05:00
parent 1e2cc2c916
commit 982b86059f
12 changed files with 278 additions and 79 deletions

9
scripts/miner-unpaid.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env sh
eth=$(curl -X GET "https://eth.2miners.com/api/accounts/bc1qarhl2mwgdnatdn3q8fjy794c7jtmhtvjvsztd4" -H "accept: application/json" | jq '.stats.balance' | sed 's/^/0\.00/')
echo "current eth: $eth"
rate=$(curl rate.sx/eth | rg avg | awk '{print $2}' | sed 's/\$//')
echo $rate
dollar=$(echo "$eth * $rate" | bc -l)
echo $dollar