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] 96398b1db4
Merge #1229
1229: build(deps): bump vergen from 7.0.0 to 7.4.3 r=delta1 a=dependabot[bot]

Bumps [vergen](https://github.com/rustyhorde/vergen) from 7.0.0 to 7.4.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rustyhorde/vergen/releases">vergen's releases</a>.</em></p>
<blockquote>
<h2>v7.4.3</h2>
<ul>
<li>Documentation update</li>
<li>Fix for <code>sysinfo</code> memory reporting for machine with large amounts of memory</li>
</ul>
<h2>v7.4.2</h2>
<ul>
<li>Added support for <code>SOURCE_DATE_EPOCH</code> timestamps from <a href="https://reproducible-builds.org/docs/source-date-epoch/">https://reproducible-builds.org/docs/source-date-epoch/</a></li>
</ul>
<h2>v7.4.1</h2>
<ul>
<li>Pined <code>enum-iterator</code> dependency to <code>1.1.3</code> to avoid issue caused by more recent versions using unstable features causing builds to fail.</li>
</ul>
<h2>v7.4.0</h2>
<ul>
<li>Pinned all dependencies.</li>
<li>Added the ability to ignore errors to continue processing other enabled environment variables.</li>
</ul>
<h2>v7.3.2</h2>
<ul>
<li>Pinned git dependency to &quot;0.14&quot;.   Version 0.15 was causing issues within docker builds (can't determine 'safe.directory').  Pinning to the last usable version for now until I can determine the underlying cause of that issue.</li>
</ul>
<h2>v7.3.1</h2>
<ul>
<li>Updated <code>enum-iterator</code> to latest</li>
<li>Updated <code>sysinfo</code> to latest</li>
<li>MSRV to 1.62.0</li>
</ul>
<h2>v7.2.1</h2>
<ul>
<li>Added support for git commit message output</li>
</ul>
<h2>v7.2.0</h2>
<ul>
<li>Added the ability to generate the git author and git email independently.</li>
</ul>
<h2>v7.1.0</h2>
<ul>
<li>Added support for git commit count</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="198027cf0e"><code>198027c</code></a> version bump for next release</li>
<li><a href="8f28441e3f"><code>8f28441</code></a> Updated let else as the feature is unstable with</li>
<li><a href="1fa8357c07"><code>1fa8357</code></a> lint</li>
<li><a href="8b0aa4fd84"><code>8b0aa4f</code></a> Fix memory reporting with sysinfo 0.16 (<a href="https://github-redirect.dependabot.com/rustyhorde/vergen/issues/142">#142</a>)</li>
<li><a href="a157623087"><code>a157623</code></a> Fix documentation for <code>SOURCE_DATE_EPOCH</code> variable (<a href="https://github-redirect.dependabot.com/rustyhorde/vergen/issues/139">#139</a>)</li>
<li><a href="fad821d4de"><code>fad821d</code></a> removed lint</li>
<li><a href="3e9e68f102"><code>3e9e68f</code></a> format lints</li>
<li><a href="dad72cd131"><code>dad72cd</code></a> removed unstable lints</li>
<li><a href="bc8030ef0c"><code>bc8030e</code></a> lints</li>
<li><a href="8f6c8a2f74"><code>8f6c8a2</code></a> version bump for next release</li>
<li>Additional commits viewable in <a href="https://github.com/rustyhorde/vergen/compare/7.0.0...7.4.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vergen&package-manager=cargo&previous-version=7.0.0&new-version=7.4.3)](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 ci: use cargo cross for binary builds 1 year ago
docs Change example rendezvous node to `/dns4/discover.unstoppableswap.net/tcp/8888/p2p/12D3Ko...` 2 years ago
monero-harness build(deps): upgrade bdk, ecdsa_fun, sigma_fun, sha2, bitcoin-harness, serde 2 years ago
monero-rpc Update dependencies and rust-toolchain to 1.59 2 years ago
monero-wallet Update dependencies and rust-toolchain to 1.59 2 years ago
swap Merge #1225 1 year ago
utils/gpg_keys docs: add gpg key readme and delta1.asc 2 years ago
.gitignore fix: change logs to UTC due to bug in time crate 2 years ago
CHANGELOG.md Prepare release 0.11.0 2 years ago
CONTRIBUTING.md Create CONTRIBUTING.md 3 years ago
Cargo.lock build(deps): bump vergen from 7.0.0 to 7.4.3 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 chore: bump rust toolchain to 1.62 2 years ago
bors.toml feat: add wallet database migration from older bdk 2 years ago
dprint.json Upgrade libp2p and stabilized the version 2 years ago
rust-toolchain.toml chore: bump rust toolchain to 1.62 2 years 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 are 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.62 should work.

Contact

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