pull down to refresh
1 sat \ 15 replies \ @Zepasta 30 Nov 2023 \ parent \ on: The Art of Swapping 🔁 bitcoin
deleted by author
yes, but it's the sender who is paying for the fee tho?
e.g. when you are swapping from Onchain to LN, you are the one sending the Onchain and pay for the mining fee, and Robosats only sending the LN, I don't understand why they are charging so much fee in this case? 👀 it almost feels like you are paying for double mining fee.
reply
deleted by author
reply
but even from LN back to Bitcoin, it's also more than the normal network fee, I'm really curious how the fee is being calculated, checked their docs but not much there 😂
reply
deleted by author
reply
The docs are fairly technical and assume you already know how atomic swaps work. We'll add an high-level overview. That is very good feedback! We are doing atomic swaps for far too long so we sometimes assume everyone knows...
Apart from that the concept always consists of two steps as Michael explained further down: first lock coins then claim them atomically. For the chain part of the swap that always means two transactions.
For chain -> LN swaps transaction cost is X (estimated based on current mempool high priority fee) because user wallet already pays for the lock transaction.
For LN -> chain swap transaction cost is ~X*2 because user needs to pay for both lock & claim transaction.
reply
and how the refund works - how can it be so automatic? 👀
yes, it's quite fascinating! and I'm really curious how they even set things up, because it works so well - especially when you go to claim refund, wow so fast 🚀😂
reply
deleted by author
reply
That is also a good guide about fees.
reply
I read this one before, but it doesn't explain how Boltz works 👀
reply
is more about fees