jl777
8 years ago
1 changed files with 24 additions and 0 deletions
@ -0,0 +1,24 @@ |
|||
#!/bin/bash |
|||
pkill iguana |
|||
rm -f ../agents/iguana *.o |
|||
git pull |
|||
cd secp256k1; ./m_unix; cd .. |
|||
cd ../crypto777; ./m_LP; cd ../iguana |
|||
gcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c -O2 -DISNOTARYNODE=1 -DLIQUIDITY_PROVIDER=1 *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c |
|||
gcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c -DISNOTARYNODE=1 -DLIQUIDITY_PROVIDER=1 main.c iguana777.c iguana_bundles.c ../basilisk/basilisk.c |
|||
gcc -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lnanomsg -lcurl -lssl -lcrypto -lpthread -lz -lm |
|||
|
|||
../agents/iguana notary & #> iguana.log 2> error.log & |
|||
|
|||
myip=`curl -s4 checkip.amazonaws.com` |
|||
source pubkey.txt |
|||
|
|||
sleep 4 |
|||
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"SuperNET\",\"method\":\"myipaddr\",\"ipaddr\":\"$myip\"}" |
|||
sleep 3 |
|||
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"78.47.196.146\"}" |
|||
coins/btc_7776 |
|||
coins/kmd_7776 |
|||
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"$myip\"}" |
|||
./wp_7776 |
|||
curl --url "http://127.0.0.1:7776" --data "{\"timeout\":60000,\"agent\":\"iguana\",\"method\":\"dpow\",\"symbol\":\"REVS\",\"pubkey\":\"$pubkey\"}" |
Loading…
Reference in new issue