Skip to content

Instantly share code, notes, and snippets.

@kolobus
Created October 16, 2016 16:50
Show Gist options
  • Save kolobus/706111e132272bc0fa9e7e73276d4d05 to your computer and use it in GitHub Desktop.
Save kolobus/706111e132272bc0fa9e7e73276d4d05 to your computer and use it in GitHub Desktop.
myip=`curl -s4 checkip.amazonaws.com`
sleep 4
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"SuperNET\",\"method\":\"myipaddr\",\"ipaddr\":\"$myip\"}"
tests/addnotarys_7776
./btc_7776
./kmd_7776
#curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"$myip\"}"
./dpow_7776
sleep 3
./wp_7776
myip=`curl -s4 checkip.amazonaws.com`
pkill iguana
../agents/iguana notary &
sleep 4
coins/gennotary
tests/addnotarys_7776
tests/getinfoN_7776
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"SuperNET\",\"method\":\"myipaddr\",\"ipaddr\":\"$myip\"}"
./wp_7776
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"SuperNET\",\"method\":\"activehandle\"}"
./btc_7776
./kmd_7776
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnode\",\"activecoin\":\"NOTARY\",\"ipaddr\":\"$myip\"}"
./dpow_7776
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment