Many people have been asking how to swap sats between Onchain and LN, there are different ways to do it, and this article will walk through two of my favorite tools for swapping:

πŸ”§ Boltz.exchange

Features
  • NO-KYC
  • No sign-up
  • Non-Custodial
  • Low amount of requirement, min: about 50K sats
Downside
The fee could be pretty high sometimes - payment includes network and Boltz service fees: Boltz fee is usually 0.1% ( from Onchain to LN ) or 0.5% ( from LN to Onchain )
How to Swap from Onchain to LN
  1. Decide how many sats you would like to swap.
  2. Create and paste an LN invoice or LN address to receive the sats.
  3. Download refund file.
  4. Send the sats to the provided BTC address.
  5. You then receive the sats over LN once the Onchain transaction reaches one confirmation.
How to Swap from LN to Onchain
  1. Decide how many sats you would like to swap.
  2. Enter BTC address.
  3. Copy the LN invoice and pay, then check the Onchain transaction and wait till it reach one confirmation.
πŸ€” Review
-Swapping from Onchain to LN is generally smooth, but it happened to me a few times that I needed to refund for different reasons, but all have no problem reclaiming the funds.
Refund Process:
a. wait after the lock time and go to refund page
b. upload the refund file
c. input a Bitcoin address for refund, done.
Again, choose a low-fee time for a refund because the fee would be deducted from your refund sats!
-Swapping from LN to Onchain is quite fast, once the LN invoice is paid, the Onchain transaction is automatically triggered, and I haven't had any problems so far.
The art of using Boltz.exchange
  • Choose low-fee time to do the swaps.
  • Always download the refund file in case something happens.
  • Ideally, using custodial wallets in these swaps:
    • a. without exposing any of the node IDs
    • b. without worrying about any route, whether there is enough inbound liquidity or online or not.
Many people are too paranoid about using custodial or non-custodial wallets, but learning how to make the most of each is the way.

πŸ”§ Robosats

Features
  • NO-KYC
  • No sign-up
  • Tor Only
  • PGP encrypted chats
Downside
It might require users to have more technical skills, such as how to use Tor.
How to Swap from Onchain to LN
  1. Create a robot avatar, save the token ( this is your login )
  2. Click the swap icon on top πŸ”ƒ and Swap in.
  3. Offers generally 0 to 2%; choose the one that fits your need, and ideally, choose an active peer to avoid long waiting times.
  4. Input the sats amount that you want to swap, and pay the first LN invoice ( lock bond ): usually about 2-3% of the swap amount - you will see this bond percentage when choosing the offer, and it will be charged only if you cancel or lose a dispute.
  5. Provide an LN invoice with the actual amount of sats you want to be swapped to.
  6. Enter an encrypted chat and send the BTC to the address provided by the other party.
  7. Wait for the transaction to reach one confirmation and once the other party confirms received, then the actual LN invoice will be paid, and the sats charged for the lock bond will be unlocked back to your LN wallet.
How to Swap from LN to Onchain
  1. Create a robot avatar, save the token ( this is your login )
  2. Click the swap icon on top πŸ”ƒ and swap out.
  3. Offers generally 0 to -2%, choose the one that fits your need, and ideally, choose an active peer to avoid long waiting times.
  4. Input the sats amount that you want to swap, and pay the first LN invoice ( lock bond ): usually about 2-3% of the swap amount - you will see this bond percentage when choosing the offer, and it will be charged only if you cancel or lose a dispute.
  5. Pay the second LN invoice - the actual amount of sats you want to swap.
  6. Enter an encrypted chat and provide an address for the other party sending BTC to.
  7. Wait for the transaction to reach one confirmation then confirm received, and the sats charged for the lock bond will be unlocked back to your LN wallet.
πŸ€” Review
I haven't had much negative experience with it so far, but I have had experience swapping with inactive peers who took a long time to complete the swaps.
The art of using RoboSats
  • Choose low-fee time to do the swaps.
  • Do not reuse the same robot ID for better privacy.
  • Always mark down the token.
  • Choose an active peer to avoid a LONG waiting time.
  • Ideally, using custodial wallets in these swaps:
    • a. without exposing any of the node IDs
    • b. without worrying about route problem, whether there is enough inbound liquidity or online or not.
One more detail to share: If you happen to click another offer while having an active offer in Robosats, you can select your avatar in the left corner and then go back to the active order; otherwise, it will stuck at the "new order being created process " if you go to the order page, even if you refresh it, not sure is this a feature or a bug...

