From 67ffc159b1aae460cfdf24947c06e84a983bd6ea Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 19 Jul 2017 14:48:36 +0200 Subject: [PATCH] Test --- iguana/exchanges/goal | 3 +++ iguana/exchanges/install | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 iguana/exchanges/goal diff --git a/iguana/exchanges/goal b/iguana/exchanges/goal new file mode 100755 index 000000000..c69d6ca7c --- /dev/null +++ b/iguana/exchanges/goal @@ -0,0 +1,3 @@ +source userpass +curl --url "http://127.0.0.1:7779" --data "{\"userpass\":\"$userpass\",\"method\":\"goal\",\"coin\":\"KMD\",\"goal\":99}" +curl --url "http://127.0.0.1:7779" --data "{\"userpass\":\"$userpass\",\"method\":\"goal\",\"coin\":\"BTC\",\"goal\":1}" diff --git a/iguana/exchanges/install b/iguana/exchanges/install index ec2e5b8b3..0e913c346 100755 --- a/iguana/exchanges/install +++ b/iguana/exchanges/install @@ -1,4 +1,4 @@ -cp portfolio autoprice autofill deletemessages getmessages debug register registerall trade ordermatch bestfit orderbook autotrade client run_osx client_osx run coins disable enable forward myprice myprices getcoins getpeers getpeersIP getprices getutxos help inv lookup pub setprice status utxos ../dexscripts +cp goal portfolio autoprice autofill deletemessages getmessages debug register registerall trade ordermatch bestfit orderbook autotrade client run_osx client_osx run coins disable enable forward myprice myprices getcoins getpeers getpeersIP getprices getutxos help inv lookup pub setprice status utxos ../dexscripts cd ../dexscripts #cp ../exchanges/passphrase ../exchanges/userpass . echo you will need to have a passphrase file with your passphrase and userpass file with userpass value in dexscripts dir