Guest User

Untitled

a guest
Jan 23rd, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. INPUT=addresses.csv
  4. OLDIFS=$IFS
  5. IFS=,
  6. # Universal Basic EvilIncome - unequal for fun
  7.  
  8. tail -n +2 $INPUT | while read time_added address ; do
  9. money=$[($RANDOM % 1000) + 100]
  10. echo " - I want to give $money to $address"
  11. # Proper command to give money via nscli tx ...
  12. # nscli query account $address --indent --chain-id testchain
  13. done
  14.  
  15. echo "People are now hating each other"
  16.  
  17. IFS=$OLDIFS
Add Comment
Please, Sign In to add comment