Which tool to choose?

Both of them are great tools, and my practice is as follows, ideally I would do the swaps during relatively low fee time, then It depends on whether I am in a rush or not:
  • If yes - go directly to Boltz
  • If no,
a. Check RoboSats first, choose the swap on top, and check offers, generally a good offer is when the premium is 0% or close to 0% and fair for both parties.
b. if there is no good offer, then go to Boltz.
Enjoy swapping and I look forward to learning from your practice. ⚑️
deleted by author
reply
copy-pastas and spam links of other sites
Thanks, and yes not only do they create more noise, wasting other people's time and not learning anything in return at the OP seems quite silly to me, but maybe people enjoy ass milking πŸ˜‚
reply
Hi, great post. There is also coinos.io which is fast and has low fees to swap in both direction. It's also open source and can be self hosted. Hope you can try it sometime and add it as a review. I use it primarily.
reply
thanks, it seems coinos.io have built in swaps, interesting! but do you know roughly what are the percentage for the fee?
reply
I read somewhere around 0.1% but you can ask in the Telegram group. There is also a TOR onion address to connect privately to coinos. http://6un2jrlcumn5vduhbq6i3i2wrwiydamwjwop472obg6cy2bfo6ua3oad.onion
reply
thanks, I would do some tests with it:)!
reply
reply
yes, you told me to try coinos.io a few times πŸ˜‚
reply
coinos.io look great. Why do you need to create an account and log in? Is this account only created locally or remotely?
reply
We heard great things about coinos. Difference to Boltz is, as you noticed, it's custodial.
reply
There’s also Deezy.io.
However they only have one way with a front-end. The back-end API is both ways (but for which they require name & email)
Great write-up πŸ‘
reply
Oh, this one lets you choose the fee, but it's way more expensive.
reply
There is also coinos.io, which charges 0.1% to swap LN to on-chain.
reply
cool, how about onchain to LN?
reply
I'm not sure. I've only used it to swap LN -> on-chain.
reply
thanks!
just had a look, so strange that you need to get a token by emailing support first πŸ˜‚
reply
@dannydeezy any desire to change this in the future and open your tools up? Perhaps users could pay a reasonable fee for a token.
reply
Yeah, big bottleneck! Not to mention sharing your β€˜details’. Almost like they really don’t want people using it yet, perhaps it’s in beta.
reply
Thank you Natalia! Very good guide.
reply
deleted by author
reply
deleted by author
reply
yes, like what is this network fee being charged?
reply
deleted by author
reply
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 πŸ˜‚
but it happened to me a few times that I needed to refund
Would love to hear if there is a case where we could have done better.
reply
I think most of the failed swaps were due to my side, which took me a few times to learn better practice. However, here are some suggestions for improvement πŸ‘€
  • make the download file more standout or remind people to download them?
  • docs/guides are clearly missing
  • maybe could even show the current mining fee in the site's right corner
  • Add other support/feedback channels other than Discord
reply
make the download file more standout or remind people to download them?
Already done, completely reworked. It'll be "download that thing unless you know what you are doing" step and clean up the messy download buttons in all sorts of places we have right now.
docs/guides are clearly missing
Will improve docs with a high-level visual "How Boltz atomic swaps work" guide. But the Boltz swap flow itself should be self-explanatory. Still some way to go UX-wise, we know. Guides like BTCSessions make sense to explore use cases. Makes sense?
maybe could even show the current mining fee in the site's right corner
Let us play around with that.
Add other support/feedback channels other than Discord
Like Email? Please don't say Telegram.
Great feedback!
reply
Already done, completely reworked. It'll be "download that thing unless you know what you are doing" step and clean up the messy download buttons in all sorts of places we have right now.
waiting to see it:)
the Boltz swap flow itself should be self-explanatory
indeed, but I guess it would be nicer to let users know how to get a refund if something happened during the swap; not everyone is so bold/reckless to try things that they aren't familiar with πŸ˜‚ could be like - hey, this is how you claim your fund if anything happened, relax and enjoy!
Like Email? Please don't say Telegram.
Email is one of the options - Discord feels like a crypto bros tool, I'm also not a fan of Telegram.
Also how about combining blog and doc to guide/doc, much simpler πŸ‘€
reply
Another downside of robosats is that it's custodial
reply
What do they have custody of? Is that the case if you run it locally, like on umbrel?
reply
they have custody of three things:
  1. The bitcoin seller's collateral
  2. The bitcoin buyer's collateral
  3. The bitcoin the seller is sending to the buyer
