Bitcoin to Monero atomic swaps.

Trade BTC for XMR, or XMR for BTC, and let the two chains settle it between them. No bridge, no wrapped token, and nobody holding the coins while the trade goes through.

Desktop
Mobile
Websoon

the three-minute version

Watch a swap play out.

The film follows two traders through one swap, including what happens when one of them walks off partway.

the hard part

The pair that was supposed to be impossible.

Bitcoin has a scripting language and Monero does not. Nearly every atomic swap design leans on script, which left Monero outside cross-chain trading for years while wrapped tokens and custodial swappers filled the gap.

Adaptor signatures move the condition to the Bitcoin side. The signature that pays out the Bitcoin is locked to half of the Monero key, so claiming the Bitcoin reveals that half, and whoever holds the other one can open the Monero.

Monero needs no contract at all. Its key simply stays incomplete until the Bitcoin moves, and with script on one side only, the research calls the design semi-scriptless.

We shipped the first working version in 2020. Early implementations only ran from Bitcoin into Monero, and you may still read that this is a limit. BasicSwap has settled swaps in both directions since 2023, so selling XMR for BTC works the same as buying.

four moves, in order

How the two chains settle it.

Both traders sign the refunds before either of them locks a coin. If the swap stalls partway, the timelocks open those refunds, and neither trader can end up holding both sides.

  1. 01bitcoin

    You lock the Bitcoin in a 2-of-2.

    Moving it takes both your signatures. The refunds were signed before it went in.

  2. 02monero

    The seller locks their Monero under a key split between you.

    Neither half spends on its own.

  3. 03bitcoin

    Once the Monero is locked, you send a signature only their half can finish.

    They finish it to take the Bitcoin, and the signature on chain gives their half away.

  4. 04monero

    You read their half off the chain and add your own.

    That is the whole Monero spend key, and the coins are yours to move.

if a swap stalls

When someone stops partway.

Which way a stalled swap ends depends on who stopped and when.

As in the moves above, you start with the Bitcoin and the seller with the Monero. If you are the one selling Monero, read each case from the seller's side.

The seller disappears before claiming

  1. 01

    The first timelock runs out, 24 hours after your Bitcoin was locked by default.

  2. 02

    You take the Bitcoin back with the refund you both signed at the start.

  3. 03

    Taking it back reveals your key half, so the seller can still recover their Monero when they return.

You end up withBitcoin
The seller ends up withMonero

Both of you keep your own coins.

You never come back for your refund

  1. 01

    After the first timelock, the refund moves the Bitcoin under a second timelock.

  2. 02

    Once that one runs out too, the seller can claim the Bitcoin.

  3. 03

    By default, their client then puts their key half on chain, so you can still collect the Monero.

You end up withMonero
The seller ends up withBitcoin

You end up with the Monero, only late.

You go offline after the seller claims

  1. 01

    The seller has taken the Bitcoin, so their key half is already on chain.

  2. 02

    The Monero waits under the split key, and nobody else can move it without your half.

  3. 03

    When you come back, your client reads their half and collects the Monero.

You end up withMonero
The seller ends up withBitcoin

Nothing on your side expires.

The maker picks the timelock when posting the offer. The offer form starts at 24 hours and goes no higher, while BasicSwap itself accepts anything from 2 to 96 hours, so a maker who wants a longer window to recover from a stalled swap can set one through the API.

what the swap avoids

Five things that never enter the trade.

  1. 01

    No wrapped coins

    Both sides are the real coins on their own chains. Nothing is minted, pegged or held as an IOU against a reserve, so there is no issuer whose solvency you have to trust.

  2. 02

    No intermediary coin

    The trade never routes through a third token, the way THORChain and Serai do with their own. That would park your coins in validator-held pools and expose the swap to any failure there.

  3. 03

    No bridge

    No third chain sits between the two. Bridges are where the largest cross-chain thefts have happened, Ronin and Wormhole among them, and this trade never touches a contract to drain.

  4. 04

    No custodian

    Coins move straight between the two traders' own wallets. There is no account to open, no deposit to make, and no operator who could freeze or seize the trade partway through.

  5. 05

    No protocol fee

    The BasicSwap protocol takes nothing from either side, whether you posted the offer or took it. At the protocol level, the only cost is the ordinary network fee on each chain.

