|
|
|
#!/bin/bash
|
|
|
|
# Unlock all lockunspents to make sure we can access all our utxo!
|
|
|
|
komodo-cli lockunspent true `komodo-cli listlockunspent | jq -c .`
|
|
|
|
|
|
|
|
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
|
|
|
|
clang -g -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
|
|
|
|
clang -g -Wno-deprecated -c -DISNOTARYNODE=1 -DLIQUIDITY_PROVIDER=1 main.c iguana777.c iguana_bundles.c ../basilisk/basilisk.c
|
|
|
|
clang -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lnanomsg -lcurl -lssl -lcrypto -lpthread -lz -lm -lsodium
|
|
|
|
|
|
|
|
iguana_arg=${2:-notary}
|
|
|
|
stdbuf -oL $1 ../agents/iguana $iguana_arg & #> 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\":\"178.128.93.117\"}" # lukechilds AR primary static IP
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"157.230.47.150\"}" # lukechilds AR secondary static IP
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"67.207.94.69\"}" # lukechilds NA primary static IP
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"167.71.178.51\"}" # lukechilds NA secondary static IP
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"159.89.210.91\"}" # lukechilds AR primary floating IP
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"139.59.218.49\"}" # lukechilds AR secondary floating IP
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"165.227.253.204\"}" # lukechilds NA primary floating IP
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"138.197.62.182\"}" # lukechilds NA secondary floating IP
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"64.120.113.130\"}" # cipi_AR
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"209.58.144.205\"}" # cipi_NA
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"95.213.238.100\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"77.75.121.138\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"103.6.12.105\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"139.99.209.214\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"185.130.212.13\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"104.194.9.218\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"200.25.4.38\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"141.105.67.29\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"139.99.120.13\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"145.239.149.162\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"51.15.21.67\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"139.99.144.91\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"139.99.130.75\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"145.239.204.180\"}"
|
|
|
|
#curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"82.202.193.100\"}"
|
|
|
|
#curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"54.95.68.31\"}"
|
|
|
|
#curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"139.99.149.173\"}"
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"31.184.227.140\"}" # pungotoken_AR
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"103.101.129.93\"}" # pungotoken_SH
|
|
|
|
|
|
|
|
|
|
|
|
#tests/addnotarys_7776
|
|
|
|
coins/btc_7776
|
|
|
|
#coins/ltc_7776
|
|
|
|
coins/kmd_7776
|
|
|
|
#coins/chips_7776
|
|
|
|
#coins/game_7776
|
|
|
|
#coins/emc2_7776
|
|
|
|
#coins/gin_7776
|
|
|
|
./wp_7776
|
|
|
|
|
|
|
|
coins/revs_7776
|
|
|
|
coins/supernet_7776
|
|
|
|
coins/dex_7776
|
|
|
|
coins/bet_7776
|
|
|
|
coins/bots_7776
|
|
|
|
coins/hodl_7776
|
|
|
|
coins/mshark_7776
|
|
|
|
coins/jumblr_7776
|
|
|
|
coins/crypto_7776
|
|
|
|
coins/pangea_7776
|
|
|
|
coins/mgw_7776
|
|
|
|
#coins/coqui_7776
|
|
|
|
coins/wlc_7776
|
|
|
|
coins/kv_7776
|
|
|
|
coins/ceal_7776
|
|
|
|
coins/mesh_7776
|
|
|
|
coins/axo_7776
|
|
|
|
coins/etomic_7776
|
|
|
|
coins/btch_7776
|
|
|
|
coins/ninja_7776
|
|
|
|
coins/oot_7776
|
|
|
|
coins/bntn_7776
|
|
|
|
coins/chain_7776
|
|
|
|
coins/prlpay_7776
|
|
|
|
coins/dsec_7776
|
|
|
|
coins/glxt_7776
|
|
|
|
coins/eql_7776
|
|
|
|
coins/zilla_7776
|
|
|
|
#coins/vrsc_7776
|
|
|
|
coins/rfox_7776
|
|
|
|
coins/sec_7776
|
|
|
|
coins/ccl_7776
|
|
|
|
#coins/hush_7776
|
|
|
|
coins/pirate_7776
|
|
|
|
#coins/mgnx_7776
|
|
|
|
coins/pgt_7776
|
|
|
|
coins/kmdice_7776
|
|
|
|
coins/dion_7776
|
|
|
|
#coins/zex_7776
|
|
|
|
coins/ksb_7776
|
|
|
|
coins/our_7776
|
|
|
|
coins/iln_7776
|
|
|
|
coins/rick_7776
|
|
|
|
coins/morty_7776
|
|
|
|
coins/vote2019_7776
|
|
|
|
coins/hush3_7776
|
|
|
|
coins/koin_7776
|
|
|
|
coins/zexo_7776
|
|
|
|
coins/k64_7776
|
|
|
|
coins/thc_7776
|
|
|
|
|
|
|
|
#curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"passthru\",\"method\":\"paxfiats\",\"timeout\":900000}"
|
|
|
|
|
|
|
|
#curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"$myip\"}"
|
|
|
|
sleep 30
|
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"dpow\",\"symbol\":\"KMD\",\"pubkey\":\"$pubkey\"}"
|