Skip to content
Permalink
Browse files

test

  • Loading branch information...
EvilRedHorse committed Jun 7, 2019
1 parent 2147b1d commit 4cec2d2b786ce6b6f915db44f135a09ce557f669
Showing with 3 additions and 2 deletions.
  1. +3 −2 send-coins.sh
@@ -52,7 +52,7 @@ fi

# Prompt to choose coin to send
INTERVALS=2
read -e -i "$INTERVALS" -p "# of payments? " INTERVALS
read -e -i "$INTERVALS" -p "number of payments? " INTERVALS

# how many times to interval payments
if [ "$INTERVALS" -gt "1" ]; then
@@ -76,7 +76,8 @@ do
# let "ITERATION = $n + 1"
# printf "\nSending $AMOUNT $COIN to $i... Transaction ID: " && "$PROGRAM" #sendtoaddress "$i" "$AMOUNT" "Sending $AMOUNT $COIN to $RECEPIENT $INTERVALS times with #$SLEEP_INTERVAL seconds between payments and executed from a bash script, payment #$ITERATION of $INTERVALS - Return Payment Address: $RETURN_ADDRESS - MEMO: $MEMO" #"$RECEPIENT" false
let "ITERATION = $n + 1"
printf "\nSending $AMOUNT $COIN to $i... Transaction ID: " && "$PROGRAM" sendtoaddress "$i" "$AMOUNT" "'$MEMO"','"Amount:$AMOUNT"','"Coin"':'"$COIN"','"To"':'"$RECEPIENT"','"Payments"':'"$INTERVALS"','"PaymentIntervals"':'"$SLEEP_INTERVAL"','"$ITERATION"','"Intervals"':'"$INTERVALS"','"ReturnPaymentAddress"':'"$RETURN_ADDRESS'" "$RECEPIENT" "false"
let "MEMO_FIELD="$MEMO","Amount:$AMOUNT","Coin":"$COIN","To":"$RECEPIENT","Payments":"$INTERVALS","PaymentIntervals":"$SLEEP_INTERVAL","$ITERATION","Intervals":"$INTERVALS","ReturnPaymentAddress":"$RETURN_ADDRESS" "$RECEPIENT"
printf "\nSending $AMOUNT $COIN to $i... Transaction ID: " && "$PROGRAM" sendtoaddress "$i" "$MEMO_FIELD" "false"
done

0 comments on commit 4cec2d2

Please sign in to comment.
You can’t perform that action at this time.