[bisq-network/bisq] Add api trade simulation scripts (#5093)

dmos62 notifications at github.com
Wed Jan 20 17:41:58 CET 2021


@dmos62 commented on this pull request.



> +printbreak
+
+printdate "Bob & Alice edit their ${COUNTRY_CODE} payment account forms, and renames them to ${F2F_ACCT_FORM}"
+editpaymentaccountform "$COUNTRY_CODE"
+cat "${APITEST_SCRIPTS_HOME}/${F2F_ACCT_FORM}"
+
+# Remove the autogenerated json template because we are going to use one created by a python script in the next step.
+CMD="rm -v ${APP_HOME}/f2f_*.json"
+DELETE_JSON_TEMPLATE=$(${CMD})
+echo "$DELETE_JSON_TEMPLATE"
+printbreak
+
+printdate "Bob and Alice create their face to face ${COUNTRY_CODE} payment accounts."
+CMD="${CLI_BASE} --port=${BOB_PORT} createpaymentacct --payment-account-form=${APITEST_SCRIPTS_HOME}/${F2F_ACCT_FORM}"
+printdate "BOB CLI: ${CMD}"
+CMD_OUTPUT=$(createpaymentacct "${CMD}")

It's the same variable referece quoting issue I refer to in other comments. It prevents reinterpretation of some special characters, prevents word splitting. See examples here: https://tldp.org/LDP/abs/html/quotingvar.html

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5093#discussion_r561113462
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210120/e5f586dc/attachment.htm>


More information about the bisq-github mailing list