the alternatives

How this compares.

Several tools will move you from Bitcoin into Monero. They differ mostly in who is holding the coins while it happens, and in who can stop the trade once it starts.

Who holds the coins

NobodyA company

Who can stop the trade

NobodyA company, any time

What data you give up

NothingYour identity and history

BasicSwapAtomic swapseigenwalletAtomic swapsHaveno / RetoSwapPeer-to-peer, arbitratedInstant swappersCustodial serviceCentralized exchangesCustodial, e.g. Kraken
Account neededNoNoNoUsually not, but screening appliesYes, with identity checks
Data you give upNo account or ID. Tor is optional, not on by default.No account or ID, and Tor is on by defaultNo account or ID, and Tor is built inYour addresses and IP, and ID if a trade is flaggedYour identity documents and full trade history
Protocol feeNone. Makers set their own price.None. Makers set their own price.Maker and taker feesBuilt into the quoted rateTrading fees, plus withdrawal fees
DirectionsBTC to XMR and back, as maker or takerOne way per role. Takers only buy XMR, and makers only sell it.XMR against fiat and cryptoBoth, quoted per requestBoth, where Monero is still listed
Make and take offers in the appBoth, in the same client, either directionTaking only, to buy XMR. Making needs a separate daemon that only sells XMR.BothNeither. You take their quote.Both, on its order book
How offers reach youShared between peers and listed in a distributed order bookFetched from each maker you discoverPeer-to-peer offer bookOne quote from the operatorThe exchange's own order book
Counterparty historyYour own record of each counterparty, which can auto-accept or refuse their next bidYour own past swaps with that maker, shown onlyArbitrator resolves disputesNoneThe exchange matches you
Pairs beyond BTC and XMR12 coinsNoneMonero-centredHundredsHundreds
Run your own nodeOptional, or lightweight modeOptionalRecommended, not requiredNot possibleNot possible
How you get itDesktop, Web (coming soon) and MobileDesktop, for Linux, macOS and Windows. Mobile is planned.Desktop, for Linux, macOS and Windows, through a network such as RetoSwapA website. Nothing to install.An account, then a deposit

in practice

Doing one yourself.

Today you swap Bitcoin and Monero yourself with BasicSwap Desktop. Mobile and Web are still on the way, and Mobile will reach Monero through the wallets adding it.

Desktop

Available now
  1. step 1

    Install BasicSwap Desktop

    Desktop runs the protocol and each coin's core wallet on your own machine. If two full nodes are more than you want to manage, lightweight mode reads from public servers instead.

  2. step 2

    Fund the wallet you are selling from

    BasicSwap creates a deposit address in the wallet it manages for you. Send the Bitcoin or Monero you plan to trade to that address, and wait for it to confirm.

  3. step 3

    Find an offer, or post your own

    Offers arrive over encrypted peer-to-peer messaging. Filter the order book to BTC and XMR, then take an offer at a price that suits you, or post your own.

  4. step 4

    Stay online until it settles

    The client hands data to the other side at each step, so keep it running. If you pay in Bitcoin and stay away past both timelocks, the seller can claim it and you get their Monero late.

Mobile

Beta · Monero coming

BasicSwap Mobile comes built into wallet apps. The Litecoin Nexus Wallet will be the first, and Cake Wallet, which holds Monero, is adding it too.

  1. Open a wallet app with BasicSwap built in.
  2. Tap Swap and enter how much you want to trade.
  3. Accept the best offer. Your keys stay on your phone throughout.

Web

Coming soon

BasicSwap Web is in development. It runs the same protocol as Desktop and Mobile, with nothing to install and nothing to sync, and its offers share the same order book.

  1. Open a site that runs BasicSwap Web.
  2. Pick an amount and an offer from the shared order book.
  3. Keep the tab open while the two chains settle it.

btc to xmr, asked and answered

Questions about this pair.

01

What is a Bitcoin to Monero atomic swap?

