<p></p>
<p>CLI example:</p>
<p>Start daemons:</p>
<pre><code>$ ./bisq-apitest --apiPassword=xyz --supportingApps=bitcoind,seednode,arbdaemon,alicedaemon --shutdownAfterTests=false
</code></pre>
<p>Get the dummy payment account id needed for create offer:</p>
<pre><code>$ ./bisq-cli --password=xyz getpaymentaccts
Name Currency Payment Method ID
PerfectMoney dummy EUR PERFECT_MONEY c1ca87a6-918f-4a57-960a-979596dee7f6
ETH dummy ETH BLOCK_CHAINS d55040c4-aff4-4ed4-a900-73df578f9d2a
</code></pre>
<p>Create and cache a new offer, then examine it:</p>
<pre><code>$ ./bisq-cli --password=xyz createoffer c1ca87a6-918f-4a57-960a-979596dee7f6 sell usd 0.125 0.125 true 0.00 0.15
Buy/Sell Price in usd for 1 BTC BTC(min - max) usd(min - max) Payment Method Creation Date (UTC) ID
SELL 10,735.0905 0.12500000 1,342 Perfect Money 2020-09-29T19:24:27Z NAUGWFYZ-ddbc5348-2a9e-4ba6-a9b1-7cc10e622d9e-139
</code></pre>
<p>Place the offer with offer-id param, and a security deposit param as a % double value:</p>
<pre><code>$ ./bisq-cli --password=xyz placeoffer NAUGWFYZ-ddbc5348-2a9e-4ba6-a9b1-7cc10e622d9e-139 0.15
offer placed
</code></pre>
<p>Look at the sell/usd offer just placed:</p>
<pre><code>$ ./bisq-cli --password=xyz getoffers sell usd
Buy/Sell Price in usd for 1 BTC BTC(min - max) usd(min - max) Payment Method Creation Date (UTC) ID
SELL 10,735.0905 0.12500000 1,342 Perfect Money 2020-09-29T19:24:27Z NAUGWFYZ-ddbc5348-2a9e-4ba6-a9b1-7cc10e622d9e-139
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4574#issuecomment-700943148">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNSDG56SDJZLWU7GI6TSIIZ3HANCNFSM4R6GYCUA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNXZKRJEFA4OCX3YMYLSIIZ3HA5CNFSM4R6GYCUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFHDYWLA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4574#issuecomment-700943148",
"url": "https://github.com/bisq-network/bisq/pull/4574#issuecomment-700943148",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>