![bors[bot]](/assets/img/avatar_default.png)
897: Bump anyhow from 1.0.51 to 1.0.52 r=da-kami a=dependabot[bot] Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.51 to 1.0.52. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p> <blockquote> <h2>1.0.52</h2> <ul> <li>Reduce overhead of backtrace capture in the case that backtraces are not enabled (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/212">#212</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="f871e2fefc
"><code>f871e2f</code></a> Release 1.0.52</li> <li><a href="94e20899ab
"><code>94e2089</code></a> Change test suite atomic from SeqCst to Relaxed</li> <li><a href="42badfdcbd
"><code>42badfd</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/213">#213</a> from dtolnay/fixme</li> <li><a href="5498d85975
"><code>5498d85</code></a> Annotate expressions that are rendered poorly by core::stringify</li> <li><a href="6e17bdbf2e
"><code>6e17bdb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/212">#212</a> from dtolnay/relaxed</li> <li><a href="6b3630c0e7
"><code>6b3630c</code></a> Change Backtrace::enabled atomic from SeqCst to Relaxed</li> <li><a href="a3f7160ce8
"><code>a3f7160</code></a> Ignore return_self_not_must_use clippy lint</li> <li><a href="4d2586b20f
"><code>4d2586b</code></a> Track raw pointers in miri CI run</li> <li><a href="d40fd3217e
"><code>d40fd32</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/211">#211</a> from dtolnay/ensuretest</li> <li><a href="2a7201779d
"><code>2a72017</code></a> Update ensure tests to nightly-2021-12-10</li> <li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.51...1.0.52">compare view</a></li> </ul> </details> <br /> [](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> 906: Bump serde_json from 1.0.68 to 1.0.74 r=da-kami a=dependabot[bot] Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.68 to 1.0.74. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.74</h2> <ul> <li>Allow creating RawValues from references to unsized values (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/841">#841</a>, thanks <a href="https://github.com/EFanZh"><code>`@EFanZh</code></a>)</li>` </ul> <h2>v1.0.73</h2> <ul> <li>Update <code>itoa</code> dependency to 1.0</li> </ul> <h2>v1.0.72</h2> <ul> <li>Interpret <code>\u</code>-encoded lone surrogates when deserializing into a byte string (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/828">#828</a>, <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/829">#829</a>, thanks <a href="https://github.com/lucacasonato"><code>`@lucacasonato</code></a>)</li>` </ul> <h2>v1.0.71</h2> <ul> <li>Add serde_json::Map::get_key_value (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/821">#821</a>, thanks <a href="https://github.com/timothee-haudebourg"><code>`@timothee-haudebourg</code></a>)</li>` <li>Add impl From<Box<RawValue>> for Box<str> (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/824">#824</a>, thanks <a href="https://github.com/jplatte"><code>`@jplatte</code></a>)</li>` </ul> <h2>v1.0.70</h2> <ul> <li>Add <code>serde_json::Map::retain</code> method (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/822">#822</a>, thanks <a href="https://github.com/deankarn"><code>`@deankarn</code></a>)</li>` </ul> <h2>v1.0.69</h2> <ul> <li>Implement Hash for serde_json::Number (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/814">#814</a>, thanks <a href="https://github.com/timothee-haudebourg"><code>`@timothee-haudebourg</code></a>)</li>` </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="58d40de6ed
"><code>58d40de</code></a> Release 1.0.74</li> <li><a href="ef7794f87f
"><code>ef7794f</code></a> Detect warnings in CI</li> <li><a href="6de3d398ef
"><code>6de3d39</code></a> Merge pull request 841 from EFanZh/unsized-value-to-raw-value</li> <li><a href="012f567a38
"><code>012f567</code></a> Allow creating <code>RawValue</code>s from references to unsized values</li> <li><a href="18a88dad66
"><code>18a88da</code></a> Avoid evaluating $c more than once in overflow macro</li> <li><a href="5d2cbcdd4b
"><code>5d2cbcd</code></a> Eliminate lib module</li> <li><a href="31198f589c
"><code>31198f5</code></a> Switch to $(,)? in tri macro</li> <li><a href="51df12e0cd
"><code>51df12e</code></a> Unconditionally import from alloc</li> <li><a href="95f67a0939
"><code>95f67a0</code></a> Ignore return_self_not_must_use clippy lint</li> <li><a href="296f718e18
"><code>296f718</code></a> Release 1.0.73</li> <li>Additional commits viewable in <a href="https://github.com/serde-rs/json/compare/v1.0.68...v1.0.74">compare view</a></li> </ul> </details> <br /> [](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>
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
- Download the latest
swap
binary release for your operating system. - Find a seller to swap with:
./swap --testnet list-sellers
- 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 are encourage community contributions whether it be a bug fix or an improvement to the documentation. Please have a look at the contribution guidelines.
Contact
Feel free to reach out to us in the COMIT-Monero Matrix channel.