This commit is contained in:
Vladimir N. Korotenko
2025-11-28 12:47:45 +03:00
parent 0bcf455d8d
commit 6e62862f76
3 changed files with 13 additions and 7 deletions

View File

@@ -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",
@@ -22,12 +24,15 @@
"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"

View File

@@ -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");

Binary file not shown.