You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
444 B

#!/bin/bash
cd ~/scripts/
source coinlist
delay=0
count=0
while [ "x${coinlist[count]}" != "x" ]
do
all=${coinlist[count]}
name=${all%% *}
if [ "$name" != "" ]
then
echo $name
#komodo-cli -ac_name=$name $*
komodo-cli -ac_name=$name sendtoaddress RSuXRScqHNbRFqjur2C3tf3oDoauBs2B1i $(awk "BEGIN { print $(komodo-cli -ac_name=$name getbalance) - 0.003 }") "" "" true
sleep $delay
fi
count=$(( $count +1 ))
done