This is true even when you run it locally on umbrel. Robosats still has all of your money.
reply
RoboSats is trying to pay your lightning invoice. Remember that lightning nodes must be online in order to receive payments.
indeed.
reply
Have a look at https://t.me/BitcoinVoucherBot It offers a swap LN->OC with zero fee (miner fee only)
reply
miner
We don't know the service, just exercise caution since it's custodial and no obvious business model e.g. small amounts only.
reply
yes, it is custodial. It is a NoKyc Exchange based in switzerland. I think they offer LN->OC for free because they need funds on LN. Anyway it is a good choice for small amounts (max is 1M i see)
reply
I might found the dev @massmux here, but he's not so active πŸ‘€
reply
agree, I also checked it in SN: https://stacker.news/search?q=BitcoinVoucherBot
it seems only a few people mentioned it before, how's your experience with it @DarthCoin
reply
Works nice. No issues with. Is more used in LATAM
reply
Being a real Bitcoiner also means πŸ˜‚
  1. a bold tester
  2. pointing out shitcoining
  3. sharing and teaching others
Much proof of work indeed!
reply
well said add: reckless too :)
reply
reckless Bitcoiners, fun!
reply
thanks, will check!
reply
I've been using Boltz recently to swap from Lightning to Liquid when on chain fees are too high. This allows me to keep my sats in cold storage waiting for lower fees to send them to my main wallet. I know using a side chain is a trade off but so far its been useful to me.
reply
@BTCsessions made a guide about that. It's actually smart. I plan to do it in the future aswell.
reply
reply
Any thoughts on https://fixedfloat.com ? I see that site mentioned often
reply
I haven't tried this tool yet, let me do some tests.
reply
fixedfloat/sideshift will ask you ridiculous amount of fee.
Cheapest one would be using exchanges with lightning withdrawal, but KYC.
reply
Plus both are custodial. If a non-custodial option offers the same or even better rate it's a nobrainer.
reply
reply
Excellent I have to try
reply
Awesome guide. Just a few questions.
Does Boltz open up a new channel to your LN node? Or do you have to have inbound capacity to receive the Sats?
reply
If you need to use Boltz all the time, you can open a channel with it, saving fee too this way.
Or just make sure have enough inbound capacity, as Boltz node is quite well connected.
Or simply use custodial wallets for the swaps, less hassle and more private.
reply
you have to have inbound capacity to receive the Sats
This.
reply
thanks for good content NatΓ‘lia πŸ‘
but
πŸ˜† πŸ˜‚
reply
do you mean I need to break it down even more in baby steps? πŸ‘€
reply
no ! just joking πŸ˜† πŸ˜‚
reply
This's a great and good article
reply
Phoenix wallet does this for you automatically.
It's a lightning wallet, but you can basically receive on-chain (it gets changed to lighting) and you can send to an on-chain address from your lightning funds.
reply
Both solutions are good but custodial. Why didn't you mention submarine swaps? The only trustless way to do it.
reply
Boltz is non-custodial and utilizes submarine swaps. See some technical info about it here: https://docs.boltz.exchange/v/api/lifecycle
reply
thanks for the headsup. I didn't know you could do that without a node.
reply
is boltz also custodial?
Why didn't you mention submarine swaps? The only trustless way to do it
curious about your practice.
reply
I typically use Loop from within LIT.
reply
No, Boltz is not custodial. We are doing submarine swaps
reply
deleted by author
reply
I have used MUUN wallet to swap. You can send to on chain address from MUUN.
reply
I stopped using muun a long time ago, the fee can be quiet expensive there.
reply
Swapping sats between Onchain and LN offers various options like Boltz.exchange and RoboSats, each with unique processes and considerations for users. Both facilitate seamless swaps with nuances in fees and technicalities.
reply
whats your opinion about sideshift.ai
reply
strange URL, not sure do I want to click into it 😳
what's that have to do with AI?
reply
nothing ai i think, its around from before the time of chatgpt.
reply
I'm looking it up in SN atm πŸ‘€
reply
ha better
reply
and then what's your opinion about sideshift.ai ??? did you tested it.?
reply
dont click it instead do a research online.
reply
Really great guide!
How can I check when the fee gets low for a swap?
reply
reply
Thanks! I'm still learning how things works...
reply
keep learning:)
reply
Of course! It's called a rabbit hole for a reason. πŸ₯Έ
reply
stackers have outlawed this. turn on wild west mode in your /settings to see outlawed content.