Bitcoin–Monero Cross-chain Atomic Swap
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
bors[bot] 03e0e92840
Merge #1320 #1321 #1322 #1323
1320: build(deps): bump hyper from 0.14.24 to 0.14.25 r=delta1 a=dependabot[bot]

Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.24 to 0.14.25.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/hyperium/hyper/releases">hyper's releases</a>.</em></p>
<blockquote>
<h2>v0.14.25</h2>
<h2>Features</h2>
<ul>
<li><strong>client:</strong>
<ul>
<li>deprecate <code>client::conn</code> types (<a href="https://redirect.github.com/hyperium/hyper/issues/3156">#3156</a>) (<a href="0ced15d3cc">0ced15d3</a>)</li>
<li>add 1.0 compatible client conn API  (<a href="https://redirect.github.com/hyperium/hyper/issues/3155">#3155</a>) (<a href="253cc74d86">253cc74d</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/3053">#3053</a>)</li>
<li>add <code>client::connect::capture_connection()</code> (<a href="https://redirect.github.com/hyperium/hyper/issues/3144">#3144</a>) (<a href="c8493399b2">c8493399</a>)</li>
<li>add <code>poison</code> to <code>Connected</code> (<a href="https://redirect.github.com/hyperium/hyper/issues/3145">#3145</a>) (<a href="37ed5a2e3c">37ed5a2e</a>)</li>
</ul>
</li>
<li><strong>server:</strong>
<ul>
<li>deprecate server conn structs (<a href="https://redirect.github.com/hyperium/hyper/issues/3161">#3161</a>) (<a href="02fe20f232">02fe20f2</a>)</li>
<li>backport the split server conn modules from 1.0 (<a href="https://redirect.github.com/hyperium/hyper/issues/3102">#3102</a>) (<a href="84881c9e51">84881c9e</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/3079">#3079</a>)</li>
<li>remove some <code>Unpin</code> and <code>'static</code> constraints (<a href="https://redirect.github.com/hyperium/hyper/issues/3119">#3119</a>) (<a href="0368a41a6c">0368a41a</a>)</li>
</ul>
</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/rcoh"><code>`@​rcoh</code></a>` made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/3145">hyperium/hyper#3145</a></li>
<li><a href="https://github.com/iamwwc"><code>`@​iamwwc</code></a>` made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/3119">hyperium/hyper#3119</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/hyperium/hyper/blob/v0.14.25/CHANGELOG.md">hyper's changelog</a>.</em></p>
<blockquote>
<h3>v0.14.25 (2023-03-10)</h3>
<h4>Features</h4>
<ul>
<li><strong>client:</strong>
<ul>
<li>deprecate <code>client::conn</code> types (<a href="https://redirect.github.com/hyperium/hyper/issues/3156">#3156</a>) (<a href="0ced15d3cc">0ced15d3</a>)</li>
<li>add 1.0 compatible client conn API  (<a href="https://redirect.github.com/hyperium/hyper/issues/3155">#3155</a>) (<a href="253cc74d86">253cc74d</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/3053">#3053</a>)</li>
<li>add <code>client::connect::capture_connection()</code> (<a href="https://redirect.github.com/hyperium/hyper/issues/3144">#3144</a>) (<a href="c8493399b2">c8493399</a>)</li>
<li>add <code>poison</code> to <code>Connected</code> (<a href="https://redirect.github.com/hyperium/hyper/issues/3145">#3145</a>) (<a href="37ed5a2e3c">37ed5a2e</a>)</li>
</ul>
</li>
<li><strong>server:</strong>
<ul>
<li>deprecate server conn structs (<a href="https://redirect.github.com/hyperium/hyper/issues/3161">#3161</a>) (<a href="02fe20f232">02fe20f2</a>)</li>
<li>backport the split server conn modules from 1.0 (<a href="https://redirect.github.com/hyperium/hyper/issues/3102">#3102</a>) (<a href="84881c9e51">84881c9e</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/3079">#3079</a>)</li>
<li>remove some <code>Unpin</code> and <code>'static</code> constraints (<a href="https://redirect.github.com/hyperium/hyper/issues/3119">#3119</a>) (<a href="0368a41a6c">0368a41a</a>)</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a9d4e8321c"><code>a9d4e83</code></a> v0.14.25</li>
<li><a href="645db19125"><code>645db19</code></a> docs(lib): document backport and deprecated features (<a href="https://redirect.github.com/hyperium/hyper/issues/3166">#3166</a>)</li>
<li><a href="fc111eb332"><code>fc111eb</code></a> chore(ci): test deprecations in CI (<a href="https://redirect.github.com/hyperium/hyper/issues/3162">#3162</a>)</li>
<li><a href="86bc7505c8"><code>86bc750</code></a> refactor(server): allow deprecated in the server module (<a href="https://redirect.github.com/hyperium/hyper/issues/3165">#3165</a>)</li>
<li><a href="02fe20f232"><code>02fe20f</code></a> feat(server): deprecate server conn structs (<a href="https://redirect.github.com/hyperium/hyper/issues/3161">#3161</a>)</li>
<li><a href="84881c9e51"><code>84881c9</code></a> feat(server): backport the split server conn modules from 1.0 (<a href="https://redirect.github.com/hyperium/hyper/issues/3102">#3102</a>)</li>
<li><a href="0368a41a6c"><code>0368a41</code></a> feat(server): remove some <code>Unpin</code> and <code>'static</code> constraints (<a href="https://redirect.github.com/hyperium/hyper/issues/3119">#3119</a>)</li>
<li><a href="0ced15d3cc"><code>0ced15d</code></a> feat(client): deprecate <code>client::conn</code> types (<a href="https://redirect.github.com/hyperium/hyper/issues/3156">#3156</a>)</li>
<li><a href="253cc74d86"><code>253cc74</code></a> feat(client): add 1.0 compatible client conn API  (<a href="https://redirect.github.com/hyperium/hyper/issues/3155">#3155</a>)</li>
<li><a href="c8493399b2"><code>c849339</code></a> feat(client): add <code>client::connect::capture_connection()</code> (<a href="https://redirect.github.com/hyperium/hyper/issues/3144">#3144</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/hyperium/hyper/compare/v0.14.24...v0.14.25">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hyper&package-manager=cargo&previous-version=0.14.24&new-version=0.14.25)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

1321: build(deps): bump rust_decimal from 1.28.1 to 1.29.0 r=delta1 a=dependabot[bot]

Bumps [rust_decimal](https://github.com/paupino/rust-decimal) from 1.28.1 to 1.29.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/paupino/rust-decimal/blob/master/CHANGELOG.md">rust_decimal's changelog</a>.</em></p>
<blockquote>
<h2>1.29.0</h2>
<h3>Added</h3>
<ul>
<li>New <code>trunc_with_scale</code> function which allows you to truncate a decimal number whilst retaining a specified precision. (<a href="https://redirect.github.com/paupino/rust-decimal/pull/576">#576</a>), (<a href="https://redirect.github.com/paupino/rust-decimal/pull/578">#578</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix issue when rouding using a high precision decimal place on zero values. This would previously allow the <code>Decimal</code> number to enter into an invalid state. (<a href="https://redirect.github.com/paupino/rust-decimal/pull/575">#575</a>)</li>
</ul>
<h3>Changed</h3>
<p>There were also a couple of housekeeping tasks, to help pave the way for v2 of Rust Decimal.</p>
<ul>
<li>Clean up features so that they are explicit in the <code>cargo.toml</code> and leverage the new <code>dep:</code> syntax where required. (<a href="https://redirect.github.com/paupino/rust-decimal/pull/579">#579</a>)</li>
<li>Restructure and compartamentalize Makefile. (<a href="https://redirect.github.com/paupino/rust-decimal/pull/580">#580</a>)</li>
</ul>
<h3>Credit</h3>
<p>Thank you <a href="https://github.com/c410-f3r"><code>`@​c410-f3r</code></a>` and <a href="https://github.com/jon-chuang"><code>`@​jon-chuang</code></a>` for your contributions to this release!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7b85dea8f7"><code>7b85dea</code></a> Version 1.29 (<a href="https://redirect.github.com/paupino/rust-decimal/issues/581">#581</a>)</li>
<li><a href="571ad60125"><code>571ad60</code></a> Restructure Makefile for easier navigation (<a href="https://redirect.github.com/paupino/rust-decimal/issues/580">#580</a>)</li>
<li><a href="4edfca78c1"><code>4edfca7</code></a> Use explict features and dependencies (<a href="https://redirect.github.com/paupino/rust-decimal/issues/579">#579</a>)</li>
<li><a href="d6e5ad45e7"><code>d6e5ad4</code></a> Refactor truncate to allow for a shared code path (<a href="https://redirect.github.com/paupino/rust-decimal/issues/578">#578</a>)</li>
<li><a href="e4b5c514f2"><code>e4b5c51</code></a> Introduce <code>trunc_with_scale</code> (<a href="https://redirect.github.com/paupino/rust-decimal/issues/576">#576</a>)</li>
<li><a href="c205456643"><code>c205456</code></a> fix: decimal round_dp on zero with too large dp (<a href="https://redirect.github.com/paupino/rust-decimal/issues/575">#575</a>)</li>
<li>See full diff in <a href="https://github.com/paupino/rust-decimal/compare/1.28.1...1.29.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rust_decimal&package-manager=cargo&previous-version=1.28.1&new-version=1.29.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

1322: build(deps): bump futures from 0.3.26 to 0.3.27 r=delta1 a=dependabot[bot]

Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.26 to 0.3.27.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/futures-rs/releases">futures's releases</a>.</em></p>
<blockquote>
<h2>0.3.27</h2>
<ul>
<li>Add <code>TryFlattenUnordered</code> (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2577">#2577</a>, <a href="https://redirect.github.com/rust-lang/futures-rs/issues/2590">#2590</a>, <a href="https://redirect.github.com/rust-lang/futures-rs/issues/2606">#2606</a>, <a href="https://redirect.github.com/rust-lang/futures-rs/issues/2607">#2607</a>)</li>
<li>Add <code>AbortHandle::is_aborted</code> (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2710">#2710</a>)</li>
<li>Add <code>AbortRegistration::handle</code> (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2712">#2712</a>)</li>
<li>Make <code>BiLock</code> strict-provenance compatible (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2716">#2716</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's changelog</a>.</em></p>
<blockquote>
<h1>0.3.27 - 2023-03-11</h1>
<ul>
<li>Add <code>TryFlattenUnordered</code> (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2577">#2577</a>, <a href="https://redirect.github.com/rust-lang/futures-rs/issues/2590">#2590</a>, <a href="https://redirect.github.com/rust-lang/futures-rs/issues/2606">#2606</a>, <a href="https://redirect.github.com/rust-lang/futures-rs/issues/2607">#2607</a>)</li>
<li>Add <code>AbortHandle::is_aborted</code> (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2710">#2710</a>)</li>
<li>Add <code>AbortRegistration::handle</code> (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2712">#2712</a>)</li>
<li>Make <code>BiLock</code> strict-provenance compatible (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2716">#2716</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="cfc501c9c7"><code>cfc501c</code></a> Release 0.3.27</li>
<li><a href="335b43173f"><code>335b431</code></a> Automatically cancel outdated CI runs on PR</li>
<li><a href="4b9dddf220"><code>4b9dddf</code></a> Remove dead code</li>
<li><a href="d1acf08852"><code>d1acf08</code></a> tests: restore disabled tests and benches for BiLock (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2715">#2715</a>)</li>
<li><a href="0ffaaa0859"><code>0ffaaa0</code></a> Make BiLock strict-provenance compatible (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2716">#2716</a>)</li>
<li><a href="4266221ae0"><code>4266221</code></a> Add AbortRegistration::handle (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2712">#2712</a>)</li>
<li><a href="9c44e14810"><code>9c44e14</code></a> add AbortHandle::is_aborted() (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2710">#2710</a>)</li>
<li><a href="5b64af3f38"><code>5b64af3</code></a> Ensure unreachable branch is eliminated (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2708">#2708</a>)</li>
<li><a href="bc85d233fe"><code>bc85d23</code></a> Simplify Fuse::poll to use a match expression instead of <code>return</code> (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2694">#2694</a>)</li>
<li><a href="b0d2c56e94"><code>b0d2c56</code></a> Poll <code>Select</code> futures without moving them (<a href="https://redirect.github.com/rust-lang/futures-rs/issues/2704">#2704</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/futures-rs/compare/0.3.26...0.3.27">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.26&new-version=0.3.27)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

1323: build(deps): bump rust_decimal_macros from 1.28.1 to 1.29.0 r=delta1 a=dependabot[bot]

Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal) from 1.28.1 to 1.29.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/paupino/rust-decimal/blob/master/CHANGELOG.md">rust_decimal_macros's changelog</a>.</em></p>
<blockquote>
<h2>1.29.0</h2>
<h3>Added</h3>
<ul>
<li>New <code>trunc_with_scale</code> function which allows you to truncate a decimal number whilst retaining a specified precision. (<a href="https://redirect.github.com/paupino/rust-decimal/pull/576">#576</a>), (<a href="https://redirect.github.com/paupino/rust-decimal/pull/578">#578</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix issue when rouding using a high precision decimal place on zero values. This would previously allow the <code>Decimal</code> number to enter into an invalid state. (<a href="https://redirect.github.com/paupino/rust-decimal/pull/575">#575</a>)</li>
</ul>
<h3>Changed</h3>
<p>There were also a couple of housekeeping tasks, to help pave the way for v2 of Rust Decimal.</p>
<ul>
<li>Clean up features so that they are explicit in the <code>cargo.toml</code> and leverage the new <code>dep:</code> syntax where required. (<a href="https://redirect.github.com/paupino/rust-decimal/pull/579">#579</a>)</li>
<li>Restructure and compartamentalize Makefile. (<a href="https://redirect.github.com/paupino/rust-decimal/pull/580">#580</a>)</li>
</ul>
<h3>Credit</h3>
<p>Thank you <a href="https://github.com/c410-f3r"><code>`@​c410-f3r</code></a>` and <a href="https://github.com/jon-chuang"><code>`@​jon-chuang</code></a>` for your contributions to this release!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7b85dea8f7"><code>7b85dea</code></a> Version 1.29 (<a href="https://redirect.github.com/paupino/rust-decimal/issues/581">#581</a>)</li>
<li><a href="571ad60125"><code>571ad60</code></a> Restructure Makefile for easier navigation (<a href="https://redirect.github.com/paupino/rust-decimal/issues/580">#580</a>)</li>
<li><a href="4edfca78c1"><code>4edfca7</code></a> Use explict features and dependencies (<a href="https://redirect.github.com/paupino/rust-decimal/issues/579">#579</a>)</li>
<li><a href="d6e5ad45e7"><code>d6e5ad4</code></a> Refactor truncate to allow for a shared code path (<a href="https://redirect.github.com/paupino/rust-decimal/issues/578">#578</a>)</li>
<li><a href="e4b5c514f2"><code>e4b5c51</code></a> Introduce <code>trunc_with_scale</code> (<a href="https://redirect.github.com/paupino/rust-decimal/issues/576">#576</a>)</li>
<li><a href="c205456643"><code>c205456</code></a> fix: decimal round_dp on zero with too large dp (<a href="https://redirect.github.com/paupino/rust-decimal/issues/575">#575</a>)</li>
<li>See full diff in <a href="https://github.com/paupino/rust-decimal/compare/1.28.1...1.29.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rust_decimal_macros&package-manager=cargo&previous-version=1.28.1&new-version=1.29.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
.cargo .cargo/config.toml for specifying linker 3 years ago
.github chore: fix dprint config and run fmt 1 year ago
docs Change example rendezvous node to `/dns4/discover.unstoppableswap.net/tcp/8888/p2p/12D3Ko...` 2 years ago
monero-harness feat: upgrade monero images to v0.18.1.2 2 years ago
monero-rpc chore: fix dprint config and run fmt 1 year ago
monero-wallet Update dependencies and rust-toolchain to 1.59 2 years ago
swap chore: fix dprint config and run fmt 1 year ago
utils/gpg_keys docs: add gpg key readme and delta1.asc 2 years ago
.gitignore docs: update sqlx script and add ci 2 years ago
CHANGELOG.md ci: update msrv and github actions toolchains 1 year ago
CONTRIBUTING.md Create CONTRIBUTING.md 3 years ago
Cargo.lock Merge #1320 #1321 #1322 #1323 1 year ago
Cargo.toml Update secp256kfun and rand to latest version 3 years ago
LICENSE Change license to GPLv3 4 years ago
README.md readme: fix minor grammar error 1 year ago
bors.toml feat(swap): merge cancel/refund commands into one command 1 year ago
dprint.json chore: fix dprint config and run fmt 1 year ago
rust-toolchain.toml ci: update msrv and github actions toolchains 1 year ago

README.md

XMR to BTC Atomic Swap

This repository hosts an MVP for atomically swapping BTC to XMR. It implements the protocol described in section 3 of this paper.

More information about the protocol in this presentation and this blog post.

Currently, swaps are only offered in one direction with the swap CLI on the buying side (send BTC, receive XMR). We are working on implementing a protocol where XMR moves first, but are currently blocked by advances on Monero itself. You can read this blogpost for more information.

Quick Start

  1. Download the latest swap binary release for your operating system.
  2. Find a seller to swap with:
./swap --testnet list-sellers
  1. Swap with a seller:
./swap --testnet buy-xmr --receive-address <YOUR MONERO ADDRESS> --change-address <YOUR BITCOIN CHANGE ADDRESS> --seller <SELLER MULTIADDRESS>

For more detailed documentation on the CLI, see this README.

Becoming a Market Maker

Swapping of course needs two parties - and the CLI is only one of them: The taker that occasionally starts a swap with a market maker.

If you are interested in becoming a market maker you will want to run the second binary provided in this repository: asb - the Automated Swap Backend. Detailed documentation for the asb can be found in this README.

Safety

This software is using cryptography that has not been formally audited. While we do our best to make it safe, it is up to the user to evaluate whether or not it is safe to use for their purposes. Please also see section 15 and 16 of the license.

Keep in mind that swaps are complex protocols, it is recommended to not do anything fancy when moving coins in and out. It is not recommended to bump fees when swapping because it can have unpredictable side effects.

Contributing

We encourage community contributions whether it be a bug fix or an improvement to the documentation. Please have a look at the contribution guidelines.

Rust Version Support

Please note that only the latest stable Rust toolchain is supported. All stable toolchains since 1.63 should work.

Contact

Feel free to reach out to us in the COMIT-Monero Matrix channel.