<p></p>
<blockquote>
<p>Where is the best place to get a background of what has been developed to date?</p>
</blockquote>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/pazza83/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pazza83">@pazza83</a> Sorry, no api documentation yet, but the code explains a lot.<br>
See <code>:cli</code> supbroject's <code>CliMain</code> class for a list of currently available CLI commands:</p>
<pre><code>private enum Method {
        createoffer,
        canceloffer,
        getoffer,
        getoffers,
        takeoffer,
        gettrade,
        confirmpaymentstarted,
        confirmpaymentreceived,
        keepfunds,
        withdrawfunds,
        getpaymentmethods,
        getpaymentacctform,
        createpaymentacct,
        getpaymentaccts,
        getversion,
        getbalance,
        getaddressbalance,
        getfundingaddresses,
        getunusedbsqaddress,
        sendbsq,
        sendbtc,
        gettxfeerate,
        settxfeerate,
        unsettxfeerate,
        gettransaction,
        lockwallet,
        unlockwallet,
        removewalletpassword,
        setwalletpassword,
        registerdisputeagent
    }
</code></pre>
<p>This won't work on Windows (not meant to).  It's meant for *nix only.  Seemed to work OK when I tried it on OSX some months ago.</p>
<p>To see (linux) CLI help, get latest master, and build with options needed for running api tests later:</p>
<pre><code>./gradlew clean build :apitest:installDaoSetup
</code></pre>
<p>CLI help:   <code>./bisq-cli --help</code></p>
<p>To see server side implementation, you can drill down starting from the <code>:daemon</code> subproject's <code>bisq.daemon.grpc.GrpcServer</code>.</p>
<p>If you want, you can run the <code>:apitest</code> suite (almost 5 minutes to complete):</p>
<pre><code>./gradlew :apitest:test -DrunApiTests=true
</code></pre>
<p>The test cases are in the <code>:apitest</code> <code>src/test</code> folder, the <code>src/main</code> (ignore it) folder is where the test harness lives.   If you want to run individual <code>method</code> tests you'll need to comment out the <code>@Disabled</code> annotation.  And you'll need to add the  JVM argument<br>
<code>-DrunApiTests=true</code> to your IDE's <code>Gradle</code> launcher template.</p>
<p>Again, this test harness only works on *nix, and depends on <code>bash</code>.  Windows support is not in the scope of the api project at this stage.</p>
<p>I am working on a simple trading script that simulates Bob & Alice using the CLI to buy and sell BTC with EUR.  But I haven't checked it in yet -- it needs more testing, load limits are being found as I test, and some api protections have been implemented, but not clearly defined and applied to specific api methods yet.</p>

<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/projects/issues/46#issuecomment-754005282">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNW6VQHKL5AHKD3SLS3SYHF25ANCNFSM4VSBU6HQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUO22ICVS2LDLZ45ODSYHF25A5CNFSM4VSBU6H2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTYTKIQ.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/projects/issues/46#issuecomment-754005282",
"url": "https://github.com/bisq-network/projects/issues/46#issuecomment-754005282",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>