making some config changes to better setup qt environments
This commit is contained in:
parent
1e2cc2c916
commit
982b86059f
12 changed files with 278 additions and 79 deletions
9
scripts/miner-unpaid.sh
Executable file
9
scripts/miner-unpaid.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue