pull down to refresh

Wondering why its not more widely used if its a simple contract.
Wouldn't projects that want to attach themselves to bitcoins glory all be integrating it instead of going through an exchange?
0 sats \ 9 replies \ @okpj 7 Jan
Monero has atomic swaps with Bitcoin, but only in the BTC->XMR direction.
reply
I’m not sure what you mean that they only work in one direction. If Alice has some Monero, Bob has some Bitcoin, and they do an atomic swap, wouldn’t Alice have some Bitcoin and Bob have some Monero after that? So, whenever there is a swap, it’s in one direction for one participant, and the other direction for the other?
reply
42 sats \ 1 reply \ @okpj 7 Jan
I made an error in my initial breakdown so deleted.
Basically, in its current state, you can’t “buy” bitcoin with XMR. You must “sell” XMR for bitcoin, and the actual on-chain swap has to be initiated by the Bitcoin/buy side. The difference may seem trivial (Bob and Alice each exchange their funds in the end) but it’s an important distinction.
reply
Ah thanks for clarifying. Now it makes sense to me how it could be only "one-way"
reply
exactly. if it's only in one direction at the end user level... whose monero are they getting? Is it a nominal atomic swap that actually uses a centralized wallet?
reply
deleted by author
deleted by author
They don't want to have it both ways?
reply
I made an error in my initial attempt to break it down, so deleted.
The goal is definitely to have it work both ways (at least it was in 2021, tbh I don’t follow Monero development closely) but it will take a hard fork of Monero for it to work.
Here is a link to a post by Comit breaking it down, but basically in its current form you cannot “buy” Bitcoin with XMR. You must “offer” then “sell” your XMR for Bitcoin. The actual on-chain swap must be initiated by the Bitcoin/buy side.
0 sats \ 0 replies \ @okpj 7 Jan
deleted by author
reply