nostr:npub1hcwcj72tlyk7thtyc8nq763vwrq5p2avnyeyrrlwxrzuvdl7j3usj4h9rq offers swap from onchain to lightning for 0.5%..

Is there a service with better offer?

Reply to this note

Please Login to reply.

Discussion

Ouch.. it is increased to 1% actually.. 🙊

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

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

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

You could peg in from onchain to liquid which is free, except the single onchain tx fee, with TDex or elements core. Then swap l-btc to lightning on Boltz for 0.1% fee. So overall slightly more than 0.1%.

#m=image%2Fjpeg&dim=864x1920&blurhash=%5B35%3DLo%25JIUNH%7EU%250aeNH%25KobWBRlDhRj%25MofWDRl%25Mt5D*R%3AxuobN2IuIVxZx%7BD%2BRjxtWFM%7CRjt6&x=5f9a9779ccc571e7c165211fcb82c69f44dc6f5f02010ae7d0c2ad930ab28b8b

Or just open a lightning channel directly, maybe with Blixt wallet on the phone if you don't want a dedicated machine running a lightning node

What is the simplest way to do this peg from onchain to liquid (and vice versa if needed)?

Peg in: tdex app or elements core on desktop, both are ways to peg in for free but you have to wait 100 confirmations. If you want it fast its possible to peg in on sideswap for 0.1%.

Peg out: boltz (to lightning), sideswap, or tdex (not sure), bisq

Do you mean this?

https://tdex.network/

I don’t now how to run it 🥶

Yes, its a simple app, download from app store, set up, should behave like a normal wallet but there is a peg in option somewhere.

Is there an option to test it first on testnet?

Maybe somewhere in the settings, Elements Core definitely should have this option, its like Bitcoin Core but with Liquid, you have to install it on a desktop pc