Replying to Avatar Hynek

So then at least https://fixedfloat.com/ offers 0.5%

But there might be even better option, isn’t it?

nostr:npub1psm37hke2pmxzdzraqe3cjmqs28dv77da74pdx8mtn5a0vegtlas9q8970 is 0.1% plus miner fees.

Reply to this note

Please Login to reply.

Discussion

What is that network fee? Mining fee should be my decision, right?

Yeah, you'de expect that to be variable. Maybe it's locked to high priority so the atomic swap is not held open too long?

No idea, I've only just stared playing with it myself.

I’ve just tested it.. So you pay mining fee on top of these network and service fees. Network fee is mining fee required for doing the swap itself probably..

So in simple terms it is extremely expensive now.

Wow, OK. 👀

> So in simple terms it is extremely expensive now.

Absolutely. That's why we have many folks exploring Liquid these days.

To clarify how network fees are charged: First thing to highlight is that every swap on Boltz consists of **two** chain transactions in order to allow for the non-custodial atomic swap flow: one transaction *locking* the coins on-chain and the second one *claiming* coins as part of the preimage release/unlock mechnism.

Now there we have two different directions where fees are paid differently:

Chain -> LN: lock transaction paid by the users wallet, you can set this fee freely in your wallet but need to make sure the transaction confirms before the ~24h swap timeout. The Network fee you see in our swap box is the one we charge is for our (one) transaction to *claim* the coins. The estimate is based on the expected transaction size*current mempool.space high priority fee. We need to use high priority since we have to make sure to not run out of money ending up with all our funds locked up in the mempool.

LN -> chain: here the network fee is roughly double from above because locking and claiming needs to be charged for. Locking from our side again is done using current mempool.space high priority fee, the claim fee is controlled by the client (our web app or boltz-lnd boltz-python, we have a couple of clients by now). Right now web app fixes the claim fee to mempool high prio too, but we want to allow for custom claim network fees in future. Opened an issue to not track it: https://github.com/BoltzExchange/boltz-web-app/issues/377

💪 Cool.

Thank you for the explanation!

Based 0.1% fee-er