Close #9
This commit is contained in:
17
dm-cli/.vscode/launch.json
vendored
17
dm-cli/.vscode/launch.json
vendored
@@ -8,6 +8,8 @@
|
|||||||
// dm-cli --debug deal complete --positive 2MwPWCkWuqsigNu7YPrA5eStUUD6LvyHQTd
|
// dm-cli --debug deal complete --positive 2MwPWCkWuqsigNu7YPrA5eStUUD6LvyHQTd
|
||||||
// -m "feedback_message" -s "Hxhv4ewOOVGbydibNzdNxaWPDkFhDi0N3rdXtPVe5YtkfR2RECUG5KebcRCBmgN94t/NVYBOo/ft/FN1q6p42l8=" 2NAFmjLid526kjekoMiCm8nX5SxFCfk7jgC
|
// -m "feedback_message" -s "Hxhv4ewOOVGbydibNzdNxaWPDkFhDi0N3rdXtPVe5YtkfR2RECUG5KebcRCBmgN94t/NVYBOo/ft/FN1q6p42l8=" 2NAFmjLid526kjekoMiCm8nX5SxFCfk7jgC
|
||||||
// curl --location 'https://testnet-dm.bitdeals.org/api/v1/deal/feedback?server=https%3A%2F%2Ftestnet.bitdeals.org'
|
// curl --location 'https://testnet-dm.bitdeals.org/api/v1/deal/feedback?server=https%3A%2F%2Ftestnet.bitdeals.org'
|
||||||
|
// --debug deal create -t prepayment -s mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp -c mraXx7JrmAmuKypdJ1vseQBXySsdRZE5AC -g 0.01
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
@@ -19,15 +21,18 @@
|
|||||||
"program": "${workspaceFolder}/dm-cli",
|
"program": "${workspaceFolder}/dm-cli",
|
||||||
"args": [
|
"args": [
|
||||||
"--address",
|
"--address",
|
||||||
"https://testnet-dm2.bitdeals.org",
|
"https://testnet-dm2.bitdeals.org",
|
||||||
"--debug",
|
"--debug",
|
||||||
"deal",
|
"deal",
|
||||||
"cancel",
|
"create",
|
||||||
"-m",
|
"-t",
|
||||||
"message_text",
|
"prepayment",
|
||||||
"-s",
|
"-s",
|
||||||
"HxcVlEuqV5G3FUW6Ter553DmtcxTT7DWBUtSO5mn+DS1MZzEwLcLwEYWXJSbtphHKYCQU3EZTkWPfBaOFA2kxhU=",
|
"mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp",
|
||||||
"2Mzc3G6oKce8WHxSWF9eJ826swAGHD4Ftzi"
|
"-c",
|
||||||
|
"mraXx7JrmAmuKypdJ1vseQBXySsdRZE5AC",
|
||||||
|
"-g",
|
||||||
|
"0.01"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -302,7 +302,8 @@ int Deals::Create()
|
|||||||
string pay;
|
string pay;
|
||||||
|
|
||||||
at = GetVal("-a", "--at");
|
at = GetVal("-a", "--at");
|
||||||
// if (at.length() == 0) at = "https://testnet-dm2.bitdeals.org";
|
if (at.length() == 0)
|
||||||
|
at = address;
|
||||||
seller = GetVal("-s", "--seller");
|
seller = GetVal("-s", "--seller");
|
||||||
customer = GetVal("-c", "--customer");
|
customer = GetVal("-c", "--customer");
|
||||||
type = GetVal("-t", "--type");
|
type = GetVal("-t", "--type");
|
||||||
|
|||||||
BIN
dm-cli/dm-cli
BIN
dm-cli/dm-cli
Binary file not shown.
Reference in New Issue
Block a user