Skip to content

Commit

Permalink
update config example
Browse files Browse the repository at this point in the history
  • Loading branch information
webworker01 committed Feb 19, 2020
1 parent 4bdbe21 commit 7b82c65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions config.example
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ mmtoolslogfile=$HOME/mmtools.log
#Net ID to join
netid=9999

#Wallet Passphrase
passphrase=
#Wallet Passphrase / Seed Phrase
#Put double quotes around passphrases with spaces in them
passphrase=""

#RPC password
userpass=
Expand Down
2 changes: 1 addition & 1 deletion my_orders
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
scriptpath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source $scriptpath/main

jq . <<< $(curl -s --url "http://127.0.0.1:7783" --data '{"method":"my_orders","userpass":"'${userpass}'"}') | jq -M 'del(.. | .max_volume_rat?,.min_base_vol_rat?,.price_rat?,.max_base_vol_rat?)'
jq '. | del(.. | .max_volume_rat?,.min_base_vol_rat?,.price_rat?,.max_base_vol_rat?)' <<< $(curl -s --url "http://127.0.0.1:7783" --data '{"method":"my_orders","userpass":"'${userpass}'"}')
echo

0 comments on commit 7b82c65

Please sign in to comment.