Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
creeea authored Sep 12, 2018
1 parent a0d884f commit 1be1b0e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _runNodePayments.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/expect -f
set timeout 200


set payments [ file join payments.txt ]
set fh [ open $payments r ]
set password [lindex $argv 0]

while {[gets $fh payment] != -1} {
eval spawn $payment
expect "Enter password for encrypted key:" {send -- "$password\r"}
expect eof
}
6 changes: 6 additions & 0 deletions makePayments.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

echo "Password: "
read -s PWD

./_runNodePayments.tcl $PWD
9 changes: 9 additions & 0 deletions payment.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
./tezos-client transfer 6.62 from tezos-suisse to KT1PhwnQtRxhqnoHPn7pUauTYXZDnDbxTEYJ --fee 0.01
./tezos-client transfer 3.76 from tezos-suisse to KT1VRZqnGFDXazNv6y2GWktzkc2p6J4SeU6a --fee 0.01
./tezos-client transfer 1.4 from tezos-suisse to KT1Jev2rDzb92wGKPSwbVEGkcHosMUTvz89A --fee 0.01
./tezos-client transfer 1.09 from tezos-suisse to KT1Tybh9CY57AcHny8mHpaFyrV3BtWfxpYtz --fee 0.01
./tezos-client transfer 0.74 from tezos-suisse to KT1XZjBGz2ThwnWvxxpHYy2NmxgZPFBNqDfa --fee 0.01
./tezos-client transfer 0.71 from tezos-suisse to KT1VunidXJHRLCQoFtTABNDeBrUkw9gKfDS2 --fee 0.01
./tezos-client transfer 0.61 from tezos-suisse to KT1FcgG5dgbVUQNfLNQWFGXTxcybaFpmPFVP --fee 0.01
./tezos-client transfer 0.06 from tezos-suisse to KT1USRRcbdPzX1Sa9B5hEyhZAsjRgPVpzM9J --fee 0.01
./tezos-client transfer 0.0 from tezos-suisse to KT1CpwuvYccHLzyAvJu2zRGSSuyqC8u4sJSU --fee 0.01

0 comments on commit 1be1b0e

Please sign in to comment.