328: Bump serde from 1.0.119 to 1.0.124 r=thomaseizinger a=dependabot[bot] Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.124. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p> <blockquote> <h2>v1.0.124</h2> <ul> <li>Fix possible panic deserializing invalid data as <code>SystemTime</code> (<a href="https://github.com/serde-rs/serde/issues/1997">#1997</a>, thanks <a href="https://github.com/cyang1"><code>@cyang1</code></a>)</li> </ul> <h2>v1.0.123</h2> <ul> <li>Support <code>Self</code> keywords in fields of types that derive Deserialize (<a href="https://github.com/serde-rs/serde/issues/1830">#1830</a>, thanks <a href="https://github.com/taiki-e"><code>@taiki-e</code></a>)</li> <li>Allow floats to be deserialized from ints in tagged unions (<a href="https://github.com/serde-rs/serde/issues/1842">#1842</a>, thanks <a href="https://github.com/Timmmm"><code>@Timmmm</code></a>)</li> <li>Support <code>Self</code> inside fields that use serialize_with (<a href="https://github.com/serde-rs/serde/issues/1970">#1970</a>)</li> </ul> <h2>v1.0.122</h2> <ul> <li> <p>Add IntoDeserializer impl for &[u8] (<a href="https://github.com/serde-rs/serde/issues/1898">#1898</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys (<a href="https://github.com/serde-rs/serde/issues/1914">#1914</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Add attribute to override default deserialization failure expectation message (<a href="https://github.com/serde-rs/serde/issues/1916">#1916</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> <pre lang="rust"><code>#[derive(Deserialize)] #[serde(untagged, expecting = "single version or array of versions")] struct VersionSpec { One(Version), Many(Vec<Version>), } </code></pre> </li> <li> <p>Improve <code>serde_test</code> handling of map entries and error message construction (<a href="https://github.com/serde-rs/serde/issues/1918">#1918</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Produce more accurate location information on test failures from <code>serde_test</code> crate (<a href="https://github.com/serde-rs/serde/issues/1920">#1920</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Improve diagnostic on failure to parse a <code>rename_all</code> attribute (<a href="https://github.com/serde-rs/serde/issues/1960">#1960</a>, <a href="https://github.com/serde-rs/serde/issues/1961">#1961</a>)</p> </li> <li> <p>Eliminate unnecessary trait bounds on some value Deserializer impls (<a href="https://github.com/serde-rs/serde/issues/1963">#1963</a>)</p> </li> </ul> <h2>v1.0.121</h2> <ul> <li>Support borrowed data during deserialization of a field identifier (<a href="https://github.com/serde-rs/serde/issues/1917">#1917</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</li> <li>Fix panic when deserializing <code>Duration</code> with nanoseconds that cause the seconds counter to overflow (<a href="https://github.com/serde-rs/serde/issues/1958">#1958</a>, thanks <a href="https://github.com/jonasbb"><code>@jonasbb</code></a>)</li> </ul> <h2>v1.0.120</h2> <ul> <li>Fix deserialization of ignored fields containing 128-bit integer (<a href="https://github.com/serde-rs/serde/issues/1955">#1955</a>, thanks <a href="https://github.com/TheJokr"><code>@TheJokr</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|---|---|---|
| .cargo | ||
| .github | ||
| monero-harness | ||
| monero-rpc | ||
| swap | ||
| tokio-tar | ||
| .gitignore | ||
| bors.toml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain | ||
| rustfmt.toml | ||
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.
Quick start
- Download the latest release for your operating system
- Run the binary:
./swap buy-xmr --receive-address <YOUR MONERO ADDRESS> - Follow the instructions printed to the terminal
Limitations
For now, the MVP is limited to testnet3 on Bitcoin and stagenet on Monero.
How it works
This repository primarily hosts two components:
- the
swapCLI - the
asbservice
swap CLI
The swap CLI acts in the role of Bob and swaps BTC for XMR.
See ./swap --help for a description of all commands.
The main command is buy-xmr which automatically connects to an instance of asb.
asb service
asb is short for automated swap backend (we are open to suggestions for better names!).
The service acts as the counter-party for the swap CLI in the role of Alice.
It provides the CLI with a quote and the liquidity necessary for swapping BTC into XMR.
Contact
Feel free to reach out to us in the COMIT-Monero Matrix channel.