A trade of Bitcoin for Monero between two people, settled by the two blockchains themselves. Both payments complete or both refund, so neither trader can end up with both sides, and nobody holds the coins in between. BasicSwap runs it with adaptor signatures, which work with Monero even though Monero has no scripting of its own.

02

How long does a Bitcoin to Monero swap take?

Usually tens of minutes. Both chains have to confirm, and a default install waits for one confirmation on Bitcoin and three on Monero, several times over as each side locks its coins and then claims them. A custodial service can look quicker. It moves the funds itself instead of waiting on two chains, and that is the step BasicSwap does without.

03

Can I swap Monero back to Bitcoin?

Yes. Both directions run on the same protocol and have done since 2023. You post an offer to sell XMR for BTC the same way you would post one the other way round.

04

Can I swap Bitcoin to Monero without KYC?

Yes. BasicSwap has no account, no sign-up and no identity check. You trade from your own wallet directly with another trader, and the only record is the two payments, each on its own chain.

05

What happens if the other trader disappears?

Nobody ends up with both sides, whoever stops. If the seller disappears before claiming, your Bitcoin comes back once the timelock runs out, and taking it back lets them recover their Monero later. If the Bitcoin holder never takes that refund, the seller can claim the Bitcoin after a second timelock, and by default their client then hands over the key half for the Monero. Both traders sign the refunds before either locks a coin.

06

Do I need to run a Bitcoin node and a Monero node?

No. Lightweight mode leans on public Electrum servers and Monero nodes for chain state, and mobile wallets that build in BasicSwap work the same way. Running each coin's official core wallet on Desktop is still the strongest setup, and then BasicSwap validates everything itself. Either way, the client has to stay online for the whole swap, as the two sides hand each other data at every step.

07

What are the fees for converting Bitcoin to Monero?

The protocol takes nothing, for either side of the trade. You pay the ordinary network fee on each chain, the same as any other transaction, and that is the whole cost.

08

Can you send Bitcoin to a Monero wallet?

No. They are separate chains with different address formats, and a Monero wallet has no way to receive or spend a Bitcoin transaction. Sending BTC to an XMR address will not deliver the funds, and depending on the address it may lose them. Converting is the only route, and that is what a swap does. Your Bitcoin goes to whoever wanted it, their Monero comes to you, and the two payments are bound together so neither can happen alone.

09

Do I need a Monero wallet before I swap?

BasicSwap creates one for you. Desktop runs Monero's own wallet software locally and generates the address the swap pays into, so there is nothing to set up beforehand and no address to paste. If you would rather receive into a wallet you already use, withdraw once the swap finishes.

10

Is a Bitcoin to Monero swap traceable?

Not as a swap. The Bitcoin payment is as public as any other Bitcoin transaction, and the Monero payment carries Monero's usual privacy. Adaptor signatures leave nothing on the Bitcoin chain that says a swap took place or which Monero transaction it pairs with, so the trade looks like ordinary spending rather than a conversion into a privacy coin.

11

How is this different from an instant swap service?

An instant swap service takes your Bitcoin, holds it, and sends you Monero from its own reserves, which is quicker and means the service can freeze the funds, ask for identification, or fail while holding them. An atomic swap has no such middle step. The coins move directly between two traders and the chains enforce that both payments happen or neither does.

12

Where can I get Monero now that exchanges are delisting it?

Several large exchanges have dropped Monero, in some regions or entirely. An atomic swap does not depend on any of them. You swap Bitcoin, or another supported coin, for Monero directly with another trader, and there is no listing for anyone to withdraw.

13

Can I swap Bitcoin to Monero on my phone?

Not yet. BasicSwap Mobile is coming first to the Litecoin Nexus Wallet, which does not hold Monero, and wallets that do, such as Cake Wallet, are adding it. For now, Bitcoin to Monero swaps run on BasicSwap Desktop.

Last updated

Monero trades against more than Bitcoin.

The same adaptor signature protocol carries XMR against Litecoin, Particl, and the rest of the supported coins. The compatibility table on the Desktop page shows which method each pair uses.