<p></p>
<blockquote>
<p><em>This is a Bisq Network proposal. Please familiarize yourself with the <a href="https://docs.bisq.network/proposals.html" rel="nofollow">submission and review process</a>.</em></p>
</blockquote>

<p>I'm surprised that Bisq doesn't already support cross-chain atomic swaps, as it could make the conversion between BTC and many Bitcoin-based (or chains with support for compatible hash functions / contracts) much faster, more reliable and with less user intervention.</p>
<p>This is possibly less important than making 'Altcoin instant' fully managed by the Bisq software by connecting directly to the daemon via JSON-RPC (or interacting directly with the network with the BitcoinJ fork). I would also be very interested in that too, and it could serve as a prerequisite for a HTLC implementation.</p>
<p>Background:</p>
<ul>
<li><a href="https://liquality.io/blog/hash-time-locked-contracts-htlcs-explained/" rel="nofollow">https://liquality.io/blog/hash-time-locked-contracts-htlcs-explained/</a></li>
<li><a href="https://en.bitcoinwiki.org/wiki/Hashed_Timelock_Contracts" rel="nofollow">https://en.bitcoinwiki.org/wiki/Hashed_Timelock_Contracts</a></li>
<li><a href="https://en.bitcoin.it/wiki/Hash_Time_Locked_Contracts" rel="nofollow">https://en.bitcoin.it/wiki/Hash_Time_Locked_Contracts</a></li>
</ul>
<p>Aside from the core logic of HTLC swaps there are client & protocol changes necessary, however I'm not very familiar with Bisq protocol so your input would would be appreciated.</p>
<p>For the Bisq protocol side there would need to be communication between the two parties for the swap to be accepted, e.g. both sides negotiate the hash pre-images according to the HTLC protocol.</p>
<p>Because direct transaction construction is needed to follow the HTLC protocol it wouldn't be feasible to require people to do potentially complex stuff with raw Bitcoin transactions, not to mention the margin for user error etc. This would need the Bisq software to push transactions directly to both networks.</p>
<p>Compatible coins (probably more):</p>
<ul>
<li>BTC</li>
<li>LTC</li>
<li>ETH (and most tokens)</li>
<li>ZEC</li>
<li>DASH</li>
<li>DCR</li>
</ul>
<p>Feedback is welcome</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/proposals/issues/235">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNXUU4IRWWANN4KEFI3R2N6WTANCNFSM4OTQJILA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNQ7EDJOITLCLETGUFDR2N6WTA5CNFSM4OTQJILKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JXF63PQ.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/proposals/issues/235",
"url": "https://github.com/bisq-network/proposals/issues/235",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>