diff --git a/iguana/exchanges/autofill b/iguana/exchanges/autofill index f05962ea7..b0724a9db 100755 --- a/iguana/exchanges/autofill +++ b/iguana/exchanges/autofill @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"autofill\",\"base\":\"KMD\",\"rel\":\"BTC\",\"price\":0.0005,\"relvolume\":0.1}" diff --git a/iguana/exchanges/autoprice b/iguana/exchanges/autoprice index b709aa0e4..a95a3f5e3 100755 --- a/iguana/exchanges/autoprice +++ b/iguana/exchanges/autoprice @@ -1,3 +1,4 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"autoprice\",\"base\":\"KMD\",\"rel\":\"BTC\",\"margin\":0.0001}" curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"autoprice\",\"base\":\"BTC\",\"rel\":\"KMD\",\"margin\":0.0001}" diff --git a/iguana/exchanges/autotrade b/iguana/exchanges/autotrade index 0ea5e5f11..72e14f84a 100755 --- a/iguana/exchanges/autotrade +++ b/iguana/exchanges/autotrade @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"autotrade\",\"base\":\"REVS\",\"rel\":\"KMD\",\"relvolume\":1.01,\"price\":1.234}" diff --git a/iguana/exchanges/balance_loop b/iguana/exchanges/balance_loop index 8a75e0e22..ad28ac741 100755 --- a/iguana/exchanges/balance_loop +++ b/iguana/exchanges/balance_loop @@ -1,3 +1,4 @@ +#!/bin/bash source userpass ht=$1 while true diff --git a/iguana/exchanges/bestfit b/iguana/exchanges/bestfit index c926713ff..bae6a79ac 100755 --- a/iguana/exchanges/bestfit +++ b/iguana/exchanges/bestfit @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"bestfit\",\"rel\":\"KMD\",\"relvolume\":1.01}" diff --git a/iguana/exchanges/buy b/iguana/exchanges/buy index 4bed65f19..cf83a91df 100755 --- a/iguana/exchanges/buy +++ b/iguana/exchanges/buy @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"buy\",\"base\":\"KMD\",\"rel\":\"BTC\",\"relvolume\":0.005,\"price\":0.0005}" diff --git a/iguana/exchanges/cancelorder b/iguana/exchanges/cancelorder index 78394c4c7..31fe7ea8c 100755 --- a/iguana/exchanges/cancelorder +++ b/iguana/exchanges/cancelorder @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"setprice\",\"base\":\"REVS\",\"rel\":\"KMD\",\"price\":9999999.99}" diff --git a/iguana/exchanges/client b/iguana/exchanges/client index 8b3f8a7ba..a36758376 100755 --- a/iguana/exchanges/client +++ b/iguana/exchanges/client @@ -1,3 +1,4 @@ +#!/bin/bash source passphrase source coins pkill -15 marketmaker; diff --git a/iguana/exchanges/client_osx b/iguana/exchanges/client_osx index 9e1cada67..463a08eb4 100755 --- a/iguana/exchanges/client_osx +++ b/iguana/exchanges/client_osx @@ -1,3 +1,4 @@ +#!/bin/bash source passphrase source coins pkill -15 marketmaker; diff --git a/iguana/exchanges/debug b/iguana/exchanges/debug index 02017001a..a4f2297a3 100755 --- a/iguana/exchanges/debug +++ b/iguana/exchanges/debug @@ -1,3 +1,4 @@ +#!/bin/bash source passphrase source coins pkill -15 marketmaker; diff --git a/iguana/exchanges/deletemessages b/iguana/exchanges/deletemessages index a65985a7e..5aba784a4 100755 --- a/iguana/exchanges/deletemessages +++ b/iguana/exchanges/deletemessages @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"deletemessages\",\"firsti\":0,\"num\":10}" diff --git a/iguana/exchanges/disable b/iguana/exchanges/disable index e32c24a6f..636fc952f 100755 --- a/iguana/exchanges/disable +++ b/iguana/exchanges/disable @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"disable\",\"coin\":\"REVS\"}" diff --git a/iguana/exchanges/dividends b/iguana/exchanges/dividends index c5b2ac714..5385b9454 100755 --- a/iguana/exchanges/dividends +++ b/iguana/exchanges/dividends @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"dividends\",\"coin\":\"KMD\",\"height\":$1,\"prefix\":\"fiat/jumblr sendtoaddress\",\"suffix\":\"\",\"dividend\":50000,\"dust\":1}" diff --git a/iguana/exchanges/electrum b/iguana/exchanges/electrum index e7f562b41..375d3d8f4 100755 --- a/iguana/exchanges/electrum +++ b/iguana/exchanges/electrum @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"electrum\",\"coin\":\"BTC\",\"ipaddr\":\"173.212.225.176\",\"port\":50001}" diff --git a/iguana/exchanges/electrum.chips b/iguana/exchanges/electrum.chips index be36abd88..f5cd61e8c 100755 --- a/iguana/exchanges/electrum.chips +++ b/iguana/exchanges/electrum.chips @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"electrum\",\"coin\":\"CHIPS\",\"ipaddr\":\"173.212.225.176\",\"port\":50076}" diff --git a/iguana/exchanges/electrum.chips2 b/iguana/exchanges/electrum.chips2 index 72e3f2f70..2be709e78 100755 --- a/iguana/exchanges/electrum.chips2 +++ b/iguana/exchanges/electrum.chips2 @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"electrum\",\"coin\":\"CHIPS\",\"ipaddr\":\"136.243.45.140\",\"port\":50076}" diff --git a/iguana/exchanges/electrum.kmd b/iguana/exchanges/electrum.kmd index 747fba203..865205062 100755 --- a/iguana/exchanges/electrum.kmd +++ b/iguana/exchanges/electrum.kmd @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"electrum\",\"coin\":\"KMD\",\"ipaddr\":\"96.44.166.176\",\"port\":8777}" diff --git a/iguana/exchanges/electrum.kmd2 b/iguana/exchanges/electrum.kmd2 index 46b11276b..40bd30c93 100755 --- a/iguana/exchanges/electrum.kmd2 +++ b/iguana/exchanges/electrum.kmd2 @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"electrum\",\"coin\":\"KMD\",\"ipaddr\":\"173.212.225.176\",\"port\":50011}" diff --git a/iguana/exchanges/electrum.kmd3 b/iguana/exchanges/electrum.kmd3 index 5fb7a6b9a..4bf1a6c10 100755 --- a/iguana/exchanges/electrum.kmd3 +++ b/iguana/exchanges/electrum.kmd3 @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"electrum\",\"coin\":\"KMD\",\"ipaddr\":\"136.243.45.140\",\"port\":50011}" diff --git a/iguana/exchanges/electrums b/iguana/exchanges/electrums index 43b4d8811..a4cabe5e3 100755 --- a/iguana/exchanges/electrums +++ b/iguana/exchanges/electrums @@ -1,3 +1,4 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"electrum\",\"coin\":\"REVS\",\"ipaddr\":\"173.212.225.176\",\"port\":50050}" diff --git a/iguana/exchanges/enable b/iguana/exchanges/enable index c4b2a56e3..d6a287b3a 100755 --- a/iguana/exchanges/enable +++ b/iguana/exchanges/enable @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"enable\",\"coin\":\"REVS\"}" diff --git a/iguana/exchanges/getcoin b/iguana/exchanges/getcoin index 063185f57..b37ccc666 100755 --- a/iguana/exchanges/getcoin +++ b/iguana/exchanges/getcoin @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"getcoin\",\"coin\":\"LTC\"}" diff --git a/iguana/exchanges/getcoins b/iguana/exchanges/getcoins index 71778acfb..64b1d7461 100755 --- a/iguana/exchanges/getcoins +++ b/iguana/exchanges/getcoins @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"getcoins\"}" diff --git a/iguana/exchanges/getmessages b/iguana/exchanges/getmessages index 0bfadf518..121e8ec0b 100755 --- a/iguana/exchanges/getmessages +++ b/iguana/exchanges/getmessages @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"getmessages\",\"firsti\":0,\"num\":10}" diff --git a/iguana/exchanges/getpeers b/iguana/exchanges/getpeers index ea91cb791..9ed1daf77 100755 --- a/iguana/exchanges/getpeers +++ b/iguana/exchanges/getpeers @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"getpeers\"}" diff --git a/iguana/exchanges/getpeersIP b/iguana/exchanges/getpeersIP index c5a7fdd74..7c532e609 100755 --- a/iguana/exchanges/getpeersIP +++ b/iguana/exchanges/getpeersIP @@ -1,3 +1,4 @@ +#!/bin/bash curl --url "http://5.9.253.195:7783" --data "{\"method\":\"getpeers\"}" curl --url "http://5.9.253.196:7783" --data "{\"method\":\"getpeers\"}" curl --url "http://5.9.253.197:7783" --data "{\"method\":\"getpeers\"}" diff --git a/iguana/exchanges/getprices b/iguana/exchanges/getprices index 2a0428d1c..57031035c 100755 --- a/iguana/exchanges/getprices +++ b/iguana/exchanges/getprices @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"getprices\",\"coin\":\"REVS\"}" diff --git a/iguana/exchanges/getutxos b/iguana/exchanges/getutxos index 38f26f654..4782c9a0a 100755 --- a/iguana/exchanges/getutxos +++ b/iguana/exchanges/getutxos @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"getutxos\",\"coin\":\"REVS\"}" diff --git a/iguana/exchanges/goal b/iguana/exchanges/goal index ecfd491e6..74fd1fcda 100755 --- a/iguana/exchanges/goal +++ b/iguana/exchanges/goal @@ -1,3 +1,4 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"goal\",\"coin\":\"KMD\",\"val\":99}" curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"goal\",\"coin\":\"BTC\",\"val\":10}" diff --git a/iguana/exchanges/goals b/iguana/exchanges/goals index b29e0f49f..22f31bab8 100755 --- a/iguana/exchanges/goals +++ b/iguana/exchanges/goals @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"goal\"}" diff --git a/iguana/exchanges/help b/iguana/exchanges/help index f51f15b8d..a16fa1181 100755 --- a/iguana/exchanges/help +++ b/iguana/exchanges/help @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"help\"}" diff --git a/iguana/exchanges/install b/iguana/exchanges/install index 3b1981f97..a3632447b 100755 --- a/iguana/exchanges/install +++ b/iguana/exchanges/install @@ -1,3 +1,4 @@ +#!/bin/bash cp electrum snapshot_balance snapshot_loop secretaddresses dividends snapshot goals goal portfolio autoprice deletemessages getmessages debug register registerall buy sell bestfit orderbook client run_osx client_osx run coins disable enable myprice myprices getcoins getpeers getpeersIP getprices getutxos help inv setprice status utxos ../dexscripts cd ../dexscripts #cp ../exchanges/passphrase ../exchanges/userpass . diff --git a/iguana/exchanges/inv b/iguana/exchanges/inv index bdd1d58c1..a42ac5d51 100755 --- a/iguana/exchanges/inv +++ b/iguana/exchanges/inv @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"inventory\",\"coin\":\"REVS\"}" diff --git a/iguana/exchanges/listunspent b/iguana/exchanges/listunspent index 98c5b137d..aa7ca4963 100755 --- a/iguana/exchanges/listunspent +++ b/iguana/exchanges/listunspent @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"listunspent\",\"coin\":\"BTC\",\"address\":\"1DPDsPCNNCF5SHhPPrddXcJe78rM6CBcH3\"}" diff --git a/iguana/exchanges/loop b/iguana/exchanges/loop index 43228b96e..2ad08f45b 100755 --- a/iguana/exchanges/loop +++ b/iguana/exchanges/loop @@ -1,3 +1,4 @@ +#!/bin/bash while true do source userpass diff --git a/iguana/exchanges/message b/iguana/exchanges/message index 0182aa093..f36c45c81 100755 --- a/iguana/exchanges/message +++ b/iguana/exchanges/message @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"pubkey\":\"$1\",\"method\":\"sendmessage\",\"message\":\"some sort of message\"}" diff --git a/iguana/exchanges/myprice b/iguana/exchanges/myprice index 8080023ed..6dfac2dbb 100755 --- a/iguana/exchanges/myprice +++ b/iguana/exchanges/myprice @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"myprice\",\"base\":\"REVS\",\"rel\":\"KMD\"}" diff --git a/iguana/exchanges/myprices b/iguana/exchanges/myprices index 3fef298b2..1c82512c0 100755 --- a/iguana/exchanges/myprices +++ b/iguana/exchanges/myprices @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"myprices\"}" diff --git a/iguana/exchanges/numutxos b/iguana/exchanges/numutxos index f8d921078..9455dd239 100755 --- a/iguana/exchanges/numutxos +++ b/iguana/exchanges/numutxos @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"numutxos\"}" diff --git a/iguana/exchanges/orderbook b/iguana/exchanges/orderbook index 8ca15bc87..0f6e553b4 100755 --- a/iguana/exchanges/orderbook +++ b/iguana/exchanges/orderbook @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"orderbook\",\"base\":\"JUMBLR\",\"rel\":\"KMD\"}" diff --git a/iguana/exchanges/ordermatch b/iguana/exchanges/ordermatch index 85c74cfea..f4b2ca61c 100755 --- a/iguana/exchanges/ordermatch +++ b/iguana/exchanges/ordermatch @@ -1,3 +1,4 @@ +#!/bin/bash source userpass #ordermatch(base, txfee=0, rel, desttxfee=0, price, txid, vout, feetxid, feevout, duration=3600)\n\ curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"ordermatch\",\"base\":\"REVS\",\"rel\":\"KMD\",\"price\":1.234,\"duration\":600,\"txfee\":0,\"desttxfee\":0,\"txid\":\"$1\",\"vout\":$2,\"feetxid\":\"$3\",\"feevout\":$4}" diff --git a/iguana/exchanges/portfolio b/iguana/exchanges/portfolio index 92bd9f236..b22adbc06 100755 --- a/iguana/exchanges/portfolio +++ b/iguana/exchanges/portfolio @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"portfolio\"}" diff --git a/iguana/exchanges/pricearray b/iguana/exchanges/pricearray index f39ab51ae..dc812dba6 100755 --- a/iguana/exchanges/pricearray +++ b/iguana/exchanges/pricearray @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"pricearray\",\"base\":\"KMD\",\"rel\":\"BTC\",\"timescale\":60}" diff --git a/iguana/exchanges/pub b/iguana/exchanges/pub index 8d9712607..2e3241fee 100755 --- a/iguana/exchanges/pub +++ b/iguana/exchanges/pub @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"pubkey\":\"6578099f6474d9b8bd66a7a136b922029a989818ec0309aee962dd6ac1862b74\",\"method\":\"forward\",\"method2\":\"publish\",\"data\":\"nonsense\"}" diff --git a/iguana/exchanges/register b/iguana/exchanges/register index ca64e4ace..d00160beb 100755 --- a/iguana/exchanges/register +++ b/iguana/exchanges/register @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://5.9.253.195:7783" --data "{\"userpass\":\"9bb4846d24136fc7c33515e45bccbab5c8fb7b57b411aa20057b371da9358255\",\"agent\":\"stats\",\"method\":\"register\",\"client\":\"6d3332be4904feafd326609bd76b66528dc7b2e2d75a7bd110c6bf8d19c4cf58\",\"pushaddr\":\"5.9.253.195\",\"pushport\":\"10000\"}" diff --git a/iguana/exchanges/registerall b/iguana/exchanges/registerall index b3cfe5f06..927f0b2f9 100755 --- a/iguana/exchanges/registerall +++ b/iguana/exchanges/registerall @@ -1,3 +1,4 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"registerall\",\"numnodes\":10}" diff --git a/iguana/exchanges/run b/iguana/exchanges/run index 59e4ec2e4..ec549c0c7 100755 --- a/iguana/exchanges/run +++ b/iguana/exchanges/run @@ -1,3 +1,4 @@ +#!/bin/bash source passphrase source coins pkill -15 marketmaker; diff --git a/iguana/exchanges/run_osx b/iguana/exchanges/run_osx index c8924d6f4..970217843 100755 --- a/iguana/exchanges/run_osx +++ b/iguana/exchanges/run_osx @@ -1,3 +1,4 @@ +#!/bin/bash source passphrase source coins pkill -15 marketmaker; diff --git a/iguana/exchanges/secretaddresses b/iguana/exchanges/secretaddresses index a2d6ba2d2..29ebd0041 100755 --- a/iguana/exchanges/secretaddresses +++ b/iguana/exchanges/secretaddresses @@ -1,3 +1,4 @@ +#!/bin/bash source userpass echo "usage: ./secretaddresses 'passphrase'" diff --git a/iguana/exchanges/sell b/iguana/exchanges/sell index 5f48ff299..6410148c8 100755 --- a/iguana/exchanges/sell +++ b/iguana/exchanges/sell @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"sell\",\"base\":\"KMD\",\"rel\":\"BTC\",\"basevolume\":10.0\"price\":0.0005}" diff --git a/iguana/exchanges/setprice b/iguana/exchanges/setprice index 0909118fb..40b88e0a5 100755 --- a/iguana/exchanges/setprice +++ b/iguana/exchanges/setprice @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"setprice\",\"base\":\"REVS\",\"rel\":\"KMD\",\"price\":1.234}" diff --git a/iguana/exchanges/snapshot b/iguana/exchanges/snapshot index e9056f1cf..75a0a60aa 100755 --- a/iguana/exchanges/snapshot +++ b/iguana/exchanges/snapshot @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"snapshot\",\"coin\":\"KMD\",\"height\":$1}" diff --git a/iguana/exchanges/snapshot_balance b/iguana/exchanges/snapshot_balance index 88b0f9823..b66f1a9e4 100644 --- a/iguana/exchanges/snapshot_balance +++ b/iguana/exchanges/snapshot_balance @@ -1,3 +1,4 @@ +#!/bin/bash source userpass ht=$1 curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"snapshot_balance\",\"coin\":\"KMD\",\"height\":$ht,\"addresses\":[\"RSAzPFzgTZHNcxLNLdGyVPbjbMA8PRY7Ss\", \"RBgD5eMGwZppid4x7PTEC2Wg1AzvxbsQqB\"]}" diff --git a/iguana/exchanges/snapshot_loop b/iguana/exchanges/snapshot_loop index 38a0c3156..05bedaa82 100755 --- a/iguana/exchanges/snapshot_loop +++ b/iguana/exchanges/snapshot_loop @@ -1,3 +1,4 @@ +#!/bin/bash source userpass ht=$1 while true diff --git a/iguana/exchanges/status b/iguana/exchanges/status index a05aa72ee..0499bba6b 100755 --- a/iguana/exchanges/status +++ b/iguana/exchanges/status @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"swapstatus\"}" diff --git a/iguana/exchanges/swapstatus b/iguana/exchanges/swapstatus index ce9dbbed0..abc6dbb64 100755 --- a/iguana/exchanges/swapstatus +++ b/iguana/exchanges/swapstatus @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"swapstatus\",\"requestid\":2291973695,\"quoteid\":3387529385}" diff --git a/iguana/exchanges/trade b/iguana/exchanges/trade index 155de037a..1bad74aa9 100755 --- a/iguana/exchanges/trade +++ b/iguana/exchanges/trade @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"trade\",\"price\":1.234,\"base\":\"REVS\",\"rel\":\"KMD\",\"quote\":{}}" diff --git a/iguana/exchanges/utxos b/iguana/exchanges/utxos index 38f26f654..4782c9a0a 100755 --- a/iguana/exchanges/utxos +++ b/iguana/exchanges/utxos @@ -1,2 +1,3 @@ +#!/bin/bash source userpass curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"getutxos\",\"coin\":\"REVS\"}"