Skip to content

Instantly share code, notes, and snippets.

@sivachaitanya
Created September 24, 2018 10:23
Show Gist options
  • Save sivachaitanya/5587881c5ebedf28492625c0e077e8ca to your computer and use it in GitHub Desktop.
Save sivachaitanya/5587881c5ebedf28492625c0e077e8ca to your computer and use it in GitHub Desktop.
EOS sample loop test
#!/bin/bash
for (( c=1; c<=10000; c++ ))
do
uname=`gpw 1 6`
cleos create account eosio $uname EOS7Riw4uGqGy8BqT2GRLvCmiEKjvD8yMXQ6c4HoPAFXYRpT6PPsC EOS6e7BkZwtrVMGjyRyJWPnpyrQmhzHChZkRgdjaCePDGLV8SCBVm
cleos push action anorak2 add '["'$uname'","'$uname'-'$c'"]' -p $uname@active
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment