<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Boltz’s Blog]]></title><description><![CDATA[Technical updates, stories and announcements by Boltz]]></description><link>https://blog.boltz.exchange</link><image><url>https://substackcdn.com/image/fetch/$s_!fD8R!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84ef0ff3-5644-46d2-9fe5-b1ec16e4ad12_390x390.png</url><title>Boltz’s Blog</title><link>https://blog.boltz.exchange</link></image><generator>Substack</generator><lastBuildDate>Tue, 07 Apr 2026 05:59:49 GMT</lastBuildDate><atom:link href="https://blog.boltz.exchange/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Boltz]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[boltzexchange@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[boltzexchange@substack.com]]></itunes:email><itunes:name><![CDATA[Boltz]]></itunes:name></itunes:owner><itunes:author><![CDATA[Boltz]]></itunes:author><googleplay:owner><![CDATA[boltzexchange@substack.com]]></googleplay:owner><googleplay:email><![CDATA[boltzexchange@substack.com]]></googleplay:email><googleplay:author><![CDATA[Boltz]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Introducing USDT Swaps: From Sats to Stablecoins in Seconds ⚡💵]]></title><description><![CDATA[Today we are stoked to announce USDT Swaps - connecting Bitcoin to the world's most used stablecoin. Swap between Lightning and USDT on all major networks, without custody, accounts, or KYC! &#128640;]]></description><link>https://blog.boltz.exchange/p/introducing-usdt-swaps-from-sats</link><guid isPermaLink="false">https://blog.boltz.exchange/p/introducing-usdt-swaps-from-sats</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Wed, 18 Mar 2026 16:13:08 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!SoCZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>For <a href="https://blog.boltz.exchange/p/announcing-the-first-boltz-release-6cb630701432">nearly 7 years</a>, Boltz has been enabling seamless swaps across Bitcoin layers: on-chain <a href="https://bitcoin.org/">Bitcoin</a>, <a href="https://lightning.network/">Lightning</a>, <a href="https://liquid.net/">Liquid</a>, <a href="https://rootstock.io/">Rootstock</a> and, as of recently, <a href="https://arkadeos.com/">Arkade</a>. Every swap is strictly non-custodial: No trust required, it just works.</p><p>But Bitcoin doesn&#8217;t exist in a vacuum. People need to move between Bitcoin and dollar-denominated stable value to pay clients, employees or hedge volatility. Until now, that meant switching to an entirely separate ecosystem - centralized exchanges, new custody assumptions, new counterparty risk. Not anymore.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SoCZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SoCZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png 424w, https://substackcdn.com/image/fetch/$s_!SoCZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png 848w, https://substackcdn.com/image/fetch/$s_!SoCZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png 1272w, https://substackcdn.com/image/fetch/$s_!SoCZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SoCZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png" width="1376" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1376,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1582610,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://blog.boltz.exchange/i/191245915?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!SoCZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png 424w, https://substackcdn.com/image/fetch/$s_!SoCZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png 848w, https://substackcdn.com/image/fetch/$s_!SoCZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png 1272w, https://substackcdn.com/image/fetch/$s_!SoCZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ddaa9b7-6605-475b-898b-cfca4456b785_1376x768.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>With USDT Swaps, Boltz bridges Bitcoin and traditional finance via USDT directly. Send sats on Lightning, receive USDT. Send USDT, receive sats over Lightning. Move between U.S. Dollar and Bitcoin value on your terms: unruggable, in seconds.</p><p> Here are some of the use cases this unlocks:</p><ul><li><p><strong>Top up your favorite <a href="https://www.freedomia.io/">crypto debit card</a> with Lightning. </strong>Most support USDT natively, yet Lightning is nowhere to be found. With Boltz you can now swap Lightning into USDT and load your card in seconds.</p></li><li><p><strong>Send Lightning straight into your bank account.</strong> Move from Lightning directly into USD in your <a href="https://blog.fvbank.us/fv-bank-introduces-usdt-deposits-seamless-stablecoin-to-usd-conversion/">FV Bank</a>, <a href="https://help.revolut.com/help/wealth/cryptocurrencies/transferring-cryptocurrencies/depositing-cryptocurrencies/what-network-should-i-use-for-my-crypto-deposit/">Revolut</a>, or <a href="https://www.xapobank.com/en/faq/usdt/how-to-deposit-usdt">Xapo</a> account. The entire flow from sats to spendable fiat stays non-custodial until your Bank credits the USD.</p></li><li><p><strong>Hedge volatility on your terms.</strong> Markets dipping? Swap Lightning into USDT and hold USD-stable value without surrendering control to anyone. When you&#8217;re ready to stack sats again, swap back just as easily.</p></li><li><p><strong>Accept Lightning, settle in USDT.</strong> A coffee shop running a Lightning POS can sweep daily revenue into USDT or even directly split the settlement between USDT and Bitcoin with the upcoming integration of USDT swaps in our popular <a href="https://boltz.exchange/products/btcpay">Boltz BTCPay Plugin</a>.</p></li></ul><p>There are probably many more use cases that we can&#8217;t think of just yet.</p><div class="pullquote"><p><em>&#8220;This isn&#8217;t just a new Boltz swap pair. It&#8217;s a fundamentally new capability for Bitcoin.&#8221;</em></p><p><em>&#8212; Kilian Rausch, CEO of Boltz</em></p></div><h1><strong>What&#8217;s the deal with USDT0? &#127760;</strong></h1><p>USDT exists on dozens of chains: Ethereum, Polygon, Arbitrum, Optimism and many more. If Boltz had to support each network individually, we&#8217;d need to integrate every one of them and maintain liquidity across all of them too. That&#8217;s neither practical nor scalable. <a href="https://usdt0.to/">USDT0</a> changes that.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SqKp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SqKp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png 424w, https://substackcdn.com/image/fetch/$s_!SqKp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png 848w, https://substackcdn.com/image/fetch/$s_!SqKp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png 1272w, https://substackcdn.com/image/fetch/$s_!SqKp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SqKp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png" width="1175" height="633" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:633,&quot;width&quot;:1175,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:155103,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.boltz.exchange/i/191245915?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!SqKp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png 424w, https://substackcdn.com/image/fetch/$s_!SqKp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png 848w, https://substackcdn.com/image/fetch/$s_!SqKp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png 1272w, https://substackcdn.com/image/fetch/$s_!SqKp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F013d6972-d92f-4562-819e-a5f86279ae99_1175x633.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://usdt0.to/">USDT0</a> is the omnichain version of Tether, built on <a href="https://docs.layerzero.network/v2/developers/evm/oft/quickstart">LayerZero&#8217;s Omnichain Fungible Token (OFT) standard</a>. It allows USDT to move natively across connected networks using LayerZero&#8217;s messaging protocol: one token, one liquidity layer, all chains.</p><p>For Boltz, this is a game-changer. By concentrating liquidity on Arbitrum and leveraging the OFT protocol, we can efficiently serve users across every USDT0-connected network while maintaining our liquidity and integration efforts focused - in one place. You can find the full list of supported networks, along with contract addresses, <a href="https://docs.usdt0.to/technical-documentation/deployments">here</a> and <a href="https://docs.usdt0.to/overview/the-legacy-mesh">here</a>.</p><p>Frankly, without USDT0, and without the incredible team behind it, today&#8217;s launch would not have been possible. &#128591;</p><div><hr></div><h1><strong>The Architecture: Routed Swaps &#128256;</strong></h1><p>USDT Swaps introduce a new concept in Boltz: <strong>routed swaps</strong>. Unlike direct swaps (e.g. Bitcoin &#8596; Lightning), a USDT swap is composed of at least two hops: a Boltz Swap leg and a DEX Swap leg stitched together seamlessly behind the scenes by a swap client like <a href="https://boltz.exchange/">boltz.exchange</a>.</p><p>The reason for this architecture is explained easily: we tried before and <a href="https://blog.boltz.exchange/p/the-problem-with-free-options-69f9f59a2d48">failed miserably</a>. &#129301; The Free Options Problem is not <a href="https://diyhpl.us/~bryan/irc/bitcoin/bitcoin-dev/linuxfoundation-pipermail/lightning-dev/2018-December/001752.txt">theoretical</a> but very much a real-world problem whenever <a href="https://en.bitcoin.it/wiki/Hash_Time_Locked_Contracts">HTLC</a>s are involved. You can get a primer on the Free Option Problem in <a href="https://bitcoinmagazine.com/technical/usdt-on-lightning-the-good-the-bad-and-the-unknown">this article</a> from our friend Roy.</p><p>The second key insight is <a href="https://tbtc.network/">tBTC</a>. With this launch, Boltz natively supports atomic swaps between Lightning and tBTC on Arbitrum. tBTC is <a href="https://www.threshold.network/">Threshold</a>&#8217;s ERC20 wrapper for Bitcoin. Similar to <a href="https://wbtc.network/">WBTC</a>, but open to mint, unmint and use for anyone. By adding a DEX Swap hop between tBTC and USDT0 on Arbitrum, a form of atomic swap that is designed to handle assets of different denominations, Boltz can offer Lightning &#8596; USDT swaps.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CX7O!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CX7O!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png 424w, https://substackcdn.com/image/fetch/$s_!CX7O!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png 848w, https://substackcdn.com/image/fetch/$s_!CX7O!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png 1272w, https://substackcdn.com/image/fetch/$s_!CX7O!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CX7O!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png" width="1024" height="571" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:571,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:291465,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.boltz.exchange/i/191245915?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CX7O!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png 424w, https://substackcdn.com/image/fetch/$s_!CX7O!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png 848w, https://substackcdn.com/image/fetch/$s_!CX7O!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png 1272w, https://substackcdn.com/image/fetch/$s_!CX7O!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F136cde0b-20bc-4a4f-b930-007434a2895e_1024x571.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>From user perspective, both hops execute as a unified flow. The user selects &#8220;Lightning&#8221; and &#8220;USDT&#8221;, enters an amount, and the routing engine handles everything else. If no direct pair exists, the system automatically discovers the multi-hop route through tBTC, constructs the DEX path, and presents a single end-to-end quote.</p><p>It goes without saying: this architecture is extensible. Adding other stablecoins like USDC is as simple as a new configuration entry that points at an intermediate asset with a router.</p><div><hr></div><h1><strong>Tech Deep Dive: Arbitrum, The Router Contract and the Quote Engine &#128295;</strong></h1><p>At the heart of every Lightning -&gt; USDT swap is the <a href="https://arbiscan.io/address/0xaB6B467FC443Ca37a8E5aA11B04ea29434688d61#code">router contract on Arbitrum</a>. Since USDT swaps are routed <em>through</em> tBTC as an intermediate asset, the same Router contract that serves tBTC swaps handles USDT.</p><p>The Router&#8217;s job is atomicity: it combines the Boltz swap claim and the DEX trade into a single, all-or-nothing transaction. Here&#8217;s the <code>claimERC20Execute</code> function, the core of what powers USDT claims, simplified from <a href="https://github.com/BoltzExchange/boltz-core">boltz-core</a>:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;plaintext&quot;,&quot;nodeId&quot;:&quot;801e49da-aade-402a-99ab-0f8501e71035&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-plaintext">// Router.sol (simplified)
function claimERC20Execute(...) external nonReentrant {
    // 1. Claim tBTC from ERC20Swap using the swap preimage
    claimERC20Swap(claim);

    // 2. Swap tBTC -&gt; USDT0 via DEX (e.g. Uniswap on Arbitrum)
    executeCalls(calls);

    // 3. Send USDT0 to the user, revert if below minAmountOut
    sweep(destination, token, minAmountOut);
}</code></pre></div><p>Three steps, one transaction:</p><ol><li><p><strong>Claim</strong>: The Router claims tBTC from the ERC20Swap contract using the swap preimage and an <a href="https://eips.ethereum.org/EIPS/eip-712">EIP-712</a> signature that authorizes the claim-and-execute combination.</p></li><li><p><strong>Execute</strong>: It runs the DEX calls that swap tBTC for USDT0 on <a href="https://app.uniswap.org/">Uniswap</a>. The calldata is constructed server-side. The user doesn&#8217;t need to interact with the DEX directly.</p></li><li><p><strong>Sweep</strong>: The resulting USDT0 is sent to the user&#8217;s wallet. If the output amount falls below <code>minAmountOut</code>, the entire transaction reverts - protecting the user from unfavorable slippage.</p></li></ol><p><strong>Reaching other chains via OFT</strong>: If the user's destination is not Arbitrum, there is one additional step. After the swap completes, the USDT0 is bridged from Arbitrum to the target chain via LayerZero's OFT protocol. Because USDT on Arbitrum is natively USDT0, an OFT, bridging is a direct cross-chain transfer. This is what allows Boltz to concentrate all swap liquidity on Arbitrum while serving Ethereum, Unichain, Optimism, Polygon, Rootstock, and more from a single pool.</p><p>Tl;dr: One signature from the user. One transaction on-chain. The DEX swap and the Boltz lockup/claim happen atomically - either everything succeeds or nothing does.</p><p>The DEX leg is powered by Boltz&#8217;s <a href="https://api.boltz.exchange/swagger#/Quotes">quote API</a>, which fetches real-time pricing for the tBTC &#8596; USDT0 pair on Arbitrum. Quotes are requested with the exact token addresses and amounts, ensuring users see accurate end-to-end pricing before confirming a swap. If the DEX quote moves beyond the configured tolerance between swap creation and claim execution, the system pauses and asks the user to approve the new rate before proceeding. Slippage protection is built in.</p><p>One question left: Why <strong><a href="https://arbitrum.io/">Arbitrum</a>?</strong> In short: Low gas fees, fast transfer-out times for USDT0&#8217;s protocol, and decent liquidity for both tBTC and USDT. This made it the ideal execution layer for Boltz USDT Swaps. We compared it to many other options and, for now, it&#8217;s <strong>the best tool for the job</strong>.</p><p>And what's the best validation of a sound architecture? Others adopting it.</p><p>Our <a href="https://github.com/BoltzExchange/boltz-core/blob/7c2de93c8a43c3c906e14f34e311af587bab2ba7/contracts/Router.sol#L460">Router Contract</a> was already <a href="https://github.com/lendasat/lendaswap-contracts/blob/main/src/HTLCCoordinator.sol#L112">adopted</a>, other <a href="https://github.com/BoltzExchange/boltz-core/blob/7c2de93c8a43c3c906e14f34e311af587bab2ba7/contracts/ERC20Swap.sol#L498">parts of our other contracts</a> were <a href="https://github.com/lendasat/lendaswap-contracts/blob/main/src/HTLCErc20.sol#L371">adopted</a>, and the tBTC-on-Arbitrum combination we pioneered <a href="https://x.com/lendasat/status/2017256983733145703">is being picked up too</a>.<br><br><strong>Open Source FTW! </strong>&#128170;</p><div><hr></div><h1><strong>Gas Abstraction: No ETH Required &#128302;</strong></h1><p>One of the biggest UX wins and especially relevant for our Bitcoiner userbase: users don&#8217;t need to hold or deal with ETH on Arbitrum. The gas abstraction system uses a dedicated signer that handles gas on behalf of the user. For USDT0 receives, the claim address is set to the gas abstraction signer, which submits the claim transaction and forwards the USDT0 to the user&#8217;s wallet.</p><p>When it makes sense, a small portion of the received tBTC is automatically swapped for native gas tokens via the DEX during the claim, so the user ends up with enough gas to move their USDT onward.</p><div><hr></div><h1><strong>Prefer Simplicity? Go &#8383;itcoin-Only.</strong></h1><p>If the growing list of assets and layers feels overwhelming, flip on "Bitcoin-Only Mode" in the settings menu. It strips the interface down to Bitcoin and Lightning - a clean swap experience for Bitcoiners.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IIOj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IIOj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif 424w, https://substackcdn.com/image/fetch/$s_!IIOj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif 848w, https://substackcdn.com/image/fetch/$s_!IIOj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif 1272w, https://substackcdn.com/image/fetch/$s_!IIOj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IIOj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif" width="503" height="448" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:448,&quot;width&quot;:503,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:112395,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/gif&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.boltz.exchange/i/191245915?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IIOj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif 424w, https://substackcdn.com/image/fetch/$s_!IIOj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif 848w, https://substackcdn.com/image/fetch/$s_!IIOj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif 1272w, https://substackcdn.com/image/fetch/$s_!IIOj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f3b46f2-f411-403b-ae85-e671f618de3a_503x448.gif 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><h1><strong>What&#8217;s Next &#9197;&#65039;</strong></h1><ul><li><p>Crunch <a href="https://github.com/BoltzExchange/boltz-web-app/issues?q=is%3Aissue%20state%3Aopen%20usdt0">numerous bugs and issues</a></p></li><li><p>Enable all our other layers like Bitcoin on-chain &#8596; USDT</p></li><li><p>Integrate <a href="https://docs.usdt0.to/overview/the-legacy-mesh">Legacy Mesh</a>: enabling swaps &#8596; USDT on Tron, Solana and more</p></li><li><p>Integration of USDT swaps for merchants using our <a href="https://boltz.exchange/products/btcpay">BTCPay Plugin</a></p></li><li><p>Various SDK integrations</p></li><li><p>USDC via <a href="https://www.circle.com/cross-chain-transfer-protocol">CCTP</a> using the same routed swap mechanism</p></li><li><p>More chains as USDT0 extends its supported networks</p></li></ul><div><hr></div><h1>Try it out!</h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ck5S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ck5S!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif 424w, https://substackcdn.com/image/fetch/$s_!ck5S!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif 848w, https://substackcdn.com/image/fetch/$s_!ck5S!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif 1272w, https://substackcdn.com/image/fetch/$s_!ck5S!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ck5S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif" width="742" height="606" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:606,&quot;width&quot;:742,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:270783,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/gif&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.boltz.exchange/i/191245915?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ck5S!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif 424w, https://substackcdn.com/image/fetch/$s_!ck5S!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif 848w, https://substackcdn.com/image/fetch/$s_!ck5S!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif 1272w, https://substackcdn.com/image/fetch/$s_!ck5S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcff43fc2-451c-450a-96e5-6420563c46c7_742x606.gif 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>USDT Swaps are live at &#128073; <strong><a href="https://beta.boltz.exchange/?sendAsset=LN&amp;receiveAsset=USDT0">beta.boltz.exchange</a> </strong>&#128072; <br></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.boltz.exchange/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">That&#8217;s a wrap! Subscribe to not miss any future product launches!</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://blog.boltz.exchange/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://blog.boltz.exchange/subscribe?"><span>Subscribe now</span></a></p><p></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[Boltz Pro Launches Out of Beta: Stack Sats Non-Custodially by Swapping Bitcoin 🚀]]></title><description><![CDATA[We're amped to announce that Boltz Pro is officially out of beta! After months of hands-on feedback and countless iterations, Boltz Pro is now ready for anyone looking to earn sats. &#127881;]]></description><link>https://blog.boltz.exchange/p/boltz-pro-launches-out-of-beta-stack</link><guid isPermaLink="false">https://blog.boltz.exchange/p/boltz-pro-launches-out-of-beta-stack</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Wed, 04 Jun 2025 15:49:37 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/4a9015f4-1ab1-4b5a-b57f-8c860e8b1e25_884x568.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2><strong>What is Boltz Pro? &#127941;</strong></h2><p>Boltz Pro is our bold approach to combining liquidity management with a non-custodial way for users to earn sats by making swaps. Here&#8217;s the game-changer: users can earn sats by swapping in the directions we need most. In other words, <strong>when you swap in a direction that helps us rebalance our liquidity,</strong> <strong>we pay </strong><em><strong>you</strong></em><strong>.</strong> &#129327;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BCOp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BCOp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png 424w, https://substackcdn.com/image/fetch/$s_!BCOp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png 848w, https://substackcdn.com/image/fetch/$s_!BCOp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png 1272w, https://substackcdn.com/image/fetch/$s_!BCOp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BCOp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png" width="1290" height="1356" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1356,&quot;width&quot;:1290,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:188094,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://blog.boltz.exchange/i/165104401?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BCOp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png 424w, https://substackcdn.com/image/fetch/$s_!BCOp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png 848w, https://substackcdn.com/image/fetch/$s_!BCOp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png 1272w, https://substackcdn.com/image/fetch/$s_!BCOp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e916dcd-affb-4e00-a701-b56f8421d1c9_1290x1356.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><a href="https://pro.boltz.exchange/">Boltz Pro</a> features a new design to better distinguish it from our <a href="https://boltz.exchange/">regular offering</a> &#128526;</figcaption></figure></div><h2><strong>Why Are We Paying You? &#128184;</strong></h2><p>Running a non-custodial Bitcoin bridge means constantly juggling liquidity! &#129337;&#8205;&#9794;&#65039; </p><p>Sometimes, everyone wants to swap from Lightning to Bitcoin, draining our mainchain wallet. Other times, we run low on Liquid Bitcoin. On layers like Liquid, capital can be locked up for hours in &#8220;peg-ins&#8221;, which are required to refill our wallet.</p><p>That&#8217;s a real opportunity cost&#8212;and a headache we thought we could solve together: <strong>If you help us rebalance, you </strong><em><strong>earn</strong></em><strong> sats for it</strong>.</p><h2><strong>Who is Boltz Pro For? &#9889;</strong></h2><p>Boltz Pro is open to <strong>everyone</strong>, but it comes with limits and shines for professionals with specific use cases. </p><p><strong>First, let&#8217;s make it clear who Boltz Pro is </strong><em><strong>not</strong></em><strong> for:</strong></p><ul><li><p>Boltz Pro is not designed for time-critical use cases such as paying with Lightning in a coffee shop. Boltz Pro Lightning payments are optimized for cost, not for speed.</p></li><li><p>Boltz Pro is also not built for payment reliability to expensive destinations. For instance, some nodes are very costly to route to and can exceed Boltz Pro&#8217;s routing fee limits.</p></li></ul><p>Instead, Boltz Pro is perfect for:</p><ul><li><p><strong>Lightning Node Operators</strong> looking to decrease excess inbound liquidity and earn sats.</p></li><li><p><strong>Professionals </strong>collaborating with external node operators to manage liquidity and earn sats.</p></li><li><p><strong>Users</strong> who want to top up their Lightning wallets (like <a href="https://phoenix.acinq.co/">Phoenix</a>), which is not time critical and still within Boltz Pro&#8217;s routing limits.</p></li></ul><h2><strong>How Does Boltz Pro Work? &#9881;&#65039;</strong></h2><p>Here&#8217;s the play-by-play:</p><ol><li><p><strong>Watch for Opportunities:</strong> When we need liquidity, Boltz Pro offers negative fees in the beneficial direction. You can spot these on <a href="https://pro.boltz.exchange/">pro.boltz.exchange</a> or get alerts via our <a href="https://t.me/boltz_pro_bot">Boltz Pro Telegram bot</a>.</p></li><li><p><strong>Swap. Earn. Repeat:</strong> Execute a swap in the highlighted direction and instantly earn sats as shown (negative fee), minus network fees.</p></li><li><p><strong>Dynamic Rates:</strong> Once things balance out, rates return to normal. Earning windows are dynamic and updated in real time.</p></li></ol><h1>How to Automate Boltz Pro? &#129302;</h1><p>Over the <strong>past few months</strong>, we've stepped up efforts to allow professionals to programmatically interact with Boltz Pro&#8212;checking for fee discounts, identifying earning opportunities, and triggering swaps. This primarily involved making <a href="https://github.com/BoltzExchange/boltz-client">Boltz Client compatible with Boltz Pro.</a></p><p>Boltz Client can now be used via its powerful gRPC interface or CLI to automatically create and monitor swaps on Boltz Pro based on current Pro fee rates. It offers various operational modes, such as connecting to your own Lightning node or paying an external invoice, and funding from Bitcoin or Liquid wallets, and more.</p><p>Guide available &#128073; <a href="https://docs.boltz.exchange/boltz-client/boltz-pro">here</a> &#128072;!</p><h2><strong>Start Earning Sats NOW! &#129776;</strong></h2><p>Ready to get paid to swap? Head over to <a href="https://pro.boltz.exchange/">pro.boltz.exchange</a> and check out the latest earning opportunities. First movers get the sats. It&#8217;s dynamic, transparent, and, like all Boltz products, fully non-custodial.</p><p>Thanks for swapping and stacking with us! &#129505;</p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.boltz.exchange/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">That&#8217;s it for today! Stay tuned by subscribing to our blog via the button below:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Hello, Rootstock Swaps! 👋]]></title><description><![CDATA[Today, we are thrilled to publicly launch our Rootstock <> Lightning bridge. It lets anyone explore Rootstock with ease and enables exciting use cases on Lightning &#9889;]]></description><link>https://blog.boltz.exchange/p/hello-rootstock-swaps</link><guid isPermaLink="false">https://blog.boltz.exchange/p/hello-rootstock-swaps</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Mon, 11 Nov 2024 13:52:55 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!8sAQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Boltz has a bold vision: to become the go-to bridge that connects Bitcoin&#8217;s layers. But with the recent surge of &#8220;<a href="https://www.bitcoinlayers.org/">Bitcoin Layers</a>&#8221; - which are the interesting ones?</p><p>For Boltz, we established the following framework<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a>:</p><ol><li><p>The layer&#8217;s Bitcoin token needs to be verifiably backed 1:1 by mainchain Bitcoin</p></li><li><p>The layer needs to use its Bitcoin token to pay for network fees, not some alternative token</p></li><li><p>The layer needs to show meaningful organic growth of economic activity</p></li></ol><p>We are thrilled to launch our integration with <a href="https://rootstock.io/">Rootstock</a> today, a true OG among Bitcoin&#8217;s layers that checks all the boxes <a href="https://emojipedia.org/check-mark-button">&#9989;</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8sAQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8sAQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png 424w, https://substackcdn.com/image/fetch/$s_!8sAQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png 848w, https://substackcdn.com/image/fetch/$s_!8sAQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png 1272w, https://substackcdn.com/image/fetch/$s_!8sAQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8sAQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png" width="958" height="646" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:646,&quot;width&quot;:958,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8sAQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png 424w, https://substackcdn.com/image/fetch/$s_!8sAQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png 848w, https://substackcdn.com/image/fetch/$s_!8sAQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png 1272w, https://substackcdn.com/image/fetch/$s_!8sAQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b7ec16f-5fd6-4254-8afd-241c07f1d53b_958x646.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1>A Primer on Rootstock</h1><p>Rootstock is the <a href="https://dev.rootstock.io/concepts/">first and longest-running Bitcoin sidechain</a>. Operating <a href="https://rootstock.io/rsk-white-paper-updated.pdf">since January 2018</a>, it combines the security of Bitcoin's proof of work via <em><a href="https://rootstock.io/mine-btc-with-rootstock/">merged mining</a> </em>(currently<em> </em><a href="https://stats.rootstock.io/">&gt;50% of the Bitcoin hashrate</a> is participating in Rootstock), with EVM smart contract capabilities. Similar to the <a href="https://liquid.net/">Liquid sidechain</a>, which is <a href="https://blog.boltz.exchange/p/launching-liquid-swaps-unfairly-cheap">already available on Boltz</a>, it leverages a federated multi-sig to secure its peg between Rootstock Bitcoin (&#8220;RBTC&#8221;) and mainchain Bitcoin. </p><p>From Boltz&#8217;s perspective, the notable differences in comparison with <a href="https://liquid.net/">Liquid</a> are:</p><ul><li><p>Account vs UTXO model</p></li><li><p>Block production on Rootstock is separated from the Bitcoin peg&#8217;s multi-sig entities and is secured by Bitcoin miners via merged mining; on Liquid both are done by the same entities called &#8220;<a href="https://help.blockstream.com/hc/en-us/articles/900003264706-What-is-a-Liquid-Network-functionary">Functionaries</a>&#8221;</p></li><li><p>Block time is ~30s compared to 60s on Liquid</p></li><li><p>Rootstock&#8217;s <a href="https://dev.rootstock.io/concepts/powpeg/security-model/">PowPeg</a> allows <a href="https://powpeg.rootstock.io/">anyone to natively peg-out</a>, no special keys required like on Liquid</p></li><li><p>The account model on Rootstock offers less transactional privacy and does not natively allow for advanced features like <a href="https://help.blockstream.com/hc/en-us/articles/900001390743-How-does-Liquid-keep-my-transaction-data-confidential">Confidential Transactions</a> on Liquid</p></li></ul><p>To sum it up, Liquid and Rootstock complement each other and were created with different goals in mind. While Rootstock focuses to address the desire for advanced programmability in the Bitcoin ecosystem, Liquid focuses on its transactional and <a href="https://blockstream.com/amp/">advanced asset-issuance</a> capabilities.</p><p>Rootstock boasts a <a href="https://rootstock.io/ecosystem/">vast ecosystem</a> of decentralized applications and open finance services that let you lend, borrow, trade, and earn interest on your Bitcoin.</p><p>Finally, Rootstock&#8217;s Co-Founder and Chief Scientist, <a href="https://innovation.iovlabs.org/team/sergio-demian-lerner.html">Sergio Lerner</a>, is spearheading <a href="https://bitvmx.org/">BitVMX</a>, a <a href="https://bitvm.org/">BitVM</a>-inspired implementation to enable a trust-minimized bridge between the Bitcoin mainchain and Rootstock sidechain using ZK proofs.</p><h1>What can I do with Rootstock Swaps?</h1><p>Rootstock Swaps allow anyone to explore financial applications on Rootstock easily and quickly using the <a href="https://lightning.network/">Lightning Network</a>. Lightning is especially suited for low-value transfers and fast settlement with instant transaction finality; these characteristics have helped it establish itself as the <a href="https://medium.com/breez-technology/lightning-is-the-common-language-of-the-bitcoin-economy-eb8515341c11">common language</a> between Bitcoin layers.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!j7pb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff86693cf-ef13-4383-bc61-3bb1b20a7013_922x606.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!j7pb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff86693cf-ef13-4383-bc61-3bb1b20a7013_922x606.png 424w, https://substackcdn.com/image/fetch/$s_!j7pb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff86693cf-ef13-4383-bc61-3bb1b20a7013_922x606.png 848w, https://substackcdn.com/image/fetch/$s_!j7pb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff86693cf-ef13-4383-bc61-3bb1b20a7013_922x606.png 1272w, https://substackcdn.com/image/fetch/$s_!j7pb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff86693cf-ef13-4383-bc61-3bb1b20a7013_922x606.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!j7pb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff86693cf-ef13-4383-bc61-3bb1b20a7013_922x606.png" width="922" height="606" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f86693cf-ef13-4383-bc61-3bb1b20a7013_922x606.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:606,&quot;width&quot;:922,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:77796,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!j7pb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff86693cf-ef13-4383-bc61-3bb1b20a7013_922x606.png 424w, https://substackcdn.com/image/fetch/$s_!j7pb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff86693cf-ef13-4383-bc61-3bb1b20a7013_922x606.png 848w, https://substackcdn.com/image/fetch/$s_!j7pb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff86693cf-ef13-4383-bc61-3bb1b20a7013_922x606.png 1272w, https://substackcdn.com/image/fetch/$s_!j7pb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff86693cf-ef13-4383-bc61-3bb1b20a7013_922x606.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Lightning &#8594; Rootstock Swap via <a href="https://boltz.exchange/">Boltz Web App</a></figcaption></figure></div><p>Starting today, users can move their Satoshis from Lightning to Rootstock using our Web App at <a href="https://boltz.exchange/">boltz.exchange</a> and start exploring the Rootstock ecosystem.</p><p>Here are some of the financial applications available on Rootstock:</p><ul><li><p><a href="https://moneyonchain.com">Money On Chain</a>: Money On Chain (MOC) is the stablecoin protocol that issues Dollar On Chain (DOC), the only 100% Bitcoin-backed stablecoin.</p></li><li><p><a href="https://sovryn.app/">Sovryn</a>: Sovryn&nbsp;is a decentralized platform for Bitcoin trading and lending.</p></li><li><p><a href="https://tropykus.com/">Tropykus</a>: Savings and loans in dollars for Latin America.</p></li><li><p><a href="https://www.sushi.com/rootstock/swap">Sushi Swap</a>: Sushi Swap is a community-driven decentralized exchange (DEX) for traders and liquidity providers.</p></li></ul><p>An overview of Rootstock&#8217;s ecosystem is available <a href="https://rootstock.io/ecosystem/">here</a>. Rootstock has shown resilient growth in recent months with new partnerships and increasing activity (<a href="https://messari.io/report/state-of-rootstock-q2-2024">1</a>, <a href="https://x.com/rootstock_io/status/1821961078831566865?t=120">2</a>).</p><p>One aspect we're especially excited about is the new use cases Rootstock enables in combination with Lightning leveraging its Turing-complete programming capabilities.</p><p>One problem we believe Rootstock <em>could</em> be the solution to, is to enable <em>non-custodial</em> <a href="https://thebitcoinmanual.com/articles/lightning-prisms/">Lightning Prisms</a>. In short, a Lightning Prism splits one incoming payment into two or more payments to different receivers, e.g. to distribute a payment for an article behind a paywall not only to the author, but also to all authors of content that was re-used. The problem with the <a href="https://github.com/utxo-one/lightning-prism-php">current solution based on lightning addresses</a> is that it&#8217;s inherently custodial and additionally exposes the prisms to regulatory crackdowns. Rootstock could solve the custody dilemma by letting a prism smart contract on Rootstock handle the payment split. This is currently just an idea, we didn&#8217;t work on any technical implementation and there might be technical issues that might make this infeasible. Anyhow, it is just one idea; the design space on Rootstock is virtually endless. <a href="https://emojipedia.org/rocket">&#128640;</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SK47!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb1a86e29-9d4b-4f89-9598-8da612678dfe_1281x927.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SK47!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb1a86e29-9d4b-4f89-9598-8da612678dfe_1281x927.png 424w, https://substackcdn.com/image/fetch/$s_!SK47!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb1a86e29-9d4b-4f89-9598-8da612678dfe_1281x927.png 848w, https://substackcdn.com/image/fetch/$s_!SK47!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb1a86e29-9d4b-4f89-9598-8da612678dfe_1281x927.png 1272w, https://substackcdn.com/image/fetch/$s_!SK47!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb1a86e29-9d4b-4f89-9598-8da612678dfe_1281x927.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SK47!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb1a86e29-9d4b-4f89-9598-8da612678dfe_1281x927.png" width="1281" height="927" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b1a86e29-9d4b-4f89-9598-8da612678dfe_1281x927.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:927,&quot;width&quot;:1281,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:104541,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!SK47!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb1a86e29-9d4b-4f89-9598-8da612678dfe_1281x927.png 424w, https://substackcdn.com/image/fetch/$s_!SK47!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb1a86e29-9d4b-4f89-9598-8da612678dfe_1281x927.png 848w, https://substackcdn.com/image/fetch/$s_!SK47!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb1a86e29-9d4b-4f89-9598-8da612678dfe_1281x927.png 1272w, https://substackcdn.com/image/fetch/$s_!SK47!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb1a86e29-9d4b-4f89-9598-8da612678dfe_1281x927.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Modified <a href="https://dergigi.com/2023/03/12/lightning-prisms/">Prism Graphic</a>, original by <a href="https://dergigi.com/">Gigi</a></figcaption></figure></div><h1>Implementation Highlights</h1><p>Rootstock Swaps leverage the same HTLC-based atomic swap principle as all other swaps on Boltz. All swap contract code can be found <a href="https://github.com/BoltzExchange/boltz-core/tree/master/contracts">here</a> and is verified on Rootstock, see e.g. <a href="https://explorer.rootstock.io/address/0x3612e393ca2fbb8874854b88ffcf04307a518239?__ctab=Code">here</a> the current version of the <a href="https://github.com/BoltzExchange/boltz-core/blob/master/contracts/EtherSwap.sol">RBTC swap contract</a>.</p><p>When starting our integration earlier this year, we faced a deal-breaker problem: users needed RBTC in order to receive RBTC from a swap in order to pay for gas of their claim transactions. This strongly conflicted with our vision to build a tool to onboard <em>new</em> users to Rootstock - users that did <em>not</em> posses RBTC yet.</p><p><a href="https://dev.rootstock.io/developers/integrate/rif-relay/">RIF Relay</a> to the rescue! In the past months, we worked with the RIF Relay team to add support for so-called <a href="https://www.alchemy.com/overviews/meta-transactions">meta transactions</a> (sometimes also called <em>gasless transactions</em>). Meta transactions via RIF Relay allow Boltz users to sign instructions for RIF Relay to broadcast a swap claim without directly paying for gas. Instead, users pay RIF Relay using the incoming RBTC from their swap for broadcasting the transaction on their behalf. The best part is that the user doesn&#8217;t need to worry about this, as the Boltz Web App checks at swap creation if the user has enough RBTC to pay for gas in their wallet. If not, it automatically uses a meta transaction via RIF Relay.</p><p>We are also quite proud of the new hardware wallet integration in our Web App for Rootstock swaps. It allows you to directly swap to and from your <a href="https://www.ledger.com/">Ledger</a> and <a href="https://trezor.io/">Trezor</a> devices &#128588;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RtH_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4fb8ae3-8da1-44ad-a7ea-35775b5eb6d4_933x727.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RtH_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4fb8ae3-8da1-44ad-a7ea-35775b5eb6d4_933x727.png 424w, https://substackcdn.com/image/fetch/$s_!RtH_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4fb8ae3-8da1-44ad-a7ea-35775b5eb6d4_933x727.png 848w, https://substackcdn.com/image/fetch/$s_!RtH_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4fb8ae3-8da1-44ad-a7ea-35775b5eb6d4_933x727.png 1272w, https://substackcdn.com/image/fetch/$s_!RtH_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4fb8ae3-8da1-44ad-a7ea-35775b5eb6d4_933x727.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RtH_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4fb8ae3-8da1-44ad-a7ea-35775b5eb6d4_933x727.png" width="933" height="727" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f4fb8ae3-8da1-44ad-a7ea-35775b5eb6d4_933x727.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:727,&quot;width&quot;:933,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:52876,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!RtH_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4fb8ae3-8da1-44ad-a7ea-35775b5eb6d4_933x727.png 424w, https://substackcdn.com/image/fetch/$s_!RtH_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4fb8ae3-8da1-44ad-a7ea-35775b5eb6d4_933x727.png 848w, https://substackcdn.com/image/fetch/$s_!RtH_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4fb8ae3-8da1-44ad-a7ea-35775b5eb6d4_933x727.png 1272w, https://substackcdn.com/image/fetch/$s_!RtH_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4fb8ae3-8da1-44ad-a7ea-35775b5eb6d4_933x727.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1>What&#8217;s Next</h1><ul><li><p><a href="https://github.com/BoltzExchange/boltz-backend/issues/719">Enable Chain Swaps</a> between Rootstock and Liquid/Bitcoin.</p></li><li><p>Native integrations with projects on Rootstock, like <a href="https://moneyonchain.com/">Money On Chain</a>.</p></li><li><p>Bug fixes and Improvements based on user feedback.</p><p></p></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.boltz.exchange/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">That&#8217;s it for today! Stay tuned by subscribing to our Blog via the button below:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>This is what we consider <em>a Bitcoin Layer</em> for integration into Boltz; we agree strongly with the strict definition of a <em>Bitcoin Layer 2</em> as requiring <a href="https://thebitcoinmanual.com/articles/unilateral-exit/">unilateral exit</a>. More <a href="https://www.bitcoinlayers.org/faq">here</a>.</p></div></div>]]></content:encoded></item><item><title><![CDATA[⚡ Launching the Boltz BTCPay Plugin: Accept Lightning Payments Without Running a Node]]></title><description><![CDATA[Today we are launching the Boltz BTCPay Plugin in Open Beta. It greatly empowers merchants using BTCPay Server to easily accept Lightning payments non-custodially.]]></description><link>https://blog.boltz.exchange/p/launching-the-boltz-btcpay-plugin</link><guid isPermaLink="false">https://blog.boltz.exchange/p/launching-the-boltz-btcpay-plugin</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Thu, 26 Sep 2024 15:07:32 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!SzA5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>For those short on time, here is a rundown of the key features:</p><ul><li><p>&#9889; &#8220;Nodeless&#8221; mode: any merchant using BTCPay Server (even on a shared BTCPay instance) can now accept Lightning - powered by <a href="https://blog.boltz.exchange/p/launching-liquid-swaps-unfairly-cheap">Liquid Swaps</a> &#127754;</p></li><li><p>&#129302; Autoswap to mainchain: when using Liquid Swaps, the BTCPay Plugin allows for triggering swaps back to the mainchain based on a set of preferences</p></li><li><p>&#128091; Integrated wallet system: create or import Liquid/mainchain wallets</p></li><li><p>&#129365; Built on <a href="https://bitcoinops.org/en/topics/taproot/">Taproot</a>: fully leveraging the power of <a href="https://blog.boltz.exchange/p/introducing-taproot-swaps-putting">Taproot Swaps</a></p></li><li><p>&#128581;&#8205;&#9794;&#65039; Non-custodial: as with all Boltz products, all mentioned features are powered by Boltz Atomic Swaps, allowing merchants to stay in control of their money</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SzA5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SzA5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png 424w, https://substackcdn.com/image/fetch/$s_!SzA5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png 848w, https://substackcdn.com/image/fetch/$s_!SzA5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png 1272w, https://substackcdn.com/image/fetch/$s_!SzA5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SzA5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png" width="1456" height="817" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/be009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:817,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:75684,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!SzA5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png 424w, https://substackcdn.com/image/fetch/$s_!SzA5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png 848w, https://substackcdn.com/image/fetch/$s_!SzA5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png 1272w, https://substackcdn.com/image/fetch/$s_!SzA5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe009e1c-4171-4f9c-91d5-18f6f5f7fe04_2552x1432.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1>&#129300; The Problem</h1><p>Running and managing a Lightning node is <em>no easy feat</em>. Or, as our CTO Michael <a href="https://x.com/Boltzhq/status/1838137180914364752">recently put it</a>: &#8220;Channel management is complex and inbound liquidity can be such an alien concept&#8221;. As an industry, we have slowly but surely come to accept that the Lightning Network may scale Bitcoin <a href="https://blog.bitfinex.com/education/is-lightning-scaling-bitcoin-in-a-way-nobody-predicted/">differently than originally anticipated</a>. &#8220;Running your own Lightning node&#8221; is not a realistic nor a recommended goal for many individuals and even for professionals like merchants alike.</p><p>As a consequence, most applications and use cases nowadays revolve around the concept of using someone else&#8217;s professionally managed Lightning node to send and receive payments on the Lightning Network. Unfortunately, this all too often means relinquishing custody of funds. For merchants using BTCPay, choices of accepting Lightning payments that do not require operating a Lightning node, are historically limited. <a href="https://d11n.net/lnbank-vulnerability-recap">Various bugs</a> of custodial solutions in the past showed that custodial risk goes both ways: the custodian can be at risk of losing funds too.</p><p>Albeit being great products, today most solutions for merchants remain custodial and require setting up accounts with the service providers, some of which are only available in <a href="https://strike.me/faq/where-is-strike-available-wr/">specific countries</a>.</p><h1>&#128071; What is the Boltz BTCPay Plugin?</h1><p>The <a href="https://github.com/BoltzExchange/boltz-btcpay-plugin">Boltz BTCPay Plugin</a> is set to change this by allowing any merchant using BTCPay Server to accept Lightning payments without operating a Lightning node. This is especially powerful for merchants using a shared BTCPay server, as the choice of decent non-custodial options for accepting Lightning payments is very limited.</p><p>From a technical perspective, the Boltz BTCPay Plugin acts as an advanced UI to control and monitor <a href="https://github.com/BoltzExchange/boltz-client">Boltz Client</a>, our <a href="https://blog.boltz.exchange/p/launching-boltz-client">proven swap client</a>, which it uses under the hood.</p><p>After installation, the plugin offers users two modi operandi:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Oh3_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F539adb0d-35c2-4b05-9213-f66f6798046e_1417x925.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Oh3_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F539adb0d-35c2-4b05-9213-f66f6798046e_1417x925.png 424w, https://substackcdn.com/image/fetch/$s_!Oh3_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F539adb0d-35c2-4b05-9213-f66f6798046e_1417x925.png 848w, https://substackcdn.com/image/fetch/$s_!Oh3_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F539adb0d-35c2-4b05-9213-f66f6798046e_1417x925.png 1272w, https://substackcdn.com/image/fetch/$s_!Oh3_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F539adb0d-35c2-4b05-9213-f66f6798046e_1417x925.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Oh3_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F539adb0d-35c2-4b05-9213-f66f6798046e_1417x925.png" width="1417" height="925" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/539adb0d-35c2-4b05-9213-f66f6798046e_1417x925.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:925,&quot;width&quot;:1417,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:121219,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Oh3_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F539adb0d-35c2-4b05-9213-f66f6798046e_1417x925.png 424w, https://substackcdn.com/image/fetch/$s_!Oh3_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F539adb0d-35c2-4b05-9213-f66f6798046e_1417x925.png 848w, https://substackcdn.com/image/fetch/$s_!Oh3_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F539adb0d-35c2-4b05-9213-f66f6798046e_1417x925.png 1272w, https://substackcdn.com/image/fetch/$s_!Oh3_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F539adb0d-35c2-4b05-9213-f66f6798046e_1417x925.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>&#8220;Rebalance&#8221;, the first mode of Boltz BTCPay plugin, is currently still in <em>closed</em> beta (<a href="https://t.me/+YdK0sV1OaVJmZjM1">message us</a> if you are interested in participating) and only available to merchants running their own BTCPay instance with their own Lightning node connected to it. It walks you through setting up Boltz Client&#8217;s <a href="https://blog.boltz.exchange/p/guide-how-to-use-boltz-clients-autoswap">Autoswap</a> in a visual setup flow and finally takes over managing your Lightning node&#8217;s liquidity based on your configuration. Next to regular mainchain Submarine Swaps, users have the option to use <a href="https://blog.boltz.exchange/p/launching-liquid-swaps-unfairly-cheap">Liquid Swaps</a> combined with <a href="https://blog.boltz.exchange/p/dispatching-chain-swaps">Chain Swaps</a> for increased cost efficiency.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uYKX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1c0e2fc-3c67-45c9-90f2-4e6210ce0c86_1445x967.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uYKX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1c0e2fc-3c67-45c9-90f2-4e6210ce0c86_1445x967.png 424w, https://substackcdn.com/image/fetch/$s_!uYKX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1c0e2fc-3c67-45c9-90f2-4e6210ce0c86_1445x967.png 848w, https://substackcdn.com/image/fetch/$s_!uYKX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1c0e2fc-3c67-45c9-90f2-4e6210ce0c86_1445x967.png 1272w, https://substackcdn.com/image/fetch/$s_!uYKX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1c0e2fc-3c67-45c9-90f2-4e6210ce0c86_1445x967.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uYKX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1c0e2fc-3c67-45c9-90f2-4e6210ce0c86_1445x967.png" width="1445" height="967" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c1c0e2fc-3c67-45c9-90f2-4e6210ce0c86_1445x967.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:967,&quot;width&quot;:1445,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:132209,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uYKX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1c0e2fc-3c67-45c9-90f2-4e6210ce0c86_1445x967.png 424w, https://substackcdn.com/image/fetch/$s_!uYKX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1c0e2fc-3c67-45c9-90f2-4e6210ce0c86_1445x967.png 848w, https://substackcdn.com/image/fetch/$s_!uYKX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1c0e2fc-3c67-45c9-90f2-4e6210ce0c86_1445x967.png 1272w, https://substackcdn.com/image/fetch/$s_!uYKX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1c0e2fc-3c67-45c9-90f2-4e6210ce0c86_1445x967.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">&#8220;Rebalance&#8221; mode using Autoswap in action</figcaption></figure></div><p>&#8220;Nodeless&#8221;, the second mode of the plugin and the flagship feature of today&#8217;s launch, uses Boltz&#8217;s well connected Lightning nodes for processing incoming Lightning payments and swaps the funds to a Liquid wallet controlled by the merchant. It offers great cost planning security as swap fees rarely change and network fees on the Liquid network are reliably low (usually around 40 sats per swap). Finally, it avoids typical Lightning channel management issues like running out of inbound liquidity or unforeseen channel force closes or even potentially catastrophic events like corrupted channel state.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RUdL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F897cdb6f-4b75-437e-ba5e-e40e94dee867_1493x978.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RUdL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F897cdb6f-4b75-437e-ba5e-e40e94dee867_1493x978.png 424w, https://substackcdn.com/image/fetch/$s_!RUdL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F897cdb6f-4b75-437e-ba5e-e40e94dee867_1493x978.png 848w, https://substackcdn.com/image/fetch/$s_!RUdL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F897cdb6f-4b75-437e-ba5e-e40e94dee867_1493x978.png 1272w, https://substackcdn.com/image/fetch/$s_!RUdL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F897cdb6f-4b75-437e-ba5e-e40e94dee867_1493x978.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RUdL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F897cdb6f-4b75-437e-ba5e-e40e94dee867_1493x978.png" width="1456" height="954" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/897cdb6f-4b75-437e-ba5e-e40e94dee867_1493x978.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:954,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:83665,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!RUdL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F897cdb6f-4b75-437e-ba5e-e40e94dee867_1493x978.png 424w, https://substackcdn.com/image/fetch/$s_!RUdL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F897cdb6f-4b75-437e-ba5e-e40e94dee867_1493x978.png 848w, https://substackcdn.com/image/fetch/$s_!RUdL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F897cdb6f-4b75-437e-ba5e-e40e94dee867_1493x978.png 1272w, https://substackcdn.com/image/fetch/$s_!RUdL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F897cdb6f-4b75-437e-ba5e-e40e94dee867_1493x978.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">&#8220;Nodeless&#8221; mode in action, using Autoswap to move from Liquid back to the mainchain</figcaption></figure></div><p>We don&#8217;t want to draw any preliminary conclusions today as only time will tell, but we strongly believe that, from a cost-perspective, &#8220;nodeless&#8221; mode can be very competitive compared to the total costs of operating a Lightning node.</p><h1>&#128679; WIP</h1><p>We labeled today&#8217;s launch &#8220;Open <em><strong>Beta&#8221;</strong></em>. Even though we tested meticulously and disabled features that were either known to have issues or not well-tested enough, we can&#8217;t guarantee absence of bugs. Do <em><strong>not</strong></em> install and run the plugin if you expect things to be perfect. As a cautious approach, we recommend starting off by only enabling the plugin to take over Lightning payments while the behavior can be monitored and only enable it permanently once a certain confidence level is reached. You can find an overview of known limitations <a href="https://docs.boltz.exchange/v/boltz-btcpay-plugin/limitations">here</a>.</p><p>If you have feedback or questions, please join our &#128073;<a href="https://t.me/+YdK0sV1OaVJmZjM1">BTCPay Boltz Plugin Beta Telegram group</a>&#128072; and please let us know if you are interested in helping us test &#8220;Rebalance&#8221; mode.</p><h1>&#127941;Credits</h1><p>Big shout-out to Alan, CEO of <a href="https://strainly.io/">strainly.io</a>, who tirelessly tested the Boltz BTCPay Plugin for several weeks and proved brave enough to run the plugin on mainnet in a pretty early stage and helped us to iron out numerous bugs.</p><p>We are proud to announce, that strainly is running the Boltz BTCPay Plugin in production today. This wouldn&#8217;t have been possible without you, Alan! &#128588;</p><div class="pullquote"><p><a href="https://Boltz.exchange">Boltz.exchange</a>&nbsp;plugin is going to be the most impactful plugin ever released on BTCPay. Be on the lookout.</p><p><a href="https://t.me/btcpayserver/78500">Alan of Strainly on September 8, 2024</a></p></div><p>Furthermore, a big thank you to the amazing BTCPay Server team, which helped us navigate writing and publishing our first BTCPay Server Plugin to get us where we are today. <a href="https://emojipedia.org/folded-hands">&#128591;</a></p><h1>&#9197;&#65039; What&#8217;s Next for the Boltz BTCPay Plugin?</h1><ul><li><p>Full support of Liquid read-only wallets to improve security for merchants using a shared BTCPay instance</p></li><li><p>Finalize testing and enable &#8220;Rebalancing&#8221; mode for merchants operating their own Lightning node</p></li><li><p>Many <a href="https://github.com/BoltzExchange/boltz-client/issues">more issues to be crunched and bugs to be fixed</a></p></li><li><p>Prepare for compatibility with <a href="https://github.com/orgs/btcpayserver/projects/16">BTCPay Server v2</a></p><p></p></li></ul><p>That&#8217;s a wrap, thank you for reading &#8216;til the very end!</p>]]></content:encoded></item><item><title><![CDATA[🤓 Guide: How to Use Boltz Client's Autoswap to Automate Your Lightning Liquidity Management]]></title><description><![CDATA[This step-by-step guide walks you through hooking up Boltz Client with your CLN or LND node and configuring Autoswap to manage Lightning liquidity on your behalf using unfairly cheap Liquid Swaps &#127754;]]></description><link>https://blog.boltz.exchange/p/guide-how-to-use-boltz-clients-autoswap</link><guid isPermaLink="false">https://blog.boltz.exchange/p/guide-how-to-use-boltz-clients-autoswap</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Thu, 11 Jul 2024 17:23:11 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Managing Lightning channel liquidity is not fun, especially if Lightning or Bitcoin is not your main business. And even then it&#8217;s not fun.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PyVx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f1a2ee7-0065-408b-a318-5fc9d29a1cd0_1232x1245.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PyVx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f1a2ee7-0065-408b-a318-5fc9d29a1cd0_1232x1245.png 424w, https://substackcdn.com/image/fetch/$s_!PyVx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f1a2ee7-0065-408b-a318-5fc9d29a1cd0_1232x1245.png 848w, https://substackcdn.com/image/fetch/$s_!PyVx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f1a2ee7-0065-408b-a318-5fc9d29a1cd0_1232x1245.png 1272w, https://substackcdn.com/image/fetch/$s_!PyVx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f1a2ee7-0065-408b-a318-5fc9d29a1cd0_1232x1245.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PyVx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f1a2ee7-0065-408b-a318-5fc9d29a1cd0_1232x1245.png" width="1232" height="1245" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3f1a2ee7-0065-408b-a318-5fc9d29a1cd0_1232x1245.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1245,&quot;width&quot;:1232,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1215329,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!PyVx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f1a2ee7-0065-408b-a318-5fc9d29a1cd0_1232x1245.png 424w, https://substackcdn.com/image/fetch/$s_!PyVx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f1a2ee7-0065-408b-a318-5fc9d29a1cd0_1232x1245.png 848w, https://substackcdn.com/image/fetch/$s_!PyVx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f1a2ee7-0065-408b-a318-5fc9d29a1cd0_1232x1245.png 1272w, https://substackcdn.com/image/fetch/$s_!PyVx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f1a2ee7-0065-408b-a318-5fc9d29a1cd0_1232x1245.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Today we <a href="https://github.com/BoltzExchange/boltz-client/releases/tag/v2.1.0">released Boltz Client 2.1.0</a> &#8220;Autoswap&#8221;, which delivers &#8220;Lightning that just works&#8221; for your own Lightning node, featuring our &#8220;unfairly cheap&#8221; <a href="https://blog.boltz.exchange/p/launching-liquid-swaps-unfairly-cheap">Liquid Swaps</a>. This release implements the <a href="https://blog.boltz.exchange/i/144914087/the-solution">Liquid Rebalancing Triangle</a> in an automated fashion, meaning, for the very popular use case to maintain inbound liquidity, it rebalances into Liquid and then, based on your settings, moves bitcoin from Liquid back to the mainchain. With which you can then open more Lightning channels.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0Ynv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0Ynv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png 424w, https://substackcdn.com/image/fetch/$s_!0Ynv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png 848w, https://substackcdn.com/image/fetch/$s_!0Ynv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png 1272w, https://substackcdn.com/image/fetch/$s_!0Ynv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0Ynv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png" width="1160" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1160,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:91579,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!0Ynv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png 424w, https://substackcdn.com/image/fetch/$s_!0Ynv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png 848w, https://substackcdn.com/image/fetch/$s_!0Ynv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png 1272w, https://substackcdn.com/image/fetch/$s_!0Ynv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcda247-b65a-42d8-ad8f-c1410587ed52_1160x768.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Recap of the Liquid Rebalancing Triangle from our <a href="https://blog.boltz.exchange/i/144914087/the-solution">last blog post</a></figcaption></figure></div><h1>For Whom Is This Guide?</h1><p>This guide is written for tech-savvy operators of Lightning nodes that are used in a professional context, like merchants accepting Lightning payments for their goods, Bitcoin ATM operators allowing Lightning payouts, or fully-fledged exchanges that allow Lightning deposits and withdrawals.</p><h1>What Is the Goal of This Guide?</h1><p>The goal of this guide is to create a setup that keeps Lightning channels in a configured balance range to allow for reliable operations with predictably cheap rebalancing costs using Liquid Swaps. The idea is to perform many rebalancing swaps using Liquid and only periodically swap back to the mainchain, e.g. based on the accumulated amount of L-BTC or mainchain miner fee level.</p><p>But how does one go about installation, setup and configuration?</p><p>Grab a cup of coffee and let&#8217;s dive in &#128071;</p><h1>Installation</h1><p>Boltz Client is available for Linux <code>amd64</code> and <code>arm64</code> platforms, the two platforms almost all Lightning nodes are running on nowadays. Head over to the Boltz Client <a href="https://github.com/BoltzExchange/boltz-client/releases">release page</a> and download the latest release binaries for your platform, extract the binaries, verify them, and place them in a folder of your choice. If you are doing all this via terminal, these are the commands you want to use:</p><ul><li><p><code>wget https://github.com/BoltzExchange/boltz-client/releases/download/v2.1.0/boltz-client-linux-amd64-v2.1.0.tar.gz</code></p></li><li><p><code>tar -xvzf boltz-client-linux-amd64-v2.1.0.tar.gz</code></p></li><li><p><code>mv</code> the binaries to your preferred permanent location, e.g. <code>~/boltz-client</code></p></li><li><p>add the binaries to your PATH by adding the line <code>export PATH="/home/satoshi/boltz-client:$PATH"</code> to the end of your <code>.bashrc</code> file (don&#8217;t forget to <code>source .bashrc</code> afterwards)</p></li></ul><p>Give it a test spin by running <code>boltzd</code>, which will terminate with an error but proves that Boltz Client works on your system and conveniently creates the default data directory <code>~/.boltz</code> already.</p><p>We recommend creating a systemd <code>boltzd.service</code> file to launch Boltz Client:</p><pre><code># A sample systemd service file for Boltz Client

[Unit]
Description=Boltz Client Daemon

[Service]
ExecStart=/home/satoshi/boltz-client/boltzd
ExecStop=/home/satoshi/boltz-client/boltzcli stop

# Replace these with the user:group that will run Boltz Client
User=satoshi
Group=satoshi

# Try restarting Boltz Client if it stops due to a failure
Restart=on-failure
RestartSec=60

[Install]
WantedBy=multi-user.target</code></pre><p>If you prefer building from source or using docker, refer to the <a href="https://docs.boltz.exchange/v/boltz-client">docs</a>.</p><h1>Setup</h1><p>Next up is connecting Boltz Client to your Lightning node. Change to the Boltz Client data directory (<code>~/.boltz</code> by default) and create a new configuration file called <code>boltz.toml</code> with the following content</p><p>If you are running CLN:</p><pre><code>[CLN]
datadir = "~/.lightning"</code></pre><p>If you are running LND:</p><pre><code><code>[LND]
datadir = "~/.lnd"</code></code></pre><p>Pointing Boltz Client to your Lightning node&#8217;s data directory is all it should take to successfully connect. Should you be running your node with non-default ports, certificate locations or on a different machine, check our <a href="https://docs.boltz.exchange/v/boltz-client/configuration">sample config file</a> for advanced connection configuration options.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a></p><p>Now we are ready to start Boltz Client via <code>sudo systemctl start boltzd</code>. <code>boltzcli getinfo</code> should print an output similar to the following showing the connected Lightning node&#8217;s public key:</p><pre><code>$ boltzcli getinfo
{
  "version": "v2.1.0-daac977",
  "node": "LND",
  "network": "mainnet",
  "nodePubkey": "020d9126d568b8f0605ed65eda28c4b843bb66282a0921d721f88b8a46cbd4e221",
  "autoSwapStatus": "disabled",
  "blockHeights": {
    "btc": 849707,
    "liquid": 2919031
  },
  "tenant": {
    "id": "1",
    "name": "admin"
  }
}</code></pre><p>If the command returns an error instead, you can follow the logs for the root cause with e.g. <code>journalctl -n 100 -f -u boltzd</code> or by simply opening <code>boltz.log</code> located in the Boltz Client data directory. If you need help with debugging, feel free to reach out in the #help channel on our <a href="https://discord.gg/QBvZGcW">Discord Server</a>.</p><p>For an overview of all available cli commands, simply run <code>boltzcli</code>.</p><h1>Autoswap Configuration</h1><p>Congrats, now that we have Boltz Client running and connected to our Lightning node, we can start configuring <strong><a href="https://docs.boltz.exchange/v/boltz-client/autoswap">Autoswap</a>!</strong> &#128588;</p><p>Before we start though, let&#8217;s record our current channel and wallet balances:</p><pre><code>$ boltzcli wallet list
{
  "wallets":  [
    {
      "id":  "2",
      "name":  "LND",
      "currency":  "BTC",
      "readonly":  false,
      "balance":  {
        "total":  "2990606",
        "confirmed":  "2990606",
        "unconfirmed":  "0"
      },
      "tenantId":  "1"
    },
  ]
}
$ lncli channelbalance
{
    "balance":  "3073517",
    "pending_open_balance":  "0",
    "local_balance":  {
        "sat":  "3073517",
        "msat":  "3073517340"
    },
    "remote_balance":  {
        "sat":  "42488",
        "msat":  "42488660"
    }
}</code></pre><p>As one can see, we currently hold a bit less than 3 million sats in LND&#8217;s internal mainchain wallet and have a very imbalanced channel balance with about 3 million sats local outbound and only 42488 sats remote inbound liquidity.</p><p>To familiarize ourselves with the available Autoswap options, we run <code>boltzcli autoswap</code>. The command we are looking for is called <code>setup</code>, the interactive setup flow to configure Autoswap.</p><p>The first decision <code>boltzcli autoswap setup</code> asks us to take is if we want to:</p><ul><li><p>maintain <em>inbound liquidity</em> via <strong>reverse</strong>, e.g. if you are a merchant and need to be able to <em>receive</em> Lightning payments reliably,</p></li><li><p>maintain <em>outbound liquidity</em> via <strong>normal</strong>, e.g. if you are running a Bitcoin ATM that accepts FIAT and needs to be able to <em>send</em> Lightning payments reliably,</p></li><li><p>maintain <strong>both</strong>, e.g. if you are operating a Bitcoin exchange and offer Lightning deposits and withdrawals and need to be able to <em>send and receive</em><strong> </strong>reliably</p></li></ul><p>Let&#8217;s now imagine we are operating an online merchant selling amazing hats for sats and need to be able to reliably <em>receive</em> Lightning payments. We do <em>not</em> have the need to send Lightning payments out. Our current channel balance is not great for this use case as we currently only can receive up to 42488 sats, which is barely the price of one hat. Our desired channel balance is basically the exact opposite - all of our channel balance on the remote side of the channel as inbound liquidity. Consequently, we are continuing with the first option &#8220;reverse&#8221; to manage our inbound liquidity.</p><p>Next up is selecting the destination wallet, which also determines if we are swapping to Liquid or to the mainchain (both are supported by Boltz Client). We want to swap to Liquid to benefit from reliably cheap network fees and avoid rebalancing costs spiraling out of control when mainchain miner fees rise. As Boltz Client ships with an integrated <a href="https://github.com/Blockstream/gdk">Liquid wallet system</a>, it let&#8217;s us create a new Liquid wallet right within the <code>setup</code> flow:</p><pre><code>? Select wallet which should be used for swaps <strong>Create New</strong>
? Select wallet which should be used for swaps <strong>LBTC</strong>
? Enter a name for the new wallet <strong>liquid</strong>
? Do you want to provide a wallet password to encrypt your wallet, which will be required on startup? <strong>No</strong>
New wallet created!

Mnemonic:
dragon minute height hurry oil power must imitate twice brick term festival

We highly recommend to import the mnemonic shown above into an external wallet like Blockstream Green (https://blockstream.com/green). This serves as backup and allows you to view transactions and control your funds.</code></pre><p>Next, we install Blockstream Green on a different computer (or phone) and import the mnemonic from the output.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jXC3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4fb3bb67-2363-4fb6-aa06-c548dcb26e4c_1036x873.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jXC3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4fb3bb67-2363-4fb6-aa06-c548dcb26e4c_1036x873.png 424w, https://substackcdn.com/image/fetch/$s_!jXC3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4fb3bb67-2363-4fb6-aa06-c548dcb26e4c_1036x873.png 848w, https://substackcdn.com/image/fetch/$s_!jXC3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4fb3bb67-2363-4fb6-aa06-c548dcb26e4c_1036x873.png 1272w, https://substackcdn.com/image/fetch/$s_!jXC3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4fb3bb67-2363-4fb6-aa06-c548dcb26e4c_1036x873.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jXC3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4fb3bb67-2363-4fb6-aa06-c548dcb26e4c_1036x873.png" width="1036" height="873" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4fb3bb67-2363-4fb6-aa06-c548dcb26e4c_1036x873.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:873,&quot;width&quot;:1036,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:61770,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jXC3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4fb3bb67-2363-4fb6-aa06-c548dcb26e4c_1036x873.png 424w, https://substackcdn.com/image/fetch/$s_!jXC3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4fb3bb67-2363-4fb6-aa06-c548dcb26e4c_1036x873.png 848w, https://substackcdn.com/image/fetch/$s_!jXC3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4fb3bb67-2363-4fb6-aa06-c548dcb26e4c_1036x873.png 1272w, https://substackcdn.com/image/fetch/$s_!jXC3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4fb3bb67-2363-4fb6-aa06-c548dcb26e4c_1036x873.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">&#8220;Set up a New Wallet&#8221; &#8594; &#8220;Get Started&#8221; &#8594; &#8220;On this device&#8221; &#8594; &#8220;Restore Wallet&#8221;</figcaption></figure></div><p>As the CLI response stated, importing the mnemonic into Green is important for two reasons:</p><ol><li><p>The second device serves as backup of your Liquid wallet should something happen to your Boltz Client installation or device</p></li><li><p>Green enables you to see wallet transactions and manually send to or receive from this wallet, features which Boltz Client doesn&#8217;t support.</p></li></ol><p>Next, <code>setup</code> asks us to decide if we want to specify our minimum inbound liquidity in sats or in percentage of our total channel capacity. We choose percentage and go with the default 25% threshold. This means that once our inbound liquidity hit the minimum threshold of 25% inbound liquidity (or, in nominal terms, a bit more than 750k sats of our 3 million sats channel), Boltz Client starts rebalancing our channel.</p><p>Next we set a budget, the maximum amount we want to spend on fees, applicable for a certain budget period. We are going with 50k sats over 7 days rolling. Lastly, Boltz Client informs us that the target when executing swaps is 100% inbound liquidity, which is exactly what we want as an online merchant, have all our liquidity available as inbound liquidity.</p><p>Here the summary of our config:</p><pre><code>? Which type of swaps should be executed? <strong>reverse</strong>
? Select wallet which should be used for swaps <strong>liquid</strong>
? How do you want to specify values? <strong>percentage</strong>
? What is the minimum percentage of total capacity you want to keep as your inbound balance? <strong>25</strong>
? In which interval should the fee budget of the auto swapper be reset? (days) <strong>7</strong>
? How many sats do you want to spend max on fees per budget interval? <strong>50000</strong>

Config was saved successfully!
Autoswap will target 100% inbound balance when executing swaps.</code></pre><p>That&#8217;s it for <strong>Liquid Swaps</strong> - the configuration of the first edge of the Liquid Rebalancing Triangle is done!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KiIz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5461b96e-e1ca-421a-bc24-10e4e5d15389_1160x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KiIz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5461b96e-e1ca-421a-bc24-10e4e5d15389_1160x768.png 424w, https://substackcdn.com/image/fetch/$s_!KiIz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5461b96e-e1ca-421a-bc24-10e4e5d15389_1160x768.png 848w, https://substackcdn.com/image/fetch/$s_!KiIz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5461b96e-e1ca-421a-bc24-10e4e5d15389_1160x768.png 1272w, https://substackcdn.com/image/fetch/$s_!KiIz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5461b96e-e1ca-421a-bc24-10e4e5d15389_1160x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KiIz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5461b96e-e1ca-421a-bc24-10e4e5d15389_1160x768.png" width="1160" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5461b96e-e1ca-421a-bc24-10e4e5d15389_1160x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1160,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:96125,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KiIz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5461b96e-e1ca-421a-bc24-10e4e5d15389_1160x768.png 424w, https://substackcdn.com/image/fetch/$s_!KiIz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5461b96e-e1ca-421a-bc24-10e4e5d15389_1160x768.png 848w, https://substackcdn.com/image/fetch/$s_!KiIz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5461b96e-e1ca-421a-bc24-10e4e5d15389_1160x768.png 1272w, https://substackcdn.com/image/fetch/$s_!KiIz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5461b96e-e1ca-421a-bc24-10e4e5d15389_1160x768.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><code>Setup</code> now asks us if we want to configure the second edge of the triangle, <strong>Chain Swaps</strong> from Liquid back to the mainchain too. We do, and apply the following config:</p><pre><code>? Do you want to setup chain swaps as well? <strong>Yes</strong>
? Select source wallet <strong>liquid</strong>
? Select target wallet <strong>LND</strong>
? What is the maximum amount of sats you want to accumulate before a chain swap is started? <strong>1000000</strong>
? In which interval should the fee budget of the auto swapper be reset? (days) <strong>7</strong>
? How many sats do you want to spend max on fees per budget interval? <strong>50000</strong>

Config was saved successfully!</code></pre><p>This config instructs Autoswap to swap all L-BTC back to our LND&#8217;s internal mainchain wallet once our Liquid balance reaches 1 million sats. We set the maximum fee budget to the same 50k sats per 7-day rolling period.</p><p>Finally, Autoswap informs us about the swap immediately being executed after enabling. Quick check of the numbers shows us, that the swap amount of 3011144 is slightly less than our current 3073520 sats outbound liqudity. This is because Autoswap has to account for <a href="https://bitcoin.design/guide/how-it-works/liquidity/#channel-reserve">Lightning&#8217;s channel reserve</a>. We enable Autoswap.</p><pre><code>Based on above config the following swaps will be performed:
{
  "lightning": [
    {
      "amount": "3011144",
      "feeEstimate": "7528",
      "dismissedReasons": [],
      "type": "reverse",
      "channel": null
    }
  ],
  "chain": []
}

? Do you want to enable autoswap now? (y/N) y</code></pre><p>That&#8217;s it for <strong>Chain Swaps</strong> - the configuration of the second edge of the Liquid Rebalancing Triangle is done too!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7Pp8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc140dee0-7b6d-4075-8407-80f0d0656252_1160x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7Pp8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc140dee0-7b6d-4075-8407-80f0d0656252_1160x768.png 424w, https://substackcdn.com/image/fetch/$s_!7Pp8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc140dee0-7b6d-4075-8407-80f0d0656252_1160x768.png 848w, https://substackcdn.com/image/fetch/$s_!7Pp8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc140dee0-7b6d-4075-8407-80f0d0656252_1160x768.png 1272w, https://substackcdn.com/image/fetch/$s_!7Pp8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc140dee0-7b6d-4075-8407-80f0d0656252_1160x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7Pp8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc140dee0-7b6d-4075-8407-80f0d0656252_1160x768.png" width="1160" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c140dee0-7b6d-4075-8407-80f0d0656252_1160x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1160,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:96159,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7Pp8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc140dee0-7b6d-4075-8407-80f0d0656252_1160x768.png 424w, https://substackcdn.com/image/fetch/$s_!7Pp8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc140dee0-7b6d-4075-8407-80f0d0656252_1160x768.png 848w, https://substackcdn.com/image/fetch/$s_!7Pp8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc140dee0-7b6d-4075-8407-80f0d0656252_1160x768.png 1272w, https://substackcdn.com/image/fetch/$s_!7Pp8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc140dee0-7b6d-4075-8407-80f0d0656252_1160x768.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We start monitoring ongoing swaps via <code>boltzcli swapinfostream</code> to receive updates about the upcoming swap we were informed about. One can also follow Boltz Client&#8217;s logs via <code>journalctl -f -u boltzd</code> for a more detailed trace.</p><p>While monitoring progress of the swap, we can see that after the swap was executed successfully, our Lightning channel balance pracically inverted, which is precisely what we wanted. We now have &gt;3 million sats available as inbound liquidity and only a little remainder of 62373 sats left as outbound liquidity. Our imaginary online shop is ready to sell hats &#129312;</p><pre><code>$ lncli channelbalance
{
    "balance":  "62373",
    "pending_open_balance":  "0",
    "local_balance":  {
        "sat":  "62373",
        "msat":  "62373340"
    },
    "remote_balance":  {
        "sat":  "3053632",
        "msat":  "3053632660"
    }
}</code></pre><p>The Liquid part of the swap was sent to our newly created Liquid wallet and since it&#8217;s about 3 million sats in value, the balance of our Liquid wallet now exceeds the previously set 1 million sats threshold and a chain swap is triggered, moving our Bitcoin from Liquid back to the mainchain. <code>boltzcli listswaps</code> shows us the summary after both swaps went through:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gwgl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F636d422d-1505-46ac-ac88-40b0057b5958_2044x247.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gwgl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F636d422d-1505-46ac-ac88-40b0057b5958_2044x247.png 424w, https://substackcdn.com/image/fetch/$s_!gwgl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F636d422d-1505-46ac-ac88-40b0057b5958_2044x247.png 848w, https://substackcdn.com/image/fetch/$s_!gwgl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F636d422d-1505-46ac-ac88-40b0057b5958_2044x247.png 1272w, https://substackcdn.com/image/fetch/$s_!gwgl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F636d422d-1505-46ac-ac88-40b0057b5958_2044x247.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gwgl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F636d422d-1505-46ac-ac88-40b0057b5958_2044x247.png" width="1456" height="176" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/636d422d-1505-46ac-ac88-40b0057b5958_2044x247.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:176,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:142491,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!gwgl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F636d422d-1505-46ac-ac88-40b0057b5958_2044x247.png 424w, https://substackcdn.com/image/fetch/$s_!gwgl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F636d422d-1505-46ac-ac88-40b0057b5958_2044x247.png 848w, https://substackcdn.com/image/fetch/$s_!gwgl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F636d422d-1505-46ac-ac88-40b0057b5958_2044x247.png 1272w, https://substackcdn.com/image/fetch/$s_!gwgl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F636d422d-1505-46ac-ac88-40b0057b5958_2044x247.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>In Green we can confirm an incoming Liquid transaction of about 3 million sats from the first reverse swap from Lightning to Liquid and an outgoing transaction of a little bit less than 3 million sats of the second swap, moving our funds from Liquid back to the mainchain. Boltz Client is currently configured to leave a buffer of about 10000 sats in our Liquid wallet, but it&#8217;ll be able to swap everything down to the last satoshi soon. You can follow the implementation of this feature on GitHub <a href="https://github.com/BoltzExchange/boltz-client/issues/140">here</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Sq5s!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2695cfd2-5d22-4cc7-ba17-f9faf5997ced_851x253.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Sq5s!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2695cfd2-5d22-4cc7-ba17-f9faf5997ced_851x253.png 424w, https://substackcdn.com/image/fetch/$s_!Sq5s!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2695cfd2-5d22-4cc7-ba17-f9faf5997ced_851x253.png 848w, https://substackcdn.com/image/fetch/$s_!Sq5s!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2695cfd2-5d22-4cc7-ba17-f9faf5997ced_851x253.png 1272w, https://substackcdn.com/image/fetch/$s_!Sq5s!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2695cfd2-5d22-4cc7-ba17-f9faf5997ced_851x253.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Sq5s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2695cfd2-5d22-4cc7-ba17-f9faf5997ced_851x253.png" width="851" height="253" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2695cfd2-5d22-4cc7-ba17-f9faf5997ced_851x253.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:253,&quot;width&quot;:851,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:38383,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Sq5s!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2695cfd2-5d22-4cc7-ba17-f9faf5997ced_851x253.png 424w, https://substackcdn.com/image/fetch/$s_!Sq5s!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2695cfd2-5d22-4cc7-ba17-f9faf5997ced_851x253.png 848w, https://substackcdn.com/image/fetch/$s_!Sq5s!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2695cfd2-5d22-4cc7-ba17-f9faf5997ced_851x253.png 1272w, https://substackcdn.com/image/fetch/$s_!Sq5s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2695cfd2-5d22-4cc7-ba17-f9faf5997ced_851x253.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Finally, we confirm that LND&#8217;s internal mainchain wallet successfully received about 3 million sats as the final destination.</p><pre><code>$ lncli walletbalance
{
    "total_balance":  "5979386",
    "confirmed_balance":  "5979386",</code></pre><p>We are now free to use our mainchain Bitcoin to open new channels, completing the third leg of the Liquid Rebalancing Triangle.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ItXZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F819a4ad5-3736-41a4-94ba-5c8cb2c4b639_1160x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ItXZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F819a4ad5-3736-41a4-94ba-5c8cb2c4b639_1160x768.png 424w, https://substackcdn.com/image/fetch/$s_!ItXZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F819a4ad5-3736-41a4-94ba-5c8cb2c4b639_1160x768.png 848w, https://substackcdn.com/image/fetch/$s_!ItXZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F819a4ad5-3736-41a4-94ba-5c8cb2c4b639_1160x768.png 1272w, https://substackcdn.com/image/fetch/$s_!ItXZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F819a4ad5-3736-41a4-94ba-5c8cb2c4b639_1160x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ItXZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F819a4ad5-3736-41a4-94ba-5c8cb2c4b639_1160x768.png" width="1160" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/819a4ad5-3736-41a4-94ba-5c8cb2c4b639_1160x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1160,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:94611,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ItXZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F819a4ad5-3736-41a4-94ba-5c8cb2c4b639_1160x768.png 424w, https://substackcdn.com/image/fetch/$s_!ItXZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F819a4ad5-3736-41a4-94ba-5c8cb2c4b639_1160x768.png 848w, https://substackcdn.com/image/fetch/$s_!ItXZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F819a4ad5-3736-41a4-94ba-5c8cb2c4b639_1160x768.png 1272w, https://substackcdn.com/image/fetch/$s_!ItXZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F819a4ad5-3736-41a4-94ba-5c8cb2c4b639_1160x768.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1>What&#8217;s Next for Boltz Client?</h1><ul><li><p>Many <a href="https://github.com/BoltzExchange/boltz-client/issues">more issues to be crunched and bugs to be fixed</a> as we are rolling out this release.</p></li><li><p><a href="https://github.com/BoltzExchange/boltz-client/issues/194">Decreasing Liquid network fees</a> even further.</p></li><li><p><a href="https://github.com/BoltzExchange/boltz-client/issues/189">Monitoring mainchain miner fee levels</a> to automatically swap back to the mainchain when it&#8217;s cheap.</p></li><li><p>Boltz Client flagship feature: our upcoming <a href="https://github.com/BoltzExchange/boltz-client/issues/145">BTCPay plugin</a>. It&#8217;ll enable all of this directly from within the BTCPay UI and even allow to accept Lightning payments without running a Lightning node.</p></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.boltz.exchange/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">That&#8217;s it for today! Stay tuned by subscribing to our Blog via the button below:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><blockquote><p>Note: One Boltz Client instance can only manage one Lightning node at a time. To manage multiple Lightning nodes, create multiple Boltz Client instances.</p></blockquote></div></div>]]></content:encoded></item><item><title><![CDATA[Dispatching Chain Swaps ⛓️🔁]]></title><description><![CDATA[We are stoked to finally release chain swaps today, enabling users to swap between Liquid and the mainchain with both sides being regular on-chain transactions.]]></description><link>https://blog.boltz.exchange/p/dispatching-chain-swaps</link><guid isPermaLink="false">https://blog.boltz.exchange/p/dispatching-chain-swaps</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Wed, 29 May 2024 16:57:58 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!NR4z!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffebdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Reminiscing about the past year, it was quite the journey to get to today&#8217;s launch. One year ago, we <a href="https://blog.boltz.exchange/p/launching-liquid-swaps-unfairly-cheap">launched Liquid Swaps</a><strong> </strong>as a solution for &#8220;unfairly cheap&#8221; rebalancing of Lightning nodes using the <a href="https://liquid.net/">Liquid</a> sidechain. The idea is simple: volatile miner fees make the mainchain an unreliable tool for rebalancing Lightning channels via <a href="https://bitcoinops.org/en/topics/submarine-swaps/">Submarine Swaps</a>, the by far most popular way to keep channel balances in check. With Liquid Swaps, node runners can rely on cheap network fees when swapping<em> </em>between Lightning and Liquid to obtain in or outbound liquidity.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NR4z!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffebdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NR4z!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffebdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!NR4z!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffebdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!NR4z!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffebdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!NR4z!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffebdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NR4z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffebdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg" width="1024" height="1024" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/febdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;one bitcoin in orange, one in turquoise, connected via an atom, chains flowing in space, digital art&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="one bitcoin in orange, one in turquoise, connected via an atom, chains flowing in space, digital art" title="one bitcoin in orange, one in turquoise, connected via an atom, chains flowing in space, digital art" srcset="https://substackcdn.com/image/fetch/$s_!NR4z!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffebdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!NR4z!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffebdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!NR4z!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffebdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!NR4z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffebdcb8a-66a0-4d04-a645-6d840e320a05_1024x1024.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1>The Problem &#129300;</h1><p>Liquid is a great interim place to hold funds, to &#8220;batch channel rebalances&#8221; so to speak. It is especially popular to obtain Lightning inbound liquidity via Liquid swaps, moving from Lightning into Liquid, inevitably leading to an accumulation of <a href="https://help.blockstream.com/hc/en-us/articles/900001408623-How-does-Liquid-Bitcoin-L-BTC-work">L-BTC</a> in Liquid. Once a certain amount of L-BTC is reached, one would want to move back to the mainchain. To open new Lightning channels, for instance.</p><blockquote><p>But <em>how </em>to get back to the mainchain?</p></blockquote><p>Going back via Lightning doesn&#8217;t make much sense, as this would undo all previous rebalancing, so the only meaningful way is to go directly from Liquid to the mainchain. There are three ways to do so currently:</p><ol><li><p>The <a href="https://help.blockstream.com/hc/en-us/articles/900001551783-What-is-a-Liquid-peg-out">official peg-out mechanism</a>. Problem: it&#8217;s an involved, technical process and only available to <a href="https://help.blockstream.com/hc/en-us/articles/900003013143-What-is-the-Liquid-Federation-#:~:text=The%20Liquid%20Federation%20is%20a,to%20the%20Liquid%20Network's%20operation.">Liquid Federation members</a>.</p></li><li><p>The &#8220;peg-out&#8221; service, offered by <a href="https://sideswap.io/">SideSwap</a>. Problem: it&#8217;s custodial for the duration of the peg-out and might take an hour or more to complete.</p></li><li><p>An exchange like <a href="https://www.bitfinex.com/">Bitfinex</a> or <a href="https://www.btse.com/">BTSE</a>. Problem: it&#8217;s custodial and requires KYCed accounts on these exchanges.</p></li></ol><p>In summary, there is a need for an equally convenient, openly available and <strong>non-custodial</strong> way to move directly between Liquid and the mainchain.</p><h1>The Solution &#129309;</h1><p><strong>Chain Swaps</strong> to the rescue! Today&#8217;s launch adds the missing edge to what we call the <em>Liquid Rebalancing Triangle</em>:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ysUL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb04f646-5122-49d4-af24-acae321ccf7f_1160x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ysUL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb04f646-5122-49d4-af24-acae321ccf7f_1160x768.png 424w, https://substackcdn.com/image/fetch/$s_!ysUL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb04f646-5122-49d4-af24-acae321ccf7f_1160x768.png 848w, https://substackcdn.com/image/fetch/$s_!ysUL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb04f646-5122-49d4-af24-acae321ccf7f_1160x768.png 1272w, https://substackcdn.com/image/fetch/$s_!ysUL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb04f646-5122-49d4-af24-acae321ccf7f_1160x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ysUL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb04f646-5122-49d4-af24-acae321ccf7f_1160x768.png" width="1160" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bb04f646-5122-49d4-af24-acae321ccf7f_1160x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1160,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:92276,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ysUL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb04f646-5122-49d4-af24-acae321ccf7f_1160x768.png 424w, https://substackcdn.com/image/fetch/$s_!ysUL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb04f646-5122-49d4-af24-acae321ccf7f_1160x768.png 848w, https://substackcdn.com/image/fetch/$s_!ysUL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb04f646-5122-49d4-af24-acae321ccf7f_1160x768.png 1272w, https://substackcdn.com/image/fetch/$s_!ysUL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb04f646-5122-49d4-af24-acae321ccf7f_1160x768.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>With Chain Swaps, Lightning node runners are able to keep channels balanced, while conserving the main property that makes Boltz special: never giving up custody of funds.</p><p>Under the hood, Chain Swaps are based on <a href="https://bitcoinops.org/en/topics/taproot/">Taproot</a>, thus inheriting all <a href="https://blog.boltz.exchange/p/introducing-taproot-swaps-putting">Taproot Swaps</a> advantages:</p><ul><li><p><a href="https://blog.boltz.exchange/i/140971242/immediate-cooperative-refunds">Immediate Cooperative Refunds</a> for failed swaps, doing away with any wait time.</p></li><li><p><a href="https://blog.boltz.exchange/i/140971242/cheaper-network-fees">Cheaper Network Fees</a> as cooperative swaps are as small as single-sig spends.</p></li><li><p><a href="https://blog.boltz.exchange/i/140971242/increased-privacy">Increased Privacy</a> through key path spends that don&#8217;t reveal any swap info and hide unused script path spending conditions</p></li></ul><h2>Release Details &#129299;</h2><p><a href="https://github.com/BoltzExchange/boltz-backend/releases/tag/v3.7.0">Backend Release 3.7.0</a>:</p><p>As part of our new backend release for this launch, we finalized our move to <a href="https://api.boltz.exchange/swagger">APIv2</a>, accounting for the new Chain Swap type. It features the following three swap types now: <a href="https://api.boltz.exchange/swagger#/Submarine">Submarine Swaps</a>, <a href="https://api.boltz.exchange/swagger#/Reverse">Reverse Swaps</a> and <a href="https://api.boltz.exchange/swagger#/Chain%20Swap">Chain Swaps</a>. You can checkout the main PR of this release <a href="https://github.com/BoltzExchange/boltz-backend/pull/511">here</a> (beware, it&#8217;s a monster!).</p><p>Changelog Summary:</p><ul><li><p>Chain Swaps across multiple feature commits (<a href="https://github.com/BoltzExchange/boltz-backend/commit/02906af582798790d76e6c67928cbdcd67032b6e">02906af</a>, <a href="https://github.com/BoltzExchange/boltz-backend/commit/f444b116375cef1371c96f52d4c450fd0e3c7ba4">f444b11</a>, <a href="https://github.com/BoltzExchange/boltz-backend/commit/86fc8b7b51f98bd995fba8db31879d53472545bb">86fc8b7</a>, <a href="https://github.com/BoltzExchange/boltz-backend/commit/2ba0a9208dccad35e99966f9e431bce42defbf63">2ba0a92</a>, <a href="https://github.com/BoltzExchange/boltz-backend/commit/d90c7b402d6178bc51fb96ca4a387cfec45314f1">d90c7b4</a>, <a href="https://github.com/BoltzExchange/boltz-backend/commit/3319205e6efa2c5852c6deea72fb1510e765b5de">3319205</a>, <a href="https://github.com/BoltzExchange/boltz-backend/commit/c1f72d309095ae428274e0adc39c2e46fb271f86">c1f72d3</a>) and bug fixes (<a href="https://github.com/BoltzExchange/boltz-backend/commit/c1f72d309095ae428274e0adc39c2e46fb271f86">c1f72d3</a>, <a href="https://github.com/BoltzExchange/boltz-backend/commit/48bd28af471d29b468907e353825c484053c3291">48bd28a</a>, <a href="https://github.com/BoltzExchange/boltz-backend/commit/1eb62d86a668e9c16ef7a859af0865581c1e6764">1eb62d8</a>, <a href="https://github.com/BoltzExchange/boltz-backend/commit/21ae1f4e6ee9a9cf10404eaa283dc31cf2b22a68">21ae1f4</a>, <a href="https://github.com/BoltzExchange/boltz-backend/commit/ddc68782b954f26ff65136a842e15115704a1191">ddc6878</a>)</p></li><li><p>Cooperative chain swap claims &amp; refunds - (<a href="https://github.com/BoltzExchange/boltz-backend/commit/9ba1065b47d87185cbc435ca8d53f62efd775755">9ba1065</a> &amp; <a href="https://github.com/BoltzExchange/boltz-backend/commit/9dbcbf6395515cc812ae5b1eb56ed1f05cda2ee0">9dbcbf6</a>)</p></li><li><p>EVM chain swaps - (<a href="https://github.com/BoltzExchange/boltz-backend/commit/25ef8dd4998d265a70bf3348dc5ebd13c9122241">25ef8dd</a>)</p></li></ul><p><a href="https://github.com/BoltzExchange/boltz-web-app/releases/tag/v1.4.0">Web App Release 1.4.0</a></p><p>Our new web app release, which we deployed today, allows for spontaneous Chain Swaps between Liquid and the mainchain. It includes a major refactor to prepare for more pairs and swap types in future. You can checkout the main PR of this release <a href="https://github.com/BoltzExchange/boltz-web-app/pull/551">here</a>.</p><p>Changelog Summary:</p><ul><li><p>Chain Swaps (<a href="https://github.com/BoltzExchange/boltz-web-app/commit/caffdda5a94b6ddccacaca7eacfb477c2c8da69a">caffdda</a>)</p></li><li><p>Show amount on success page (<a href="https://github.com/BoltzExchange/boltz-web-app/commit/dc5150d75fa1a9f397fc02bd3c5d88bf75ea5049">dc5150d</a>)</p></li><li><p>Optionally play sound on success (<a href="https://github.com/BoltzExchange/boltz-web-app/commit/caa861a81ac8fa7ec0ac9d2268127edcfee525e2">caa861a</a>)</p></li><li><p>Optional Browser Notification (<a href="https://github.com/BoltzExchange/boltz-web-app/commit/e5461f71470356f2b0de1c3e5edab75141a510dd">e5461f7</a>)</p></li></ul><p><a href="https://blog.boltz.exchange/p/launching-boltz-client">Boltz Client</a></p><p>Boltz Client is geared towards Lightning node runners looking to automate the above mentioned Liquid Rebalancing Triangle. It brings its own Liquid wallet system, allows for fine-grained control and full automation of the entire rebalancing flow via its <code>autoswap</code> feature. We didn&#8217;t tag an official release for Chain Swaps in Boltz Client yet, but the <a href="https://github.com/BoltzExchange/boltz-client/pull/133">main PR</a> is merged and <a href="https://github.com/BoltzExchange/boltz-client/pull/139">autoswap features</a> are pretty far along too. Follow our socials to not miss the release!</p><h2>More Use Cases &#128170;</h2><p>In the past year, Liquid Swaps evolved far beyond the channel rebalancing use case. One of the most prominent examples is <a href="https://aquawallet.io/">Aqua</a>, which is a Liquid wallet that allows for sending to and receiving from Lightning via Boltz Liquid Swaps, abstracting away the complexity of managing channel liquidity or backing up channel state. Chain Swaps will allow wallets like Aqua to let users non-custodially move funds between internal wallets, pay to mainchain addresses and top up Liquid spending balance with mainchain bitcoin.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!43S3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe91cfdd1-c718-4bb0-aca3-2ff0959ddece_421x619.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!43S3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe91cfdd1-c718-4bb0-aca3-2ff0959ddece_421x619.png 424w, https://substackcdn.com/image/fetch/$s_!43S3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe91cfdd1-c718-4bb0-aca3-2ff0959ddece_421x619.png 848w, https://substackcdn.com/image/fetch/$s_!43S3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe91cfdd1-c718-4bb0-aca3-2ff0959ddece_421x619.png 1272w, https://substackcdn.com/image/fetch/$s_!43S3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe91cfdd1-c718-4bb0-aca3-2ff0959ddece_421x619.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!43S3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe91cfdd1-c718-4bb0-aca3-2ff0959ddece_421x619.png" width="421" height="619" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e91cfdd1-c718-4bb0-aca3-2ff0959ddece_421x619.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:619,&quot;width&quot;:421,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:76174,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!43S3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe91cfdd1-c718-4bb0-aca3-2ff0959ddece_421x619.png 424w, https://substackcdn.com/image/fetch/$s_!43S3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe91cfdd1-c718-4bb0-aca3-2ff0959ddece_421x619.png 848w, https://substackcdn.com/image/fetch/$s_!43S3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe91cfdd1-c718-4bb0-aca3-2ff0959ddece_421x619.png 1272w, https://substackcdn.com/image/fetch/$s_!43S3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe91cfdd1-c718-4bb0-aca3-2ff0959ddece_421x619.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>While publicly available to anyone, Liquid Pegins, the official mechanism to convert mainchain BTC to L-BTC, have been a notorious pain point in the past. The process is <a href="https://help.blockstream.com/hc/en-us/articles/900000632703-How-do-I-peg-in-BTC-to-the-Liquid-Network">fairly complex</a> and involves a 102 block wait time before funds can be used on the Liquid side. The only alternatives are custodial. Chain Swaps abstract away the technical complexity, do away with the wait time and allow users to stay fully in control of their funds at all times. Finally, Chain Swaps lay the foundation for more Chain Swap pairs like between Rootstock and the mainchain or Liquid and Rootstock in the future.</p><h1>Exchange &#8594; Bridge</h1><p>We also took today&#8217;s launch as an opportunity to change how we describe ourselves:</p><blockquote><p><s>Non-Custodial Bitcoin Exchange</s> &#8594; Non-Custodial Bitcoin Bridge</p></blockquote><p>We are very optimistic and excited about the recent surge in development efforts of new Bitcoin Layers. Our vision is to be the bridge between all Bitcoin Layers that fulfill our requirements:</p><ul><li><p>Verifiably 1:1 backed by mainchain bitcoin</p></li><li><p>Fees denominated in bitcoin</p></li><li><p>Strong security and ecosystem</p></li></ul><p>It was also important to us to do away with the stigma around the term &#8220;exchange&#8221;, which is usually associated with KYCed, custodial platforms and altcoins.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PO0p!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a155c08-d44f-4bd4-9824-2cfd1117aded_1283x1051.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PO0p!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a155c08-d44f-4bd4-9824-2cfd1117aded_1283x1051.png 424w, https://substackcdn.com/image/fetch/$s_!PO0p!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a155c08-d44f-4bd4-9824-2cfd1117aded_1283x1051.png 848w, https://substackcdn.com/image/fetch/$s_!PO0p!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a155c08-d44f-4bd4-9824-2cfd1117aded_1283x1051.png 1272w, https://substackcdn.com/image/fetch/$s_!PO0p!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a155c08-d44f-4bd4-9824-2cfd1117aded_1283x1051.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PO0p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a155c08-d44f-4bd4-9824-2cfd1117aded_1283x1051.png" width="1283" height="1051" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3a155c08-d44f-4bd4-9824-2cfd1117aded_1283x1051.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1051,&quot;width&quot;:1283,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:153141,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!PO0p!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a155c08-d44f-4bd4-9824-2cfd1117aded_1283x1051.png 424w, https://substackcdn.com/image/fetch/$s_!PO0p!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a155c08-d44f-4bd4-9824-2cfd1117aded_1283x1051.png 848w, https://substackcdn.com/image/fetch/$s_!PO0p!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a155c08-d44f-4bd4-9824-2cfd1117aded_1283x1051.png 1272w, https://substackcdn.com/image/fetch/$s_!PO0p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a155c08-d44f-4bd4-9824-2cfd1117aded_1283x1051.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1>Next up &#9197;&#65039;</h1><ul><li><p>Finalize Chain Swap integration in Boltz Client</p></li><li><p>Integrate Boltz Client into BTCPay and other UIs</p></li><li><p>Rootstock Swaps</p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.boltz.exchange/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">That's it, that&#8217;s all! Subscribe to not miss anything important about Boltz!</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div></li></ul>]]></content:encoded></item><item><title><![CDATA[Launching Boltz Client 🚀]]></title><description><![CDATA[Today we are excited to launch Boltz Client, a swap client for Lightning node runners that connects to CLN or LND nodes and allows for automated, unfairly cheap channel rebalancing]]></description><link>https://blog.boltz.exchange/p/launching-boltz-client</link><guid isPermaLink="false">https://blog.boltz.exchange/p/launching-boltz-client</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Thu, 14 Mar 2024 18:18:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!lbW4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>For those short on time, here's a quick overview of the key features of <a href="https://github.com/BoltzExchange/boltz-client">Boltz Client</a>:</p><ul><li><p>&#9889; <a href="https://github.com/ElementsProject/lightning">CLN</a>-first: first-class citizen support for CLN in addition to LND</p></li><li><p>&#127754; <a href="https://liquid.net/">Liquid</a>-first: optimized UX for channel rebalancing using Liquid swaps</p></li><li><p>&#129365; <a href="https://bitcoinops.org/en/topics/taproot/">Taproot</a>-first: full support of <a href="https://blog.boltz.exchange/p/introducing-taproot-swaps-putting">Taproot Swaps</a> and Boltz API v2</p></li><li><p>&#128091; Integrated Liquid &amp; mainchain wallets: create, import &amp; swap to cold wallets</p></li><li><p>&#129302; Autoswap: fine-grained control for automated channel rebalancing</p></li><li><p>&#11014;&#65039; Backward compatible: Upgrade from <a href="https://github.com/BoltzExchange/boltz-client/releases/tag/v1.2.7">Boltz LND</a></p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lbW4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lbW4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png 424w, https://substackcdn.com/image/fetch/$s_!lbW4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png 848w, https://substackcdn.com/image/fetch/$s_!lbW4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png 1272w, https://substackcdn.com/image/fetch/$s_!lbW4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lbW4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png" width="1456" height="1457" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1457,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2988145,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lbW4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png 424w, https://substackcdn.com/image/fetch/$s_!lbW4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png 848w, https://substackcdn.com/image/fetch/$s_!lbW4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png 1272w, https://substackcdn.com/image/fetch/$s_!lbW4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b100d00-8ed7-4353-86ff-547680bc4ac2_1478x1479.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Who isn&#8217;t into professionally post-edited AI-generated images of robots&#8230;</figcaption></figure></div><h1>What is Boltz Client?</h1><h2>History</h2><p>Boltz Client is based on Boltz LND and written in <code>go</code>. Boltz LND was our go-to swap client for LND runners est 2020. It was built for a very simple purpose: let LND runners swap between Lightning and the Bitcoin mainchain on demand to rebalance channels.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!geOO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F515f8395-a06a-4056-84d2-28fd4a6bac2c_1149x611.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!geOO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F515f8395-a06a-4056-84d2-28fd4a6bac2c_1149x611.png 424w, https://substackcdn.com/image/fetch/$s_!geOO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F515f8395-a06a-4056-84d2-28fd4a6bac2c_1149x611.png 848w, https://substackcdn.com/image/fetch/$s_!geOO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F515f8395-a06a-4056-84d2-28fd4a6bac2c_1149x611.png 1272w, https://substackcdn.com/image/fetch/$s_!geOO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F515f8395-a06a-4056-84d2-28fd4a6bac2c_1149x611.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!geOO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F515f8395-a06a-4056-84d2-28fd4a6bac2c_1149x611.png" width="1149" height="611" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/515f8395-a06a-4056-84d2-28fd4a6bac2c_1149x611.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:611,&quot;width&quot;:1149,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:103497,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!geOO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F515f8395-a06a-4056-84d2-28fd4a6bac2c_1149x611.png 424w, https://substackcdn.com/image/fetch/$s_!geOO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F515f8395-a06a-4056-84d2-28fd4a6bac2c_1149x611.png 848w, https://substackcdn.com/image/fetch/$s_!geOO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F515f8395-a06a-4056-84d2-28fd4a6bac2c_1149x611.png 1272w, https://substackcdn.com/image/fetch/$s_!geOO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F515f8395-a06a-4056-84d2-28fd4a6bac2c_1149x611.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><a href="https://github.com/BoltzExchange/boltz-client/releases/tag/v1.0.0">First Boltz LND release</a> from 2020</figcaption></figure></div><p>Initially, Boltz LND was a standalone CLI-based client, but later it was integrated in UI-based tools like the popular <a href="https://github.com/Ride-The-Lightning/RTL/pull/590">Ride The Lightning</a> node management software.</p><div class="pullquote"><p>We estimate Boltz LND to be running on 1k+ Lightning nodes today. All these will be able to seamlessly upgrade to Boltz Client in the coming weeks.  </p></div><h2>CLN &amp; The Path to Multi-Implementation</h2><p>With CLN gaining popularity for its focus on performance and stability, along with the support in popular lightning tooling, we are excited to add Boltz Client to the growing CLN ecosystem today. Boltz Client uses CLN&#8217;s gRPC (<a href="https://github.com/ElementsProject/lightning/issues/6735">missing calls were swiftly added</a> by the CLN team &#128588;), and the upcoming 0.15.1 release of Ride The Lightning will <a href="https://github.com/Ride-The-Lightning/RTL/pull/1352">fully support Boltz Swaps for CLN nodes</a> through its UI. This lays the foundation for integration of more Lightning implementations in the future.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!obe7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc5e6428-9002-4077-a67d-0132661dfd56_1916x973.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!obe7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc5e6428-9002-4077-a67d-0132661dfd56_1916x973.png 424w, https://substackcdn.com/image/fetch/$s_!obe7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc5e6428-9002-4077-a67d-0132661dfd56_1916x973.png 848w, https://substackcdn.com/image/fetch/$s_!obe7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc5e6428-9002-4077-a67d-0132661dfd56_1916x973.png 1272w, https://substackcdn.com/image/fetch/$s_!obe7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc5e6428-9002-4077-a67d-0132661dfd56_1916x973.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!obe7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc5e6428-9002-4077-a67d-0132661dfd56_1916x973.png" width="1456" height="739" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dc5e6428-9002-4077-a67d-0132661dfd56_1916x973.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:739,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:163554,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!obe7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc5e6428-9002-4077-a67d-0132661dfd56_1916x973.png 424w, https://substackcdn.com/image/fetch/$s_!obe7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc5e6428-9002-4077-a67d-0132661dfd56_1916x973.png 848w, https://substackcdn.com/image/fetch/$s_!obe7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc5e6428-9002-4077-a67d-0132661dfd56_1916x973.png 1272w, https://substackcdn.com/image/fetch/$s_!obe7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc5e6428-9002-4077-a67d-0132661dfd56_1916x973.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Boltz Swaps in <a href="https://github.com/Ride-The-Lightning/RTL/milestone/41">upcoming Ride The Lightning release</a> with CLN</figcaption></figure></div><h2>Liquid &amp; Taproot</h2><p>Boltz Client ships with full support of <a href="https://blog.boltz.exchange/p/launching-liquid-swaps-unfairly-cheap">Liquid</a> &amp; <a href="https://blog.boltz.exchange/p/introducing-taproot-swaps-putting">Taproot Swaps</a> and the brand-new <a href="https://docs.boltz.exchange/v/api/api-v2">Boltz API v2</a>. This means all Taproot Swaps-inherited features like <a href="https://blog.boltz.exchange/i/140971242/immediate-cooperative-refunds">immediate cooperative refunds</a>, <a href="https://blog.boltz.exchange/i/140971242/increased-swap-reliability">increased swap reliability</a>, <a href="https://blog.boltz.exchange/i/140971242/cheaper-network-fees">cheaper network fees</a> &amp; <a href="https://blog.boltz.exchange/i/140971242/increased-privacy">increased privacy</a> are directly available in Boltz Client from the get-go.</p><p>Also, Boltz Client brings its own wallet system for Liquid and the Bitcoin mainchain, powered by Blockstream&#8217;s <a href="https://github.com/Blockstream/gdk">GDK</a>. This gives users an extensive set of options: </p><ul><li><p>Use the connected Lightning node&#8217;s internal wallet for mainchain swaps</p></li><li><p>Import an existing Liquid/mainchain wallet seed, e.g. from <a href="https://blockstream.com/green/">Blockstream Green</a></p></li><li><p>Create a new Liquid/mainchain wallet</p></li></ul><ul><li><p>Import a cold wallet xpub/descriptor as swap destination</p></li><li><p>Swap from/to external addresses</p></li></ul><p>A very nice side-effect of the integrated wallet system is that Boltz Client can automate refunds for Chain &#8594; Lightning swaps now, as it has access to wallets to pull addresses for refunds. Automating refunds is the last missing piece for a polished UX of Boltz Swaps: if something goes wrong, funds return automatically and immediately.</p><h2>Autoswap</h2><p>The flagship feature of Boltz Client is called Autoswap. As the name suggests, it let&#8217;s Lightning node runners set up a configuration for which swaps will be performed automatically to keep channels balanced:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HAKF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82d7ee51-3256-45f9-9b81-8514a811ca55_1205x304.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HAKF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82d7ee51-3256-45f9-9b81-8514a811ca55_1205x304.png 424w, https://substackcdn.com/image/fetch/$s_!HAKF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82d7ee51-3256-45f9-9b81-8514a811ca55_1205x304.png 848w, https://substackcdn.com/image/fetch/$s_!HAKF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82d7ee51-3256-45f9-9b81-8514a811ca55_1205x304.png 1272w, https://substackcdn.com/image/fetch/$s_!HAKF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82d7ee51-3256-45f9-9b81-8514a811ca55_1205x304.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HAKF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82d7ee51-3256-45f9-9b81-8514a811ca55_1205x304.png" width="1205" height="304" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/82d7ee51-3256-45f9-9b81-8514a811ca55_1205x304.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:304,&quot;width&quot;:1205,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:69098,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!HAKF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82d7ee51-3256-45f9-9b81-8514a811ca55_1205x304.png 424w, https://substackcdn.com/image/fetch/$s_!HAKF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82d7ee51-3256-45f9-9b81-8514a811ca55_1205x304.png 848w, https://substackcdn.com/image/fetch/$s_!HAKF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82d7ee51-3256-45f9-9b81-8514a811ca55_1205x304.png 1272w, https://substackcdn.com/image/fetch/$s_!HAKF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82d7ee51-3256-45f9-9b81-8514a811ca55_1205x304.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Liquid wallet selection in Autoswap setup via boltzcli</figcaption></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VEBI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F984984d4-a329-42ff-b53f-751b3df81082_1427x181.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VEBI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F984984d4-a329-42ff-b53f-751b3df81082_1427x181.png 424w, https://substackcdn.com/image/fetch/$s_!VEBI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F984984d4-a329-42ff-b53f-751b3df81082_1427x181.png 848w, https://substackcdn.com/image/fetch/$s_!VEBI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F984984d4-a329-42ff-b53f-751b3df81082_1427x181.png 1272w, https://substackcdn.com/image/fetch/$s_!VEBI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F984984d4-a329-42ff-b53f-751b3df81082_1427x181.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VEBI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F984984d4-a329-42ff-b53f-751b3df81082_1427x181.png" width="1427" height="181" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/984984d4-a329-42ff-b53f-751b3df81082_1427x181.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:181,&quot;width&quot;:1427,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:57851,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!VEBI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F984984d4-a329-42ff-b53f-751b3df81082_1427x181.png 424w, https://substackcdn.com/image/fetch/$s_!VEBI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F984984d4-a329-42ff-b53f-751b3df81082_1427x181.png 848w, https://substackcdn.com/image/fetch/$s_!VEBI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F984984d4-a329-42ff-b53f-751b3df81082_1427x181.png 1272w, https://substackcdn.com/image/fetch/$s_!VEBI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F984984d4-a329-42ff-b53f-751b3df81082_1427x181.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Autoswap setup guides through the major configuration options</figcaption></figure></div><p>In the basic example above, we instructed Autoswap to rebalance our total channel balances to 37.5% outbound with a maximum total of 100k sats to be spent on fees within 7 days if our total outbound capacity exceeds 75%.</p><h2>Download</h2><p>Today we are making Boltz Client available to the general public. Big shout-out to our newest team member <a href="https://github.com/jackstar12">Jackstar</a> who brought Boltz Client to life &#128074;</p><p>Docs are available <a href="https://docs.boltz.exchange/v/boltz-client">here</a> and you can grab the latest release &#128073; <a href="https://github.com/BoltzExchange/boltz-client/releases">here</a> &#128072; ! </p><h1>What's Next</h1><ul><li><p>Release full <a href="https://github.com/Ride-The-Lightning/RTL/pull/1352">CLN support for Boltz Swaps in RTL</a>, deploy to Umbrel, Start9 etc.</p></li><li><p><a href="https://twitter.com/kilrau/status/1767869615768473960">Taproot-based L-BTC/BTC &#9939;&#65039;-to-&#9939;&#65039; swaps</a>, which will allow Autoswap to unleash Liquid&#8217;s full potential for channel rebalancing by periodically moving funds back to the Bitcoin mainchain either based on amount accumulated in Liquid or based on the current Bitcoin mainchain miner fee level.</p></li><li><p>A UI. We are aware that, while powerful, CLI is not for everyone. That&#8217;s why we started working on a native UI for Boltz Client with a tailored UX for rebalancing nodes and controlling Autoswap.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!a3PY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ceeb967-3f12-432d-afaf-dea16ae46ac1_1024x932.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!a3PY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ceeb967-3f12-432d-afaf-dea16ae46ac1_1024x932.png 424w, https://substackcdn.com/image/fetch/$s_!a3PY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ceeb967-3f12-432d-afaf-dea16ae46ac1_1024x932.png 848w, https://substackcdn.com/image/fetch/$s_!a3PY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ceeb967-3f12-432d-afaf-dea16ae46ac1_1024x932.png 1272w, https://substackcdn.com/image/fetch/$s_!a3PY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ceeb967-3f12-432d-afaf-dea16ae46ac1_1024x932.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!a3PY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ceeb967-3f12-432d-afaf-dea16ae46ac1_1024x932.png" width="1024" height="932" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7ceeb967-3f12-432d-afaf-dea16ae46ac1_1024x932.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:932,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:506757,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!a3PY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ceeb967-3f12-432d-afaf-dea16ae46ac1_1024x932.png 424w, https://substackcdn.com/image/fetch/$s_!a3PY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ceeb967-3f12-432d-afaf-dea16ae46ac1_1024x932.png 848w, https://substackcdn.com/image/fetch/$s_!a3PY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ceeb967-3f12-432d-afaf-dea16ae46ac1_1024x932.png 1272w, https://substackcdn.com/image/fetch/$s_!a3PY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ceeb967-3f12-432d-afaf-dea16ae46ac1_1024x932.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">PoC of a Web App build connected to Boltz Client</figcaption></figure></div></li></ul><h2>We&#8217;d love to hear from you!</h2><p>We acknowledge that perfection is elusive, and Boltz Client is no exception. We value your feedback, bug reports, and feature requests, which can be shared through <a href="https://github.com/BoltzExchange/boltz-client/">GitHub</a>, <a href="https://twitter.com/boltzhq">X</a>, <a href="https://snort.social/p/npub1psm37hke2pmxzdzraqe3cjmqs28dv77da74pdx8mtn5a0vegtlas9q8970">Nostr</a>, or our <a href="https://discord.gg/QBvZGcW">Discord server</a>!</p>]]></content:encoded></item><item><title><![CDATA[Introducing Taproot Swaps: Putting the "Fun" Back into Refunds! 🥕🔁]]></title><description><![CDATA[Today we are stoked to announce Taproot Swaps, a long anticipated upgrade that enables more private swaps with a smaller chain footprint and finally does away with the annoying wait time for refunds.]]></description><link>https://blog.boltz.exchange/p/introducing-taproot-swaps-putting</link><guid isPermaLink="false">https://blog.boltz.exchange/p/introducing-taproot-swaps-putting</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Thu, 25 Jan 2024 14:14:37 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!F5dH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>After the availability of Taproot on the <a href="https://bitcoinmagazine.com/technical/bitcoin-taproot-explainer">Bitcoin mainchain in late 2021</a> and the <a href="https://blog.liquid.net/taproot-on-liquid-is-now-live/">Liquid Network in early 2022</a>, today we are launching <strong>Taproot Swaps. </strong>This upgrade leverages Taproot&#8217;s Schnorr signatures to enable cheaper and more private swaps. Taproot&#8217;s features also allowed us to implement <strong>Immediate Cooperative Refunds</strong>, our flagship feature for this release, which dramatically improves UX as now users can get their locked bitcoin back immediately if a swap fails.</p><p>Let&#8217;s dive in.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!F5dH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!F5dH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!F5dH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!F5dH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!F5dH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!F5dH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg" width="1024" height="1024" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:233929,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!F5dH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!F5dH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!F5dH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!F5dH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F647d3e70-f8a6-480c-b1bf-03d85978c440_1024x1024.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Bitcoin, a place where carrots go really well with electric charges and water.</figcaption></figure></div><h1>Immediate Cooperative Refunds &#129309;</h1><p>These refunds, as the name suggests, allow for <em>immediate</em> refunding. No biggie, right? Well, it actually is because it does away with one of the most pressing pain points for our users. But let&#8217;s take two steps back and first digest the concept of refunds at Boltz:</p><h3>What are refunds?</h3><p>In the context of Boltz swaps, refunds are the process of users reclaiming chain bitcoin, like L-BTC or mainchain BTC, of a failed swap. Refunds only apply to <strong>Chain &#8594; Lightning</strong> swaps, whereas Lightning &#8594; Chain swaps do <em>not</em> require refunds, because here Lightning funds automatically bounce back to users if something goes wrong.</p><p>Bitcoin which are locked in a failed Chain &#8594; Lightning swap cannot &#8220;bounce back&#8221; or even get &#8220;refunded automatically&#8221;, as Boltz does not have control over the locked bitcoins. The user is in control, which is why refunds need to be actively triggered by e.g. using the &#8220;Refund&#8221; tab on <a href="https://boltz.exchange/refund">boltz.exchange</a>:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WIjx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0377a7fe-178a-4894-af56-237c12b51b7c_1096x591.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WIjx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0377a7fe-178a-4894-af56-237c12b51b7c_1096x591.png 424w, https://substackcdn.com/image/fetch/$s_!WIjx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0377a7fe-178a-4894-af56-237c12b51b7c_1096x591.png 848w, https://substackcdn.com/image/fetch/$s_!WIjx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0377a7fe-178a-4894-af56-237c12b51b7c_1096x591.png 1272w, https://substackcdn.com/image/fetch/$s_!WIjx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0377a7fe-178a-4894-af56-237c12b51b7c_1096x591.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WIjx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0377a7fe-178a-4894-af56-237c12b51b7c_1096x591.png" width="1096" height="591" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0377a7fe-178a-4894-af56-237c12b51b7c_1096x591.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:591,&quot;width&quot;:1096,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:75265,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WIjx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0377a7fe-178a-4894-af56-237c12b51b7c_1096x591.png 424w, https://substackcdn.com/image/fetch/$s_!WIjx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0377a7fe-178a-4894-af56-237c12b51b7c_1096x591.png 848w, https://substackcdn.com/image/fetch/$s_!WIjx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0377a7fe-178a-4894-af56-237c12b51b7c_1096x591.png 1272w, https://substackcdn.com/image/fetch/$s_!WIjx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0377a7fe-178a-4894-af56-237c12b51b7c_1096x591.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The reasons why Chain &#8594; Lightning swaps can fail are multifold, but the two major failure reasons are:</p><ul><li><p>Users sending too little. Which often happens by accident as wallets deduct network fees <em>from the send amount</em> without making this very clear.</p></li><li><p>Boltz can&#8217;t pay the user&#8217;s lightning invoice. Which itself can happen for a number of reasons, for instance:</p><ul><li><p>Swapping to a small personal node which doesn&#8217;t have enough inbound liquidity or just isn&#8217;t well connected enough for us to find a route.</p></li><li><p>Swapping to a mobile lightning wallet and LSP failed to open channels or splice-in on-the-fly or <a href="https://github.com/ACINQ/phoenix/issues/507">the costs for this service were exceeding user-set limits</a>.</p></li><li><p>User doesn&#8217;t open mobile lightning wallet in time.</p></li><li><p>Swapping to a very popular node, like a lightning deposit on a CEX, and we didn&#8217;t find a route within our generous (currently 3000ppm) fee limits.</p></li></ul></li></ul><p>Moving on.</p><h3>Why the wait time until now?</h3><p>To successfully claim a refund, up until today two crucial conditions needed to be met:</p><ol><li><p>Possession of the private key to claim the refund</p></li><li><p>Timeout block height of the swap reached</p></li></ol><p>It was the second condition that drove us and our users crazy and we absolutely understand that after the frustrating experience of a failed swap, a wait time of a day or even up to 4 (!) days before one could get the locked bitcoin back, is simply adding insult to injury. But why did one need to wait until refunds could be claimed?</p><p>Boltz uses a pretty standard <a href="https://en.bitcoin.it/wiki/Atomic_swap">Atomic Swap Protocol</a>, leveraging <em>Hash Time Locked Contracts</em> or <em>HTLCs</em> for short. This means, swaps are secured by a time-lock <em>and </em>a hash-lock. The hash-lock, used when everything goes as planned, unlocks both swap transactions with a secret that the user controls. Here a video for the ones interested in more details and a hands-on demo:</p><div id="youtube2-TFBL1UpkDUs" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;TFBL1UpkDUs&quot;,&quot;startTime&quot;:&quot;240&quot;,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/TFBL1UpkDUs?start=240&amp;rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>But the crucial element for the wait time is the <strong>time-lock</strong>. It secures the atomic swap by giving both parties <em>timeouts</em>. These timeouts are important as they give both sides enough time to complete their part of the swap protocol. The algorithm outlined <a href="https://en.bitcoin.it/wiki/Atomic_swap">here</a> describes this with an example. In conclusion:</p><div class="pullquote"><p>It&#8217;s the previously agreed-upon timeouts that Boltz users needed to wait before they could claim their refund.</p></div><h3>How Cooperation Enables Immediate Refunds</h3><p>Taproot Swaps to the rescue! Today, we are excited to finally do away with waiting &#129395;</p><p>How? Let&#8217;s start with the insight that all Atomic Swap primitives described above still hold true. With Taproot Swaps we simply added one <em>additional</em> way to refund, based on the idea:</p><blockquote><p>&#8220;What if both parties talk to each other and agree on an earlier refund?&#8221;</p></blockquote><p>We can already derive that the requirement for the concept to work is for both parties, users and Boltz, to have a way to exchange information. As Boltz is always online and ready to talk via its API, it just needs the user to do so via a Boltz client like our <a href="https://boltz.exchange/">Web App</a>. Here is how it works:</p><p>When a new Taproot Swap is created, we use <a href="https://github.com/bitcoin/bips/blob/master/bip-0327.mediawiki">Musig2</a> to aggregate a Schnorr public key by combining a public key from the user with one of Boltz. This aggregated public key then gets tweaked with the hash of scripts. As of today, we are using two scripts: one to claim bitcoins for successful swaps and one to refund for failed swaps. This structure allows for three ways of spending:</p><ol><li><p>The claim script</p></li><li><p>The refund script</p></li><li><p>An aggregated signature created by the two private keys of the public keys with which the aggregated public key was created</p></li></ol><p>Using an aggregated signature to spend is called <em>key path spend</em> in the context of Taproot. This can be done when all parties, in our case the user and us, agree on spending bitcoins this way. This is precisely what Cooperative Immediate Refunds do.</p><p>Stating the obvious, if Boltz should disappear or refuse to cooperate in a refund, the previously described time-lock applies, and users can safely get their bitcoin back via the refund script path after the timeout block height was reached.</p><h1>Increased Swap Reliability</h1><p>Now that users can refund immediately, we can safely increase swap timeouts from previously 1-4 days to now 7 days. But why do that?</p><p>Let&#8217;s start by embracing the fact that atomic swaps technically do not have one single timeout, but two. These timeouts are mostly called <em>expiry</em> in a technical context. And one expiry in a swap depends on the other. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YQXY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2d083de-8642-4eaa-982a-94132e436da9_3744x2092.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YQXY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2d083de-8642-4eaa-982a-94132e436da9_3744x2092.png 424w, https://substackcdn.com/image/fetch/$s_!YQXY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2d083de-8642-4eaa-982a-94132e436da9_3744x2092.png 848w, https://substackcdn.com/image/fetch/$s_!YQXY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2d083de-8642-4eaa-982a-94132e436da9_3744x2092.png 1272w, https://substackcdn.com/image/fetch/$s_!YQXY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2d083de-8642-4eaa-982a-94132e436da9_3744x2092.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YQXY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2d083de-8642-4eaa-982a-94132e436da9_3744x2092.png" width="1456" height="814" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a2d083de-8642-4eaa-982a-94132e436da9_3744x2092.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:814,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:469905,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!YQXY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2d083de-8642-4eaa-982a-94132e436da9_3744x2092.png 424w, https://substackcdn.com/image/fetch/$s_!YQXY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2d083de-8642-4eaa-982a-94132e436da9_3744x2092.png 848w, https://substackcdn.com/image/fetch/$s_!YQXY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2d083de-8642-4eaa-982a-94132e436da9_3744x2092.png 1272w, https://substackcdn.com/image/fetch/$s_!YQXY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2d083de-8642-4eaa-982a-94132e436da9_3744x2092.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Atomic Swap HTLC expiry gotchas in a nutshell Source: <a href="https://comit.network/docs/core-concepts/atomic-swap-htlc#htlc-expiries">COMIT</a></figcaption></figure></div><p>As illustrated in <a href="https://comit.network/docs/core-concepts/atomic-swap-htlc#htlc-expiries">these great slides</a> by the COMIT team (&#129761; <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Philipp Hoenisch&quot;,&quot;id&quot;:116945685,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/2956c43e-6434-4277-8407-5b671655715d_400x400.jpeg&quot;,&quot;uuid&quot;:&quot;2d311249-ec89-433c-bb67-4483baaefe7a&quot;}" data-component-name="MentionToDOM"></span>), we have a shorter yellow, and a longer blue expiry. For Boltz Swaps, users have the longer blue expiry and Boltz the shorter yellow expiry.</p><p>This is where it gets interesting: For Chain &#8594; Lightning swaps, Boltz&#8217;s shorter yellow expiry corresponds to the lightning payment. And this lightning payment is heavily restricted: Boltz has to find a route to deliver the payment within the so-called <a href="https://docs.lightning.engineering/the-lightning-network/multihop-payments/timelocks#docs-internal-guid-0730def9-7fff-d01f-706d-cd4c3af5f3e0">CLTV</a> limit, the limit that makes sure that the expiry of the lightning route is within the swaps (yellow) expiry!  If we take, for example, the minimum 24h swap expiry, Boltz is restricted to routes within a CLTV of 22h or less. Which is fine, if there are decent two-hop routes or even a direct channel to the destination (by default most nodes add around 13h per hop). But it&#8217;s an issue with most 3-hop routes already. That&#8217;s why, so far, Boltz dynamically chose swap expiry. Swap expiry is set longer the worse the connectivity to the destination is, to increase chances of finding a route within CLTV limits. So, the trade-off was: payment success probability vs. user wait time for refunds if the swap fails.</p><div class="pullquote"><p>No more trade-offs with Taproot Swaps. Because users can refund immediately, we could substantially increase swap expiry, without annoying users with long wait times for refunds. This greatly increases the selection of routes available to our nodes to deliver payments and thus greatly improves payment success rate and overall reliability of Chain &#8594; Lightning swaps.</p></div><p>Please note: Refunding immediately is optional, users can refund at any time after the expiry just like pre-Taproot Swaps.</p><h1>Cheaper Network Fees &#129776;</h1><p>The reduction in network fees of Taproot Swaps, is partly because of the smaller on-chain footprint of Schnorr Signatures (64 instead of 72 bytes) but mainly because now it is a single signature instead of script + preimage + signature that is pushed on-chain.</p><p>But screenshots speak louder than words:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-lcD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05d3e019-8ef8-4a73-8513-78e92a917b8d_883x360.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-lcD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05d3e019-8ef8-4a73-8513-78e92a917b8d_883x360.png 424w, https://substackcdn.com/image/fetch/$s_!-lcD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05d3e019-8ef8-4a73-8513-78e92a917b8d_883x360.png 848w, https://substackcdn.com/image/fetch/$s_!-lcD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05d3e019-8ef8-4a73-8513-78e92a917b8d_883x360.png 1272w, https://substackcdn.com/image/fetch/$s_!-lcD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05d3e019-8ef8-4a73-8513-78e92a917b8d_883x360.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-lcD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05d3e019-8ef8-4a73-8513-78e92a917b8d_883x360.png" width="883" height="360" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/05d3e019-8ef8-4a73-8513-78e92a917b8d_883x360.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:360,&quot;width&quot;:883,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:69887,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!-lcD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05d3e019-8ef8-4a73-8513-78e92a917b8d_883x360.png 424w, https://substackcdn.com/image/fetch/$s_!-lcD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05d3e019-8ef8-4a73-8513-78e92a917b8d_883x360.png 848w, https://substackcdn.com/image/fetch/$s_!-lcD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05d3e019-8ef8-4a73-8513-78e92a917b8d_883x360.png 1272w, https://substackcdn.com/image/fetch/$s_!-lcD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05d3e019-8ef8-4a73-8513-78e92a917b8d_883x360.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Fees before and after: a ~10% reduction, depending on swap type</figcaption></figure></div><h1>Increased Privacy &#129400;</h1><p>The privacy gains of Taproot Swaps are directly inherited from Taproot itself: all successful swaps look the same on-chain. For the vast majority of swaps, key path spends don&#8217;t reveal any script at all and appear to be single signature spends. Previously, an advanced entity could scan the chain for atomic swap scripts and like this find transactions that were involved in an atomic swap.</p><p>Adding onto above explanation of key path spends, spending with a script is called <em>script path spend</em> in Taproot. It is effectively the same concept as the Pay-to-Witness-Script-Hash address we used to have. A script is pushed on-chain and that script needs to evaluate to true to be able to be spent. The advantage of Taproot is that not all the possible spend conditions have to be in this script and separated by if/else, but different conditions can be in <em>different</em> scripts. When spending, only the script you want to execute has to be revealed on-chain. So even when Boltz is offline or not cooperating, Taproot still provides increased privacy compared to P2WSH. Nice, right?</p><p>Here a sample of how our <a href="https://blockstream.info/testnet/tx/26d6e692f60f00ad1cd6ae07d31d2f3296d5eeabab03c08bd54eea35c143bca7?input:0&amp;expand">new taproot swaps</a> look on the chain compared to <a href="https://blockstream.info/testnet/tx/da94bfbcb47a69315096383e55ed56a30d503ca33b2ca30c284cf6cc382ce190?input:0&amp;expand">legacy swaps</a>:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nz2p!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd7a9d5-16ee-4dc7-8b8e-8c5087e14c16_2540x790.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nz2p!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd7a9d5-16ee-4dc7-8b8e-8c5087e14c16_2540x790.png 424w, https://substackcdn.com/image/fetch/$s_!nz2p!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd7a9d5-16ee-4dc7-8b8e-8c5087e14c16_2540x790.png 848w, https://substackcdn.com/image/fetch/$s_!nz2p!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd7a9d5-16ee-4dc7-8b8e-8c5087e14c16_2540x790.png 1272w, https://substackcdn.com/image/fetch/$s_!nz2p!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd7a9d5-16ee-4dc7-8b8e-8c5087e14c16_2540x790.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nz2p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd7a9d5-16ee-4dc7-8b8e-8c5087e14c16_2540x790.png" width="1456" height="453" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8fd7a9d5-16ee-4dc7-8b8e-8c5087e14c16_2540x790.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:453,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:358999,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!nz2p!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd7a9d5-16ee-4dc7-8b8e-8c5087e14c16_2540x790.png 424w, https://substackcdn.com/image/fetch/$s_!nz2p!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd7a9d5-16ee-4dc7-8b8e-8c5087e14c16_2540x790.png 848w, https://substackcdn.com/image/fetch/$s_!nz2p!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd7a9d5-16ee-4dc7-8b8e-8c5087e14c16_2540x790.png 1272w, https://substackcdn.com/image/fetch/$s_!nz2p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fd7a9d5-16ee-4dc7-8b8e-8c5087e14c16_2540x790.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Before <code>P2WSH</code>, now <code>P2TR</code></figcaption></figure></div><h1>Easier Upgrades &#128170;</h1><p>The new script path of Taproot Swaps enables us to deploy more upgrades in future by adding new script paths, and most notably <strong>without</strong> increasing costs for users as only the used script is pushed on-chain. For instance, one idea we are pursuing is to leverage covenants to improve a rare, but very ugly kind of refund: users<em> overpaying</em> in Chain &#8594; Lightning swaps. There is no way one can prevent this for chain payments. Making things worse, users usually overpay <strong>a lot</strong> (e.g. adding an additional zero) and so far we are relying on them contacting us and manually return the overpaid amount. Covenants, which can be added in additional script paths and are <a href="https://blog.blockstream.com/covenants-in-production-on-liquid/">already available on Liquid</a>, would allow for making this <a href="https://github.com/BoltzExchange/boltz-backend/issues/464">refund process completely non-custodial</a> without our involvement.</p><p>So, we are actually excited about &#8220;covenants on the Bitcoin mainchain&#8221;, but not because of &#8220;Vaults&#8221; or &#8220;Lightning&#8221; but because they have the potential to improve UX for our users.</p><h1>Release Details &#129299;</h1><p><a href="https://github.com/BoltzExchange/boltz-backend/releases/tag/v3.4.0">Backend Release 3.4.0</a></p><ul><li><p>Changelog summary:</p><ul><li><p>Taproot Swaps with MuSig</p></li><li><p>APIv2 basic calls &amp; Swagger specs</p></li><li><p>Move backend to PostgreSQL database</p></li><li><p>Enable CLN mpay payments for swaps</p></li><li><p>Fix LND payment edge cases</p></li></ul></li><li><p>Code highlights:</p><ul><li><p><a href="https://github.com/BoltzExchange/boltz-core/blob/v2.0.2/lib/swap/SwapTree.ts">SwapTree</a></p></li><li><p><a href="https://github.com/BoltzExchange/boltz-core/blob/v2.0.2/lib/musig/Musig.ts">MuSig Wrapper Class</a></p></li><li><p><a href="https://github.com/BoltzExchange/boltz-core/blob/v2.0.2/test/integration/swapTree/SwapTreeClaim.spec.ts#L32">Integration Tests for Key Path Spend</a></p></li></ul></li></ul><p><a href="https://github.com/BoltzExchange/boltz-web-app/releases/tag/v1.3.0">Web App Release 1.3.0</a></p><ul><li><p>Changelog summary:</p><ul><li><p>Integrate APIv2 &amp; Taproot Swaps</p></li><li><p>Immediate Cooperative Refunds flow</p></li><li><p>Add QR code scanner for mobile</p></li><li><p>TypeScript refactor</p></li></ul></li></ul><p>As one can see, we are in the process of moving to a new API v2, which structures things a bit better and, most notably, will support Taproot Swaps  - <strong>only</strong>. And while we are committed to fully maintain our existing API v1 endpoints as-is, Taproot Swaps and other new features will only be available on v2 going forward. </p><h1>Next up &#9197;&#65039;</h1><ul><li><p>&#129302; Finalize APIv2</p></li><li><p>&#9939;&#65039; L-BTC/BTC swaps, our first chain-to-chain pair</p></li><li><p>&#9889; RBTC/LN swaps (already available on <a href="https://testnet.boltz.exchange/">testnet</a>)</p></li><li><p>&#127754; Advanced tools for channel rebalancing using Liquid Swaps</p></li><li><p>&#127978; Merchant/POS integration of Liquid Swaps</p></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.boltz.exchange/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">That's it, that&#8217;s all! Subscribe to not miss anything important about Boltz!</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Introducing Our New Boltz Web App]]></title><description><![CDATA[We are thrilled to finally ship our all-new web app, bringing together Liquid & Bitcoin mainchain swaps under one roof, enabling swaps to taproot addresses & more &#128293;]]></description><link>https://blog.boltz.exchange/p/introducing-our-new-boltz-web-app</link><guid isPermaLink="false">https://blog.boltz.exchange/p/introducing-our-new-boltz-web-app</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Mon, 19 Jun 2023 15:29:36 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>For those short on time, here's a quick overview of the key features of our new web app, now available at <a href="https://boltz.exchange">boltz.exchange</a>:</p><ul><li><p>&#127968; United Liquid &amp; mainchain swaps: one web app to swap them all</p></li><li><p>&#11014;&#65039; Increased Liquid swap limits: Now up to 0.1 BTC</p></li><li><p>&#129365; Swap to Taproot addresses: <a href="https://github.com/BoltzExchange/boltz-web-app/pull/4">now supporting bech32m</a></p></li><li><p>&#129477; Enhanced privacy: Liquid swaps available via <a href="http://boltzzzbnus4m7mta3cxmflnps4fp7dueu2tgurstbvrbt6xswzcocyd.onion/">onion domain</a></p></li><li><p>&#128241;App Store censorship resistance: install as <a href="https://github.com/BoltzExchange/boltz-web-app/pull/124">Progressive Web App</a></p></li><li><p>&#129518; Exact on-chain amounts: <a href="https://github.com/BoltzExchange/boltz-web-app/pull/23">swap to pay with precision down to the satoshi</a></p></li></ul><h2>History</h2><p>Let's take a trip down memory lane. This marks the release of our third major web app version, and boy, have times changed. Here's a glimpse of how our web app looked when we <a href="https://blog.boltz.exchange/p/announcing-the-first-boltz-release-6cb630701432">first released Boltz</a> back in April 2019:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wDkd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ae4ebd-6ef9-4fcd-806d-4c94a37f2e18_800x359.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wDkd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ae4ebd-6ef9-4fcd-806d-4c94a37f2e18_800x359.png 424w, https://substackcdn.com/image/fetch/$s_!wDkd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ae4ebd-6ef9-4fcd-806d-4c94a37f2e18_800x359.png 848w, https://substackcdn.com/image/fetch/$s_!wDkd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ae4ebd-6ef9-4fcd-806d-4c94a37f2e18_800x359.png 1272w, https://substackcdn.com/image/fetch/$s_!wDkd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ae4ebd-6ef9-4fcd-806d-4c94a37f2e18_800x359.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wDkd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ae4ebd-6ef9-4fcd-806d-4c94a37f2e18_800x359.png" width="800" height="359" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/54ae4ebd-6ef9-4fcd-806d-4c94a37f2e18_800x359.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:359,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!wDkd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ae4ebd-6ef9-4fcd-806d-4c94a37f2e18_800x359.png 424w, https://substackcdn.com/image/fetch/$s_!wDkd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ae4ebd-6ef9-4fcd-806d-4c94a37f2e18_800x359.png 848w, https://substackcdn.com/image/fetch/$s_!wDkd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ae4ebd-6ef9-4fcd-806d-4c94a37f2e18_800x359.png 1272w, https://substackcdn.com/image/fetch/$s_!wDkd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54ae4ebd-6ef9-4fcd-806d-4c94a37f2e18_800x359.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We let <a href="https://github.com/michael1011">michael1011</a>&#8217;s comment on his work speak for itself: &#8220;This is what happens if you force a backend developer to write a frontend because you have no one else to do it&#8221;. However, it served its purpose at the time: a functional proof of concept that made submarine swaps easy and accessible for non-technical users.</p><p>In 2020, we made the leap to version two, collaborating with an actual frontend developer this time &#128104;&#8205;&#128187;. This update significantly enhanced reliability, introduced a dedicated mobile version, and much more. This web app has been powering Boltz ever since&#8212;until today.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-ceG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85936e46-e58a-4e28-924c-a46669418dbc_1912x1104.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-ceG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85936e46-e58a-4e28-924c-a46669418dbc_1912x1104.png 424w, https://substackcdn.com/image/fetch/$s_!-ceG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85936e46-e58a-4e28-924c-a46669418dbc_1912x1104.png 848w, https://substackcdn.com/image/fetch/$s_!-ceG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85936e46-e58a-4e28-924c-a46669418dbc_1912x1104.png 1272w, https://substackcdn.com/image/fetch/$s_!-ceG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85936e46-e58a-4e28-924c-a46669418dbc_1912x1104.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-ceG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85936e46-e58a-4e28-924c-a46669418dbc_1912x1104.png" width="1456" height="841" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/85936e46-e58a-4e28-924c-a46669418dbc_1912x1104.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:841,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:203090,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!-ceG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85936e46-e58a-4e28-924c-a46669418dbc_1912x1104.png 424w, https://substackcdn.com/image/fetch/$s_!-ceG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85936e46-e58a-4e28-924c-a46669418dbc_1912x1104.png 848w, https://substackcdn.com/image/fetch/$s_!-ceG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85936e46-e58a-4e28-924c-a46669418dbc_1912x1104.png 1272w, https://substackcdn.com/image/fetch/$s_!-ceG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85936e46-e58a-4e28-924c-a46669418dbc_1912x1104.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2>All-New</h2><p>Today, we're excited to unveil the third edition of our web app. Designed for the future, it's highly extensible and utilizes modern web frameworks like <a href="https://www.solidjs.com/">SolidJS</a>. It also leverages state-of-the-art cryptographic libraries such as <a href="https://github.com/BlockstreamResearch/secp256k1-zkp/">secp256k1-zkp</a> which is integrated via WebAssembly and runs directly in your browser.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!T8TG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!T8TG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png 424w, https://substackcdn.com/image/fetch/$s_!T8TG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png 848w, https://substackcdn.com/image/fetch/$s_!T8TG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png 1272w, https://substackcdn.com/image/fetch/$s_!T8TG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!T8TG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png" width="1456" height="879" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:879,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:154655,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!T8TG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png 424w, https://substackcdn.com/image/fetch/$s_!T8TG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png 848w, https://substackcdn.com/image/fetch/$s_!T8TG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png 1272w, https://substackcdn.com/image/fetch/$s_!T8TG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb8e710-35e7-48ab-8b1b-0bdc94fae649_1914x1155.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>Don&#8217;t trust, verify!</h3><p>We encourage our technical users to exercise caution by not solely relying on the web app served from our domain. Verify that the code does exactly what we claim and <a href="https://github.com/BoltzExchange/boltz-web-app#readme">run the web app directly from source</a>.</p><h2>What's Next</h2><ul><li><p>&#127754; Dedicated "Liquidity" Tab: Obtain a specific amount of inbound or outbound liquidity via our web app, along with numerous other features and subtle improvements.</p></li><li><p>&#129365; Taproot Native Swaps: Enhancing privacy and significantly reducing on-chain footprint, particularly for mainchain swaps.</p></li><li><p>&#9939;&#65039; Taproot-based L-BTC/BTC chain-to-chain swaps.</p></li></ul><h2>We&#8217;d love to hear from you!</h2><p>We acknowledge that perfection is elusive, and our web app is no exception. We value your feedback, bug reports, and feature requests, which can be shared through <a href="https://github.com/BoltzExchange/boltz-web-app/issues/new">GitHub</a> or our <a href="https://discord.gg/QBvZGcW">Discord server</a>!</p><p>That's all for today! Stay updated by subscribing to our Substack newsletter.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://blog.boltz.exchange/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://blog.boltz.exchange/subscribe?"><span>Subscribe now</span></a></p>]]></content:encoded></item><item><title><![CDATA[Launching Liquid Swaps - Unfairly Cheap Rebalancing of Your Lightning Node! ⚡🌊]]></title><description><![CDATA[Liquid Swaps give you an edge in your Lightning node operations by rebalancing your channels for reliably low fees in a sustained high-fee market.]]></description><link>https://blog.boltz.exchange/p/launching-liquid-swaps-unfairly-cheap</link><guid isPermaLink="false">https://blog.boltz.exchange/p/launching-liquid-swaps-unfairly-cheap</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Wed, 24 May 2023 18:49:44 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!QQx3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Earlier this month we had to make the tough decision of <a href="https://nitter.net/Boltzhq/status/1655491774855487494">taking Boltz&#8217; swap services offline</a> to avoid a UX nightmare: users starting swaps that were guaranteed to fail. </p><p>TL;DR of how we got there (for the long version check <a href="https://nitter.net/Boltzhq/status/1656013583124242437">this thread</a>):</p><p>Beginning May 4th, fees rose, dramatically and continuously. Block by block. One of the main problems encountered during this extreme week-long fee hike were <strong>fee estimations</strong>. In other words, when submitting transactions with<a href="https://mempool.space/"> mempool.space</a>&#8217;s &#8220;High Priority&#8221; fee, transactions were consistently lagging behind the next block&#8217;s fee rate and didn't get mined. At least not in time for swaps to complete, in our case. Once a swap timed out, the situation worsened: locked-up on-chain coins needed to be claimed back with yet another on-chain transaction that, you guessed it, failed to get mined for a long time too. Atomic swaps ftw. &#128566;</p><p>On May 8th, we finally ended up with all our UTXOs, all our working capital, stuck in the mempool with fee rates nowhere near current rates, and we had to pull the trigger and switch off.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QQx3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QQx3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg 424w, https://substackcdn.com/image/fetch/$s_!QQx3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg 848w, https://substackcdn.com/image/fetch/$s_!QQx3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!QQx3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QQx3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg" width="1247" height="598" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:598,&quot;width&quot;:1247,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:130478,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!QQx3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg 424w, https://substackcdn.com/image/fetch/$s_!QQx3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg 848w, https://substackcdn.com/image/fetch/$s_!QQx3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!QQx3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ed3573f-f73c-4a86-95f4-0d0d0157f68c_1247x598.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Fee hike starting May 4th (nothing beats a hand-drawn arrow!).                          Source: <a href="https://mempool.space/graphs/mempool#1m">mempool.space</a></figcaption></figure></div><h4>The Problem</h4><p>Not solely high, but <em>volatile</em> fees. This is not only a problem for us as a <a href="https://medium.com/breez-technology/introducing-lightning-service-providers-fe9fb1665d5f">LSP</a>, but for everyone operating a Lightning node. Whether it be individual routing node runners or businesses that depend on sufficient inbound capacity to accept payments or deposits. Most of these parties rely on some sort of&#9889; &#8644; &#9939;&#65039; swaps to keep their channels balanced and functioning, either as a main strategy or fallback. It&#8217;s the only thing that works reliably. Until now.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Qp9Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb726acb9-47f6-4416-b373-721389ec4e43_690x194.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Qp9Y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb726acb9-47f6-4416-b373-721389ec4e43_690x194.png 424w, https://substackcdn.com/image/fetch/$s_!Qp9Y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb726acb9-47f6-4416-b373-721389ec4e43_690x194.png 848w, https://substackcdn.com/image/fetch/$s_!Qp9Y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb726acb9-47f6-4416-b373-721389ec4e43_690x194.png 1272w, https://substackcdn.com/image/fetch/$s_!Qp9Y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb726acb9-47f6-4416-b373-721389ec4e43_690x194.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Qp9Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb726acb9-47f6-4416-b373-721389ec4e43_690x194.png" width="690" height="194" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b726acb9-47f6-4416-b373-721389ec4e43_690x194.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:194,&quot;width&quot;:690,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:29018,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Qp9Y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb726acb9-47f6-4416-b373-721389ec4e43_690x194.png 424w, https://substackcdn.com/image/fetch/$s_!Qp9Y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb726acb9-47f6-4416-b373-721389ec4e43_690x194.png 848w, https://substackcdn.com/image/fetch/$s_!Qp9Y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb726acb9-47f6-4416-b373-721389ec4e43_690x194.png 1272w, https://substackcdn.com/image/fetch/$s_!Qp9Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb726acb9-47f6-4416-b373-721389ec4e43_690x194.png 1456w" sizes="100vw"></picture><div></div></div></a><figcaption class="image-caption"><a href="https://mempool.space/">mempool.space</a>&#8217;s fee estimates from May 8th.</figcaption></figure></div><p>Rebalancing costs via mainchain swaps can easily double or even go 10x within an hour in a high-fee environment. Most business models make it impractical to dynamically pass these costs on to users, let it be the PPM setting in a routing node or charging users of your Lightning PoS terminal.</p><h4>The Solution</h4><p><a href="https://liquid.net/">Liquid</a> to the rescue! Shifting rebalancing chain footprint to the Liquid Network, one of Bitcoin&#8217;s longest-running sidechains, not only makes sense economically, but it also makes Lightning more reliable and independent from Bitcoin&#8217;s mempool. &#128170;</p><p>Liquid&#8217;s feature list is long: fast 1-minute block times, transaction finality within 2 minutes, confidential transactions, asset issuance, Liquid Bitcoin (L-BTC) provably backed 1:1 by mainchain Bitcoin and more. But really important for us are these:</p><ul><li><p>It&#8217;s Bitcoin.</p></li><li><p>It&#8217;s battle-tested.</p></li><li><p>It&#8217;s grossly underutilized.</p></li></ul><p>This makes it the perfect base for reliable and cheap Lightning channel rebalancing. </p><h4>How Does it Work?</h4><p>Let&#8217;s say you are a merchant accepting Lightning payments and need to rebalance your channels to make sure you have enough inbound capacity. What we&#8217;ll do to get inbound capacity is swap Lightning Bitcoin for Liquid Bitcoin - moving Lightning Bitcoin to the inbound side of the channel. Let&#8217;s walk through the steps one-by-one:</p><ol><li><p>Head to &#128073; <a href="https://boltz.exchange/">boltz.exchange</a> &#128072; and enter the amount of inbound capacity you want to obtain in the upper &#8220;Lightning&#8221; field.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!o1GL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd1e5c9b-77ad-4fec-90e1-7336ec084e70_604x252.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!o1GL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd1e5c9b-77ad-4fec-90e1-7336ec084e70_604x252.png 424w, https://substackcdn.com/image/fetch/$s_!o1GL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd1e5c9b-77ad-4fec-90e1-7336ec084e70_604x252.png 848w, https://substackcdn.com/image/fetch/$s_!o1GL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd1e5c9b-77ad-4fec-90e1-7336ec084e70_604x252.png 1272w, https://substackcdn.com/image/fetch/$s_!o1GL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd1e5c9b-77ad-4fec-90e1-7336ec084e70_604x252.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!o1GL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd1e5c9b-77ad-4fec-90e1-7336ec084e70_604x252.png" width="604" height="252" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cd1e5c9b-77ad-4fec-90e1-7336ec084e70_604x252.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:252,&quot;width&quot;:604,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:29864,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!o1GL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd1e5c9b-77ad-4fec-90e1-7336ec084e70_604x252.png 424w, https://substackcdn.com/image/fetch/$s_!o1GL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd1e5c9b-77ad-4fec-90e1-7336ec084e70_604x252.png 848w, https://substackcdn.com/image/fetch/$s_!o1GL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd1e5c9b-77ad-4fec-90e1-7336ec084e70_604x252.png 1272w, https://substackcdn.com/image/fetch/$s_!o1GL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd1e5c9b-77ad-4fec-90e1-7336ec084e70_604x252.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">In this example we are obtaining 100,000 sats worth of inbound capacity.</figcaption></figure></div></li><li><p>Enter a Liquid address to receive L-BTC and press &#8220;Create Atomic Swap&#8221;</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QACV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6524c6e-b439-4e67-a2a5-d1f3b93a5eb6_600x154.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QACV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6524c6e-b439-4e67-a2a5-d1f3b93a5eb6_600x154.png 424w, https://substackcdn.com/image/fetch/$s_!QACV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6524c6e-b439-4e67-a2a5-d1f3b93a5eb6_600x154.png 848w, https://substackcdn.com/image/fetch/$s_!QACV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6524c6e-b439-4e67-a2a5-d1f3b93a5eb6_600x154.png 1272w, https://substackcdn.com/image/fetch/$s_!QACV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6524c6e-b439-4e67-a2a5-d1f3b93a5eb6_600x154.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QACV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6524c6e-b439-4e67-a2a5-d1f3b93a5eb6_600x154.png" width="600" height="154" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a6524c6e-b439-4e67-a2a5-d1f3b93a5eb6_600x154.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:154,&quot;width&quot;:600,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:18056,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!QACV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6524c6e-b439-4e67-a2a5-d1f3b93a5eb6_600x154.png 424w, https://substackcdn.com/image/fetch/$s_!QACV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6524c6e-b439-4e67-a2a5-d1f3b93a5eb6_600x154.png 848w, https://substackcdn.com/image/fetch/$s_!QACV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6524c6e-b439-4e67-a2a5-d1f3b93a5eb6_600x154.png 1272w, https://substackcdn.com/image/fetch/$s_!QACV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6524c6e-b439-4e67-a2a5-d1f3b93a5eb6_600x154.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">We recommend using <a href="https://blockstream.com/green/">Blockstream Green</a> or <a href="https://sideswap.io/">SideSwap</a> as Liquid wallet</figcaption></figure></div></li><li><p>Pay the Lightning hold invoice of about 100,000 sats in the next step and wait for your L-BTC to arrive. This should take ~2 minutes since the atomic swap protocol consists of two transactions on Liquid: first locking your L-BTC and then atomically unlocking it together with your Lightning payment. And&#8230; that&#8217;s it!</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DzZW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e3cc7c8-0dd1-4bba-a8e4-0047b67fc00b_600x185.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DzZW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e3cc7c8-0dd1-4bba-a8e4-0047b67fc00b_600x185.png 424w, https://substackcdn.com/image/fetch/$s_!DzZW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e3cc7c8-0dd1-4bba-a8e4-0047b67fc00b_600x185.png 848w, https://substackcdn.com/image/fetch/$s_!DzZW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e3cc7c8-0dd1-4bba-a8e4-0047b67fc00b_600x185.png 1272w, https://substackcdn.com/image/fetch/$s_!DzZW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e3cc7c8-0dd1-4bba-a8e4-0047b67fc00b_600x185.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DzZW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e3cc7c8-0dd1-4bba-a8e4-0047b67fc00b_600x185.png" width="600" height="185" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0e3cc7c8-0dd1-4bba-a8e4-0047b67fc00b_600x185.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:185,&quot;width&quot;:600,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:22684,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!DzZW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e3cc7c8-0dd1-4bba-a8e4-0047b67fc00b_600x185.png 424w, https://substackcdn.com/image/fetch/$s_!DzZW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e3cc7c8-0dd1-4bba-a8e4-0047b67fc00b_600x185.png 848w, https://substackcdn.com/image/fetch/$s_!DzZW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e3cc7c8-0dd1-4bba-a8e4-0047b67fc00b_600x185.png 1272w, https://substackcdn.com/image/fetch/$s_!DzZW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e3cc7c8-0dd1-4bba-a8e4-0047b67fc00b_600x185.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Congrats, you obtained ~100,000 sats of inbound liquidity, unfairly cheap!</figcaption></figure></div></li></ol><p>And YES, these are actual atomic swaps! This means no trust in Boltz is required as we never have custody over your funds, not even for a split-second. It is deeply-rooted in Boltz&#8217;s DNA to build the best possible UX non-custodial products.</p><p>Talking UX. The current swap box interface can merely serve as a proof of concept for rebalancing channels. What we are considering adding next is a &#8220;Liquidity&#8221; tab that provides an optimized UI to obtain a certain inbound/outbound liquidity or an entire channel with a configurable amount of inbound liquidity.</p><div class="poll-embed" data-attrs="{&quot;id&quot;:73840}" data-component-name="PollToDOM"></div><h4>Running the Numbers</h4><p>So how much can we expect to save compared to rebalancing with regular mainchain swaps? Some of our beta users <a href="https://nitter.net/fischin4sats/status/1658949653730082816">were quick to come up with fee comparisons</a>. Let&#8217;s give it a closer look using a specific scenario:</p><pre><code>Scenario: 100,000 sats inbound liquidity at 50 sats/vB on mainchain:

Mainchain:
<a href="https://github.com/BoltzExchange/boltz-backend/blob/master/lib/rates/FeeProvider.ts#L30">291 bytes</a> * 50 sat/vbyte + 500 sats Boltz fee (0.5%) = 15050 sats

Liquid:
<a href="https://github.com/BoltzExchange/boltz-backend/blob/liquid/lib/rates/FeeProvider.ts#L43">3881 bytes</a> * 0.11 sat/vbyte + 100 sats Boltz fee (0.1%) = 527 sats
==========
<strong>96% savings

</strong>*Please note that fee values on <a href="https://boltz.exchange/">boltz.exchange</a> can slightly differ because of how rounding is applied.</code></pre><p>In a 500 sat/vB fee environment, like we had it earlier this month on Bitcoin&#8217;s mainchain, savings are &gt;99%. A similar picture for obtaining <em>outbound</em> liquidity. Some quick math also tells us that mainchain miner fees had to permanently go back to 1 sat/vB to compete with Liquid swaps fees. We strongly believe they won&#8217;t.</p><p>So even though we decided for the much larger confidential transactions on Liquid for the privacy gain, the reliably ultra-low fees of 0.11 sat/vB beat Bitcoin&#8217;s mainchain easily. Here is why we think we can rely on 0.11 sat/vB on Liquid in the foreseeable future: because of the shorter block times <a href="https://help.blockstream.com/hc/en-us/articles/900001390903-What-is-the-transaction-capacity-of-Liquid-">Liquid&#8217;s transaction capacity is actually greater than Bitcoin&#8217;s</a>. So until Liquid attracts more activity than the Bitcoin mainchain, we can rely on low fees. &#129401;</p><h4>Completing the Circle: Converting L-BTC Back to BTC</h4><p>Experience with our mainchain swap product tells us that we should expect most users to use Liquid Swaps to obtain inbound liquidity and thus accumulate L-BTC. Those users will want to go back to mainchain BTC at some point (to open more channels or use BTC otherwise) and that is fine, of course. Naturally these users would need a different way than Lightning to go back to the mainchain since this would otherwise reverse all rebalancing.</p><p>Only <a href="https://help.blockstream.com/hc/en-us/articles/900003013143-What-is-the-Liquid-Federation-#:~:text=The%20Liquid%20Federation%20is%20a,to%20the%20Liquid%20Network's%20operation.">Liquid Federation members</a> have keys to use the official peg-out mechanism, so we must refer to the custodial &#8220;peg-out&#8221; service offered by<a href="https://sideswap.io/"> SideSwap</a> for the time being. But we are well aware that this needs an equally convenient and<strong> non-custodial</strong> way back, so we are going to build it: L-BTC/BTC chain-to-chain atomic swaps.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LbBz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b90b3be-44e8-4e71-a533-e48d82503c57_583x560.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LbBz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b90b3be-44e8-4e71-a533-e48d82503c57_583x560.png 424w, https://substackcdn.com/image/fetch/$s_!LbBz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b90b3be-44e8-4e71-a533-e48d82503c57_583x560.png 848w, https://substackcdn.com/image/fetch/$s_!LbBz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b90b3be-44e8-4e71-a533-e48d82503c57_583x560.png 1272w, https://substackcdn.com/image/fetch/$s_!LbBz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b90b3be-44e8-4e71-a533-e48d82503c57_583x560.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LbBz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b90b3be-44e8-4e71-a533-e48d82503c57_583x560.png" width="583" height="560" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0b90b3be-44e8-4e71-a533-e48d82503c57_583x560.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:560,&quot;width&quot;:583,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:29656,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!LbBz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b90b3be-44e8-4e71-a533-e48d82503c57_583x560.png 424w, https://substackcdn.com/image/fetch/$s_!LbBz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b90b3be-44e8-4e71-a533-e48d82503c57_583x560.png 848w, https://substackcdn.com/image/fetch/$s_!LbBz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b90b3be-44e8-4e71-a533-e48d82503c57_583x560.png 1272w, https://substackcdn.com/image/fetch/$s_!LbBz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b90b3be-44e8-4e71-a533-e48d82503c57_583x560.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Peg-outs via SideSwap, which allow you to bridge from mainchain to the Liquid sidechain for a 0.1% fee.</figcaption></figure></div><h4>Next up</h4><ul><li><p>&#128104;&#8205;&#128187; We&#8217;ll continue to improve UX for rebalancing and bring our new web app live on<a href="https://boltz.exchange/"> boltz.exchange</a>.</p></li><li><p>&#127754; Depending on feedback, we&#8217;ll prioritize a dedicated &#8220;Liquidity&#8221; tab in our WebApp or a solution for automated/unattended rebalancing.</p></li><li><p>&#129365; We&#8217;re working on moving to Taproot native swaps for enhanced privacy and significantly reducing on-chain footprint of swaps, especially important for mainchain swaps.</p></li><li><p>&#9939;&#65039; Taproot-based L-BTC/BTC chain to chain swaps.</p></li></ul><p>That&#8217;s it for today, stay tuned by subscribing to our Substack!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://blog.boltz.exchange/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://blog.boltz.exchange/subscribe?"><span>Subscribe now</span></a></p>]]></content:encoded></item><item><title><![CDATA[Recap 2020 — A look at lightning and Boltz]]></title><description><![CDATA[TLDR; A lot happened this year &#8212; this post aims to distill down the progress.]]></description><link>https://blog.boltz.exchange/p/recap-2020-a-look-at-lightning-and-boltz-5a57e0906c2d</link><guid isPermaLink="false">https://blog.boltz.exchange/p/recap-2020-a-look-at-lightning-and-boltz-5a57e0906c2d</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Mon, 04 Jan 2021 16:29:41 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!fD8R!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84ef0ff3-5644-46d2-9fe5-b1ec16e4ad12_390x390.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>TLDR;</strong> A lot happened this year&#8202;&#8212;&#8202;this post aims to distill down the progress.</p><p>2020 has been a rather taxing year in every sense of the word, and we are all looking forward to a better 2021. But when it comes to the lightning ecosystem, the pace of progress didn&#8217;t halt. Lightning is considerably more robust and secure now than before. Fulgur ventures published a detailed <a href="https://medium.com/@fulgur.ventures/building-an-overview-of-the-lightning-network-ecosystem-a93be2343f61">overview</a> on the state of lightning ecosystem&#8202;&#8212;&#8202;Infrastructure projects like Boltz along with #LiFi are the largest categories. It further consolidates our hope that slowly but surely, we are moving in the right direction. Ryan Gentry from Lightning labs tweeted a great year-in-review thread on lightning&#8217;s 2020 progress:</p><p>Without further ado, let us dive right into how the year has been for Boltz and what we hope to achieve in 2021. For the uninitiated, Boltz product offerings has two facets&#8202;&#8212;&#8202;First, we are a privacy first, account-free crypto exchange. And second, we are a LSP (Lightning service provider). Various apps like Breez, Thunderhub, and Electrum have integrated Boltz lightning services in their apps&#8202;&#8212;&#8202;which enabled a frictionless user experience for their end users. With the release of landmark features like <a href="https://medium.com/boltzhq/a-landmark-boltz-release-creating-lightning-channels-on-the-fly-%EF%B8%8F-94896854b681?source=friends_link&amp;sk=4312bc3e5f97d64a089c0daf29a5a5c3">on-the-fly channel creation swaps</a>, we focused on LSP offering in the first half of 2020. The second half of of the year we worked hard on bringing more assets to the exchange side of Boltz offering. We added <a href="https://medium.com/boltzhq/tether-efill-your-lightning-channels-31e40e46164d?source=friends_link&amp;sk=cd5e33dc2933a065201af4c7c51511ea">Tether(USDT)&#8202;</a>&#8212;&#8202;which enabled our users to atomically swap USDT and lightning Bitcoin. While we grew together with the lightning ecosystem and learned a lot in the process, we have few more goodies to unwrap from our roadmap in coming months that we are excited to share with you guys:</p><ul><li><p><strong>Ether Integration</strong>: We have now added support for Ether in the current Boltz release. You can hop on to <a href="https://boltz.exchange">https://boltz.exchange</a> and swap your lightning Bitcoins with Ether and vice versa. The integration of second largest crypto by market capitalization will increase <em>optionality</em> for our users and as an exchange service, that&#8217;s one of our main value proposition.</p></li><li><p><strong>RTL Integration:</strong> This has been long in works and after months of efforts sorting out every single little detail&#8202;&#8212;&#8202;we are psyched to announce that next RTL release will feature an optional opt-in Boltz support. We&#8217;d like to thank Suheb and Shahana from the RTL team for escalating this RTL release. It further manifests what is possible when teams with shared values collaborate together.</p></li><li><p><strong>No Ether required to claim:</strong> For account-based chain like Ethereum, the luxury of being able to store the state on-chain means that we can build tools with better user experience. Our current architecture requires that user should already have some ether in their Metamask wallet to pay for miner fee when receiving Ether or USDT from a Boltz swap. During the swap process, Boltz client does a sanity check for if the wallet has enough Ether or not. We have been brainstorming better ways to tackle this, including small custodial invoice (worth $1 for instance) that the user can pay to cover the fee before the swap process resumes. This protocol will make swapping on Boltz an even more seamless experience.</p></li><li><p><strong>WalletConnect</strong>: Adding more Web3 providers is also something we are looking forward to in coming months. This would make swapping ETH and USDT on mobile phones easier.</p></li><li><p><strong>Support for c-lightning: </strong>Boltz is a lightning node implementation agnostic project and we plan to add support for c-lightning and Eclair down the line in our<a href="https://github.com/BoltzExchange/boltz-lnd"> boltz-lnd cli tool</a>. We hear our users are most excited for this so rest assured, we are sure to push this up on our priority list.</p></li><li><p><strong>Chain to Chain swaps:</strong> For Boltz to become a fully fledged digital asset exchange platform, it&#8217;s important that we do offer cross chain layer one swaps. Once shipped, Boltz would be a full blown viable alternative to current custodial exchanges like Shapeshift.</p></li></ul><p>Did we miss anything? Would you like to suggest a feature that you&#8217;d like us to work on? Feel free to hop on our <a href="https://discord.gg/kceBPe3DpM">Discord</a>. We are all ears.</p><p>We wish everyone a happy new year! Stay safe and happy swapping!</p>]]></content:encoded></item><item><title><![CDATA[Tether-efill your lightning channels]]></title><description><![CDATA[TLDR; Boltz adds support for Tether, enabling users to atomically swap USDT for lightning Bitcoin and vice versa.]]></description><link>https://blog.boltz.exchange/p/tether-efill-your-lightning-channels-31e40e46164d</link><guid isPermaLink="false">https://blog.boltz.exchange/p/tether-efill-your-lightning-channels-31e40e46164d</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Mon, 30 Nov 2020 13:21:05 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/2c5560bc-c93d-4042-b55b-1fa236d024b6_620x409.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>TLDR;</strong> Boltz adds support for Tether, enabling users to atomically swap USDT for lightning Bitcoin and vice versa.</p><h3>Rewind</h3><p>Boltz started as a simple <a href="https://medium.com/boltzhq/submarine-swaps-c509ce0fb1db">submarine swap</a> service that allowed users to refill and withdraw from their Bitcoin lightning channels across layers in a self custodial manner. This naturally attracted lots of early lightning adopters to use our service. We slowly added API support, which enabled apps like Breez to integrate Boltz reverse swap service, and also launched <a href="https://medium.com/boltzhq/a-landmark-boltz-release-creating-lightning-channels-on-the-fly-%EF%B8%8F-94896854b681">Channel Creation swaps</a>, which made it easy for new users of lightning to get a fully balanced ready-to-transact lightning channel with inbound liquidity. Over time Boltz had evolved into a full fledged lightning service provider (LSP for short). While we will continue to work on other LSP features and integrations with various lightning apps that are currently in the pipeline, we felt it was time to give the &#8220;exchange&#8221; side of the Boltz offering some attention. We are starting this today by adding Tether (USDT).</p><h3>The Tether conundrum</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!r-e6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F183394f0-9c62-413b-bbd1-dfab181388c9_620x409.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!r-e6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F183394f0-9c62-413b-bbd1-dfab181388c9_620x409.png 424w, https://substackcdn.com/image/fetch/$s_!r-e6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F183394f0-9c62-413b-bbd1-dfab181388c9_620x409.png 848w, https://substackcdn.com/image/fetch/$s_!r-e6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F183394f0-9c62-413b-bbd1-dfab181388c9_620x409.png 1272w, https://substackcdn.com/image/fetch/$s_!r-e6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F183394f0-9c62-413b-bbd1-dfab181388c9_620x409.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!r-e6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F183394f0-9c62-413b-bbd1-dfab181388c9_620x409.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/183394f0-9c62-413b-bbd1-dfab181388c9_620x409.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!r-e6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F183394f0-9c62-413b-bbd1-dfab181388c9_620x409.png 424w, https://substackcdn.com/image/fetch/$s_!r-e6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F183394f0-9c62-413b-bbd1-dfab181388c9_620x409.png 848w, https://substackcdn.com/image/fetch/$s_!r-e6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F183394f0-9c62-413b-bbd1-dfab181388c9_620x409.png 1272w, https://substackcdn.com/image/fetch/$s_!r-e6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F183394f0-9c62-413b-bbd1-dfab181388c9_620x409.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a><figcaption class="image-caption">The Tether Money Printing&nbsp;Machine</figcaption></figure></div><p>Tether has been a controversial topic of debate in the Bitcoin community. Many are apprehensive of it, and rightly so. After all, how could an inherently pro privacy and economically libertarian community endorse Tether? The entity behind the Tether cryptocurrency is accused of <a href="https://news.bitcoin.com/tether-freezes-millions-of-dollars-usdt-40-addresses/">freezing assets</a> and <a href="https://www.newsbtc.com/news/tether-continues-issue-new-usdt-alarming-rate/">issuing tokens</a> on a whim, which according to many is an antithesis of what the community stands for. But for the better or worse, Tether has proven to be quite successful and resilient to regulations. In this ongoing crypto bull run, <a href="https://twitter.com/glassnodealerts/status/1316472739117633538">Tether&#8217;s commutative transaction volume went above $600B</a>. With first mover advantage, Tether has benefited from building a network effect around its stablecoin before anyone else even got started. The rationale behind us deciding to add it is that Boltz is an exchange service and it cannot function as one without offering popular asset pairs. The popularity and adoption of the BTC/USDT pair has been able to garner in the past few years is evident by the success of companies like Binance. As a <strong>privacy first </strong>and<strong> lightning first </strong>project, we enabled the <code>LN-BTC/USDT</code> pair only with one particular use case in mind: providing our users an option to refill their lightning channels with USDT.</p><h3>Technology</h3><p>Since inception, we at Boltz have worked towards building a cross chain and cross layer atomic swap solution using native assets. It is not only practical but also adheres with the core principals of privacy and self-custodianship. Tether offering adds another feather to the cap. BTC-LN to USDT and USDT to BTC-LN swaps on Boltz uses the same HTLC powered concept prevalent in other cross layer swaps already offered by Boltz. HTLCs, or hashed timelocked contracts, are integral to the architecture of the lightning network, and are standardized on the Bitcoin blockchain. This doesn&#8217;t hold true for account-based blockchains like the Ethereum network&#8202;&#8212;&#8202;which means to add support for ERC20 tokens like Tether, you guessed it&#8202;&#8212;&#8202;we needed to <em>write a smart contract</em>.</p><p>Building a smart contract for Boltz swaps required us to focus on two main aspects: security and transaction costs. Security of the user&#8217;s funds is of utmost importance to us. We were obsessed about making sure that the smart contract is written with industry grade best practices. We also undertook rounds of in-house penetration testing. These steps were important for making sure that the smart contract is production ready before deployment. With all these frequent DeFi hack news, we are proud to say that we <a href="https://twitter.com/andrecronjetech?lang=en">don&#8217;t test in prod</a>.</p><p>The second important aspect of our focus was the transaction cost. With heavily fluctuating gas prices on the Ethereum network, it&#8217;s important for us to optimize our smart contract for gas use, so that our users can save on transaction fee. There&#8217;s a simple rule when it comes to gas costs on the account based blockchains: computation is cheap, storage is expensive. We were able to considerably bring down the transaction fees by storing as little data in the global state of the Ethereum network as possible.</p><p>The novelty of the Ethereum smart contract allowed us to eradicate the need for users to download the refund files for USDT to LN-BTC swaps&#8202;&#8212;&#8202;which is a necessity for swaps UTXO based chains. All the data needed to refund the locked coins from the contract can be queried via an Ethereum node. This resulted in a smart contract that not only offers great user experience on Boltz but is also secure, cheap, and easily auditable with rudimentary understanding of the Solidity language.</p><p>In the spirit of open source and complete transparency, <strong><a href="https://etherscan.io/address/0x98f59b661de7afbb9c5cb01d262cec9caeca4ffe#code">here</a></strong> is the Boltz contract for the swap that is verified on Etherscan. The code is publicly available in the <strong><a href="https://medium.com/r?url=https%3A%2F%2Fgithub.com%2FBoltzExchange%2Fboltz-core%2Ftree%2Fmaster%2Fcontracts">Boltz Github repo</a></strong>.</p><h3>Demo</h3><p>The following is the video demonstration of how users can use their USDT to refill their lightning channels using Boltz</p><div class="captioned-image-container"><figure><div id="youtube2-SEv0RSHdPPQ" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;SEv0RSHdPPQ&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/SEv0RSHdPPQ?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div></figure></div><h3>Summary</h3><p>USDT integration was in the works for quite a while now and we couldn&#8217;t be more stoked to finally ship this. We hope that our users would be as excited as we are for this new asset that can be used to refill and rebalance lightning channels. Like always, hit us up on <a href="https://discord.gg/BrR7gab">Discord</a> if you have any feedback or just want to say Hi. Stay healthy and <a href="https://boltz.exchange/">Boltz on</a> &#9889;</p>]]></content:encoded></item><item><title><![CDATA[Unmixed CoinJoin change? Boltz to rescue.]]></title><description><![CDATA[TLDR; Users can use Boltz submarine swaps to funnel their unmixed CoinJoin change output into lightning, resulting in increased privacy.]]></description><link>https://blog.boltz.exchange/p/unmixed-coinjoin-change-boltz-to-rescue-39e6efacfad0</link><guid isPermaLink="false">https://blog.boltz.exchange/p/unmixed-coinjoin-change-boltz-to-rescue-39e6efacfad0</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Wed, 04 Nov 2020 18:42:30 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/2855c859-9df9-40f0-bfa3-c359a767c1da_481x632.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>TLDR;</strong> Users can use Boltz submarine swaps to funnel their unmixed CoinJoin change output into lightning, resulting in increased privacy.</p><p>Bitcoin is a decentralised monetary protocol. All on-chain Bitcoin transactions are public, traceable, and permanently stored in the blockchain. Anyone can see the balance and all transactions of any address. While this transparency is great for lots of stuff that makes Bitcoin valuable, like transaction verifiability, privacy isn&#8217;t one of them. Once a Bitcoin address is used, it becomes tainted with the history of all transactions it was ever involved with. All Bitcoin transactions are composed of at least one input (where the BTC come from) and at least one output (where the BTC are sent to). Additionally, Bitcoin transactions are constructed in such a way that it includes the information about previous transactions. For example, if you received 1 BTC in an address, and intend to send 0.4 BTC to your friend, you&#8217;d need to construct a Bitcoin transaction of 1 BTC, where 0.4 BTC will be sent as payment and remaining 0.6 BTC will be returned to you as a <strong>change</strong>. This means that every single Bitcoin transaction leaves a trail that can be exploited to trace the movement of Bitcoin across the blockchain. The unspent transaction output (UTXO), as the name suggests, is the result of a transaction that a user receives and can spend in the future. Learn more about UTXOs <a href="https://komodoplatform.com/whats-utxo/">here</a>.</p><h4><strong>Cometh CoinJoin..</strong></h4><p>CoinJoin, which was first <a href="https://bitcointalk.org/?topic=279249">proposed by Gregory Maxwell</a> in 2013, attempts to improve the privacy of Bitcoin transactions. Using CoinJoin, multiple users combine their UTXO into one large transaction with multiple inputs and multiple outputs. Each CoinJoin mixed outputs are of a fixed same amount. This breaks the traceability of the transactions and makes them indistinguishable on the blockchain, so that Uncle Sam can&#8217;t spy on you. The three main ready-to-use software CoinJoin implementations are <a href="https://wasabiwallet.io/">Wasabi Wallet</a>&nbsp;, <a href="https://github.com/Joinmarket-Org/joinmarket-clientserver">JoinMarket</a>, and <a href="https://samouraiwallet.com/whirlpool">Samurai Whirlpool</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!j_xw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F623c803d-d2ba-4d01-b39d-b53f8bbd7772_481x632.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!j_xw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F623c803d-d2ba-4d01-b39d-b53f8bbd7772_481x632.png 424w, https://substackcdn.com/image/fetch/$s_!j_xw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F623c803d-d2ba-4d01-b39d-b53f8bbd7772_481x632.png 848w, https://substackcdn.com/image/fetch/$s_!j_xw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F623c803d-d2ba-4d01-b39d-b53f8bbd7772_481x632.png 1272w, https://substackcdn.com/image/fetch/$s_!j_xw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F623c803d-d2ba-4d01-b39d-b53f8bbd7772_481x632.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!j_xw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F623c803d-d2ba-4d01-b39d-b53f8bbd7772_481x632.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/623c803d-d2ba-4d01-b39d-b53f8bbd7772_481x632.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!j_xw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F623c803d-d2ba-4d01-b39d-b53f8bbd7772_481x632.png 424w, https://substackcdn.com/image/fetch/$s_!j_xw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F623c803d-d2ba-4d01-b39d-b53f8bbd7772_481x632.png 848w, https://substackcdn.com/image/fetch/$s_!j_xw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F623c803d-d2ba-4d01-b39d-b53f8bbd7772_481x632.png 1272w, https://substackcdn.com/image/fetch/$s_!j_xw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F623c803d-d2ba-4d01-b39d-b53f8bbd7772_481x632.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a><figcaption class="image-caption">Credits: @peartobear</figcaption></figure></div><h4>Problem: Unmixed CoinJoin&nbsp;Change</h4><p>While CoinJoin helps to increase the anonymity of a Bitcoin transaction, it comes with a caveat&#8202;&#8212;&#8202;change outputs, that are <em><strong>not</strong></em> of a fixed same amount, remain unmixed and can potentially break the anonymity. As explained in previous section, change output is the fundamental part of how Bitcoin transactions work. However, when you send the coins which are the change from a previous transaction, receivers and blockchain observers can easily deduce that you were involved in the previous transaction that generated the change. Identifying change based of such heuristics is one of the many methods surveillance companies like <a href="http://www.chainalysis.com">Chainalysis</a> use to spy on users. A common pitfall is sending unmixed coins and mixed ones to the same address, which can effectively result in user&#8217;s identity getting leaked. There are <a href="https://docs.wasabiwallet.io/using-wasabi/ChangeCoins.html#your-options-to-use-change-privately">few different ways</a> to deal with unmixed Bitcoin change, we will focus on how Boltz can be used as a tool to counter this risk.</p><h4>Solution: Swap unmixed change using&nbsp;Boltz</h4><div class="captioned-image-container"><figure><figcaption class="image-caption">Thread by Max Hillebrand from Wasabi about using Boltz to funnel unmixed CoinJoin change to LN</figcaption></figure></div><p>Boltz submarine swap service offering can help users mitigate the risk caused by the unmixed CoinJoin change. By atomically swapping the CoinJoin change for refilling lightning channels using Boltz, the user can eliminate the risk of clean coins getting tainted by accident. The Lightning network has relatively potent <a href="https://arxiv.org/abs/2003.12470">privacy properties</a>. And it is not yet being tracked to the extent that on-chain coins are, this makes Boltz swaps an easy and effective way to deal with CoinJoin changes. Since the user is creating the lightning invoice that Boltz will pay in this swap process, Boltz will know the user&#8217;s node public key and the lightning channel Boltz sent the funds to. Hence, this is not a <em>perfect </em>solution since Boltz could cluster your change output and your lightning node. We do however hope that <a href="https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-November/001498.html">rendezvous routing</a>, when integrated to the lightning spec, will make this an even more effective solution.</p><h4>Demo</h4><p>Below is the demonstration of swapping unmixed CoinJoin change from Wasabi (marked with a red shield) to lightning Bitcoin through Boltz.</p><div class="captioned-image-container"><figure><div id="youtube2-1UkaJY1gERM" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;1UkaJY1gERM&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/1UkaJY1gERM?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><figcaption class="image-caption">Demo of funnelling in unmixed CoinJoin change to lightning BTC through Boltz.</figcaption></figure></div><h4>Related Readings:</h4><ul><li><p><a href="https://en.bitcoin.it/wiki/CoinJoin#:~:text=CoinJoin%20is%20a%20trustless%20method,paid%20which%20recipient%20or%20recipients.">Bitcoin Wiki&#8202;&#8212;&#8202;CoinJoin</a></p></li><li><p><a href="https://docs.wasabiwallet.io/using-wasabi/CoinJoin.html">Wasabi docs&#8202;&#8212;&#8202;CoinJoin</a></p></li><li><p><a href="https://www.coinjoinsudoku.com/advisory/">CoinJoin Sudoku</a></p></li></ul>]]></content:encoded></item><item><title><![CDATA[Recap: Past few months @ Boltz]]></title><description><![CDATA[TL;DR: We&#8217;ve been heads down shipping at Boltz. This post is a pause-and-reflect on how far we&#8217;ve come and what we need to do to&#8230;]]></description><link>https://blog.boltz.exchange/p/recap-past-few-months-boltz-5f25f2bd21c</link><guid isPermaLink="false">https://blog.boltz.exchange/p/recap-past-few-months-boltz-5f25f2bd21c</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Wed, 15 Jul 2020 10:02:49 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/14a2a187-a920-4c41-8961-3a5084904ba9_800x499.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>TL;DR:</strong> We&#8217;ve been heads down shipping at Boltz. This post is a pause-and-reflect on how far we&#8217;ve come and what we need to do to build upon the momentum we have gained in the past six months.</p><p>A lot has happened in these past months. Amidst the world going through a pandemic, FED <a href="https://brrr.money/">brrrinting money</a> like it&#8217;s nobody&#8217;s business, stocks making the crypto market look like a day at grandma&#8217;s house, and Kanye running for president, 2020 continues to bemuse us. The Bitcoin lightning community, however, knows that <a href="https://a16z.com/2020/04/18/its-time-to-build/">it&#8217;s time to build</a>, and has made silent, but significant progress. There are more than 13k public LN nodes now with about 1k BTC in channel capacity. These numbers inspire confidence for the future of the Lightning network and motivate many like us to continue building towards the common goal to create the money and payment system of the future.</p><blockquote><p>Make measurable progress in reasonable time</p></blockquote><p>Measuring progress is an important part of a startup&#8217;s journey. If we can quantify and analyze our progress, we can precisely gauge our efficiency and holistically judge how far off we are from achieving our goals. To do so in a transparent manner, we&#8217;ve listed six major achievements we have unlocked in the past six months.</p><h3>1. <a href="http://boltz.exchange">Boltz.exchange</a> got a facelift&nbsp;&#127881;</h3><p>We shipped a new and revamped frontend for Boltz with a much-improved user interface across desktop and mobile platforms. This was one of our main focuses in the past few months. One of the support issues we had to repeatedly deal with was users not being able to immediately refund in case of a swap failure. The lightning network is still in its nascent stage and <code>routing errors</code> are a common cause of failed swaps. In such cases of failed normal submarine swaps (on-chain to LN), the user could use the refund file downloaded during the swap to claim back the on-chain coins that they sent. Due to the nature of hashed time-locked contracts, the refund could only be triggered after a certain number of blocks were mined, which resulted in confused users trying to refund a swap immediately after the failure, but to no avail. We fixed this in our revamped website, where the users are now acutely made aware of the number of blocks and approximate time they need to wait before they can initiate a refund. The frontend also saves the refund files of the latest swaps in <code>localstorage</code> of the browser. We ironed out many prevalent issues like these and other points of friction in the user journey&#8202;&#8212;&#8202;which significantly improves our net NPS score. The revamped Boltz website is a progressive web app, which makes using Boltz on mobile a native app-like experience. We will continue to iterate on the feedback we have received to build on our promise of providing the best user experience while retaining the non-custodial and private nature of Boltz swaps.</p><h3>2. RTL integration of Boltz&#8202;&#8212;&#8202;PR ready&nbsp;&#129395;</h3><p><strong><a href="https://github.com/Ride-The-Lightning/RTL/pull/361" title="https://github.com/Ride-The-Lightning/RTL/pull/361">WIP: Add Boltz as additional swap provider by dejankocev &#183; Pull Request #361 &#183;&#8230;</a></strong><a href="https://github.com/Ride-The-Lightning/RTL/pull/361" title="https://github.com/Ride-The-Lightning/RTL/pull/361"><br></a><em><a href="https://github.com/Ride-The-Lightning/RTL/pull/361" title="https://github.com/Ride-The-Lightning/RTL/pull/361">WIP: This PR adds Boltz as an additional swap provider alongside Loop. From UI perspective, Loop in (submarine swaps)&#8230;</a></em><a href="https://github.com/Ride-The-Lightning/RTL/pull/361" title="https://github.com/Ride-The-Lightning/RTL/pull/361">github.com</a></p><p>As a Lightning Service Provider, one of our goals is to partner with projects in the space and provide value to their end-users. Ride the Lightning (RTL) is a full-function, device-agnostic, web user interface to help manage lightning node operations. People running LND, c-lightning, or eclair node implementation of the lightning network can access their node via a web interface to actively manage it. We realized that Boltz can add a lot of value to these lightning power users who want an easy way to on and off-ramp themselves from the lightning economy in a self-custodial and trust minimized manner. Our integration with RTL adds the Boltz channel <code>deposit</code> and <code>withdrawal</code> feature and as an additional choice to the lightning loop integration. Channel creation swaps, our novel, and self-custodial way to obtain a balanced lightning channel with a simple on-chain transaction is coming to RTL soon as well. See #6.</p><h3>3. Electrum integrates Boltz&nbsp;&#9996;</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!5p3I!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49847160-a33c-48c3-b52d-5e61265b4fe7_800x499.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5p3I!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49847160-a33c-48c3-b52d-5e61265b4fe7_800x499.png 424w, https://substackcdn.com/image/fetch/$s_!5p3I!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49847160-a33c-48c3-b52d-5e61265b4fe7_800x499.png 848w, https://substackcdn.com/image/fetch/$s_!5p3I!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49847160-a33c-48c3-b52d-5e61265b4fe7_800x499.png 1272w, https://substackcdn.com/image/fetch/$s_!5p3I!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49847160-a33c-48c3-b52d-5e61265b4fe7_800x499.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5p3I!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49847160-a33c-48c3-b52d-5e61265b4fe7_800x499.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/49847160-a33c-48c3-b52d-5e61265b4fe7_800x499.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!5p3I!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49847160-a33c-48c3-b52d-5e61265b4fe7_800x499.png 424w, https://substackcdn.com/image/fetch/$s_!5p3I!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49847160-a33c-48c3-b52d-5e61265b4fe7_800x499.png 848w, https://substackcdn.com/image/fetch/$s_!5p3I!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49847160-a33c-48c3-b52d-5e61265b4fe7_800x499.png 1272w, https://substackcdn.com/image/fetch/$s_!5p3I!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49847160-a33c-48c3-b52d-5e61265b4fe7_800x499.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Electrum, one of the oldest Bitcoin wallets, released a <a href="https://github.com/spesmilo/electrum/releases/tag/4.0.2">new version</a> of the wallet, which supports Boltz submarine swaps out of the box. This is a huge win for privacy in Bitcoin. We worked closely with the Electrum team to get this shipped by adding needed features and improving documentation on the way. <a href="http://docs.boltz.exchange">Our API</a> is now more robust than ever before and ready for devs to hack around with.</p><h3>4. We were featured on Fulmo&#8217;s PotzBlitz podcast&nbsp;&#128065;&#65039;</h3><div class="captioned-image-container"><figure><div id="youtube2-kAOl123EXBg" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;kAOl123EXBg&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/kAOl123EXBg?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div></figure></div><p>Fulmo&#8217;s PotzBlitz is a weekly lightning talk podcast while the world is in lockdown. Its purpose is to create a sense of community, update the viewers on the latest developments in the lightning world, and give creators a platform to showcase their project. We were honored to be invited to talk about running a privacy first, account-free crypto exchange. We talked about everything from our vision to technology and went deep into the architecture of submarine swaps. We would like to thank Jeff from Fulmo and Dennis from Bitwala for hosting us. <a href="https://github.com/BoltzExchange/slides/blob/master/boltz-fulmo-pptfinal.pdf">Here</a> are the slides from this talk.</p><h3>5. Decentralized liquidity aggregator Exchange Union&#8217;s daemon integrates Boltz&#8202;&#8212;&#8202;making it default choice to power lightning deposits&nbsp;&#128526;</h3><p><strong><a href="https://github.com/ExchangeUnion/xud-docker/commit/c81ecf46130163cc29bb0b60e439acd74d17b761" title="https://github.com/ExchangeUnion/xud-docker/commit/c81ecf46130163cc29bb0b60e439acd74d17b761">feat: add Boltz daemon (#532) &#183; ExchangeUnion/xud-docker@c81ecf4</a></strong><a href="https://github.com/ExchangeUnion/xud-docker/commit/c81ecf46130163cc29bb0b60e439acd74d17b761" title="https://github.com/ExchangeUnion/xud-docker/commit/c81ecf46130163cc29bb0b60e439acd74d17b761"><br></a><em><a href="https://github.com/ExchangeUnion/xud-docker/commit/c81ecf46130163cc29bb0b60e439acd74d17b761" title="https://github.com/ExchangeUnion/xud-docker/commit/c81ecf46130163cc29bb0b60e439acd74d17b761">Permalink Browse files feat: add Boltz daemon (#532) * feat: add Boltz daemon * chore(boltz): add shortcuts for&#8230;</a></em><a href="https://github.com/ExchangeUnion/xud-docker/commit/c81ecf46130163cc29bb0b60e439acd74d17b761" title="https://github.com/ExchangeUnion/xud-docker/commit/c81ecf46130163cc29bb0b60e439acd74d17b761">github.com</a></p><p><a href="https://www.exchangeunion.com/">Exchange Union</a>, is an open-source project building <a href="https://github.com/ExchangeUnion/xud"><code>xud</code></a>&#8202;&#8212;&#8202;the reference implementation powering <a href="https://opendex.network/">OpenDEX</a>, which is a decentralized exchange built on top of the <a href="https://lightning.network/">Lightning</a> and <a href="https://connext.network/">Connext</a> network. <a href="https://github.com/ExchangeUnion/xud"><code>xud</code></a> brings individual traders, market makers, and exchanges onto OpenDEX to form a single global trading network and liquidity pool, in a bid to counter fragmented liquidity problem persistent across modern-day exchanges.</p><p>Using Boltz, market makers running the <a href="https://github.com/ExchangeUnion/xud-docker">XUD docker</a> environment can directly get balanced channels and deposit or withdraw from their lightning channels using a simple command or upcoming WebUI interface.</p><h3>6. An epic feat: Channel Creation Swaps&nbsp;&#127882;</h3><div class="captioned-image-container"><figure><div id="youtube2-3u28Cnub_r4" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;3u28Cnub_r4&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/3u28Cnub_r4?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><figcaption class="image-caption">Demo of Exchange Union XUD onboarding using Boltz channel creation swap</figcaption></figure></div><p>Our latest Boltz <a href="https://github.com/BoltzExchange/boltz-backend/releases/tag/v2.3.0">Ragnarok release</a> bundles a landmark feature: Channel Creation swaps. We published a detailed <a href="https://medium.com/@lightningboltzmann/a-landmark-boltz-release-creating-lightning-channels-on-the-fly-%EF%B8%8F-94896854b681">post</a> on it. The fact that the user can now get a balanced lightning channel from the get-go while retaining the self custodial and private nature of the Boltz swaps is quite revolutionary in itself. Channel creation swaps are a <em>type</em> of normal submarine swap&#8202;&#8212;&#8202;which means that lapp developers can build a seamless user experience on top of the same API endpoint primitive. Some wallets and projects are in the final stages of integrating it, which makes this feat a highlight of our past few months at Boltz.</p><h3>What&#8217;s next</h3><p>As the world recovers from the pandemic and the economy bounce back, we are hopeful that the lightning projects will gain even more momentum. This building streak of the past few months has given us lots of headways and we plan to capitalize on it by carrying on with the shipping mode. Our next major release will feature the integration of a BTC/USDT pair. This will increase our targeted userbase as an exchange. A stablecoin integration means Boltz traders will be able to use Boltz to shield themselves from the volatility of the market. If you have any questions, feel free to hit us up on <a href="https://twitter.com/Boltzhq">Twitter</a> or <a href="https://discord.gg/Uu3vXWa">Discord</a>.</p><p>Until next time, happy swapping!</p><p>Team Boltz</p>]]></content:encoded></item><item><title><![CDATA[A Landmark Boltz release: Creating lightning channels on the fly! ✈️]]></title><description><![CDATA[TL;DR: Boltz now provides a self-custodial way to get a balanced lightning channel without manual actions required from the end-user.]]></description><link>https://blog.boltz.exchange/p/a-landmark-boltz-release-creating-lightning-channels-on-the-fly-94896854b681</link><guid isPermaLink="false">https://blog.boltz.exchange/p/a-landmark-boltz-release-creating-lightning-channels-on-the-fly-94896854b681</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Tue, 07 Jul 2020 10:17:14 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/d38d147f-53e0-4d13-9c0d-2a921cc88f86_707x601.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>TL;DR: </strong>Boltz now provides a self-custodial way to get a balanced lightning channel without manual actions required from the end-user.</p><h3>Primer</h3><p>Bitcoin&#8217;s lightning network has been under constant limelight since it was conceptualized by Poon et al. in a <a href="https://lightning.network/lightning-network-paper.pdf">2015 paper</a>. It&#8217;s touted as a solution to the scaling problem of the Bitcoin network. By acting as a second layer, the lightning network enables faster settlements of transactions without compromising with the censorship-resistant properties of the underlying blockchain. But it comes with a fair share of tradeoffs. <a href="https://www.youtube.com/watch?v=RiVxj0cfrBU">Lightning skeptics</a> have long argued that the Lightning Network is essentially hard to use and the way it is architectured results in a user experience that doesn&#8217;t pave a friendly road for users who want to take part in the lightning economy.</p><p>By building products and tools that help improve its usability for lightning users, we at Boltz as a Lightning service provider (LSP) have contributed towards fixing these aforementioned issues. Our new flagship offering: <em><strong>Channel Creation Swaps</strong></em>, is another step towards that goal.</p><h3>Introduction</h3><p>As the name implies, Boltz Channel Creation Swap is another tool in the ever-growing Boltz arsenal that allows the users to get a balanced lightning channel in the easiest and most frictionless way possible. This is an important landmark for Boltz and the lightning ecosystem at large because it makes it easy for users to get up and running with lightning in a matter of minutes. There are few other providers that offer such a channel creation swap server, namely: <a href="https://www.bitrefill.com/buy/lightning-channel/?hl=en">Bitrefill&#8217;s Thor</a> and Eclair&#8217;s <a href="https://github.com/ACINQ/phoenix">Pheonix wallet</a>, but Boltz offering distinguishes itself by keeping the self custodial and atomic nature of the channel creation service intact. This is revolutionary because there&#8217;s always a fine line between trading off the trustless nature or letting users deal with the UX friction. Boltz Channel Creation Swap finds a great balance between the two&#8202;&#8212;&#8202;which makes this offering an attractive proposition for developers trying to onboard users to their lightning wallets and apps, without worrying about which service to trust as these swaps retain the atomicity principle, i.e, swaps either complete in full or the user funds get refunded.</p><h3>User Story</h3><p>A normal user flow of setting up a self-custodial lightning wallet comes riddled with friction. After downloading the wallet and funding it with on-chain coins, the user has to open a channel and find a way to get inbound liquidity to the nodes he intends to transact with. This increases the user churn as it is the antithesis of promised fast payments via the lightning network.</p><p>By using a wallet or app that integrates Boltz Channel Creation service, end-users can now send the on-chain funds to Boltz, and in return, Boltz opens a fully balanced ready-to-transact lightning channel to the user&#8217;s node with inbound liquidity. This adheres to the ubiquitous and intuitive deposit flow in Bitcoin wallets that users are already familiar with&#8202;&#8212;&#8202;making this whole experience of going from installing the wallet to doing the first transaction as seamless as possible.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iNJl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbab36913-e409-4171-b22d-e298ab04c61b_707x601.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iNJl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbab36913-e409-4171-b22d-e298ab04c61b_707x601.png 424w, https://substackcdn.com/image/fetch/$s_!iNJl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbab36913-e409-4171-b22d-e298ab04c61b_707x601.png 848w, https://substackcdn.com/image/fetch/$s_!iNJl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbab36913-e409-4171-b22d-e298ab04c61b_707x601.png 1272w, https://substackcdn.com/image/fetch/$s_!iNJl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbab36913-e409-4171-b22d-e298ab04c61b_707x601.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iNJl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbab36913-e409-4171-b22d-e298ab04c61b_707x601.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bab36913-e409-4171-b22d-e298ab04c61b_707x601.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!iNJl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbab36913-e409-4171-b22d-e298ab04c61b_707x601.png 424w, https://substackcdn.com/image/fetch/$s_!iNJl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbab36913-e409-4171-b22d-e298ab04c61b_707x601.png 848w, https://substackcdn.com/image/fetch/$s_!iNJl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbab36913-e409-4171-b22d-e298ab04c61b_707x601.png 1272w, https://substackcdn.com/image/fetch/$s_!iNJl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbab36913-e409-4171-b22d-e298ab04c61b_707x601.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">High-level flowchart</figcaption></figure></div><p>At the architectural level, Boltz Channel Creation Swaps are a kind of normal <a href="https://medium.com/boltzhq/submarine-swaps-c509ce0fb1db">submarine swap</a> (on-chain to off-chain) but with an additional feature&#8202;&#8212;&#8202;If there exists no route between the user and Boltz node, Boltz will open a channel on the fly and deposit the amount that the user sent on-chain minus the fee, to the newly created channel. This means that for a Channel Creation Swap to get triggered: There shouldn&#8217;t be an existing route between the user and Boltz with a cumulative inbound capacity greater than or equal to the intended on-chain deposit amount. The perk of channel creation swap being a <em>type</em> of normal submarine atomic swap is that the user doesn&#8217;t need to trust Boltz or any other lightning service provider offering this service&#8202;&#8212;&#8202;making it a truly transformative UX improvement for people using the lightning network.</p><h3>Demo</h3><div class="captioned-image-container"><figure><div id="youtube2-emWAVKurV3k" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;emWAVKurV3k&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/emWAVKurV3k?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div></figure></div><p>This is a step-by-step demo of the channel creation swap.</p><h3>Summary</h3><p>Boltz channel creation swap is an important milestone for Boltz and the lightning ecosystem. It&#8217;s planned integration with popular node management tools and wallets would further bring down the UX barrier. We plan to continue working on building tools that will enable more users to partake in the lightning economy and empower them to join the movement of reclaiming our financial sovereignty.</p><p>Until next time, Boltz on!</p><p>Team Boltz.</p>]]></content:encoded></item><item><title><![CDATA[Brewing @ Boltz: Hold Reverse Swaps]]></title><description><![CDATA[TL;DR: This post attempts to distill the idea of hold reverse submarine swaps, what we are working on behind the scene, and what the&#8230;]]></description><link>https://blog.boltz.exchange/p/brewing-boltz-hold-reverse-swaps-fea0fadbf041</link><guid isPermaLink="false">https://blog.boltz.exchange/p/brewing-boltz-hold-reverse-swaps-fea0fadbf041</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Mon, 13 Jan 2020 16:09:52 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/e9799dab-a4b7-4faa-9f39-64d9cbd68bc2_800x959.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>TL;DR:</strong> This post attempts to distill the idea of hold reverse submarine swaps, what we are working on behind the scene, and what the future holds for us.</p><h4><strong>Cutting the&nbsp;Jargon</strong></h4><p>An altruist reader of our blog rightly pointed out that lightning to on-chain swaps on Boltz has one major flaw, which we were aware of and actively working to counter.</p><p><strong><a href="https://medium.com/@leondo/what-prevents-a-user-from-locking-up-all-of-the-boltz-funds-by-opening-a-lot-of-reverse-swaps-2fe8cc395b08" title="https://medium.com/@leondo/what-prevents-a-user-from-locking-up-all-of-the-boltz-funds-by-opening-a-lot-of-reverse-swaps-2fe8cc395b08">What prevents a user from locking up all of the boltz funds by opening a lot of reverse swaps&#8230;</a></strong><a href="https://medium.com/@leondo/what-prevents-a-user-from-locking-up-all-of-the-boltz-funds-by-opening-a-lot-of-reverse-swaps-2fe8cc395b08" title="https://medium.com/@leondo/what-prevents-a-user-from-locking-up-all-of-the-boltz-funds-by-opening-a-lot-of-reverse-swaps-2fe8cc395b08"><br></a><em><a href="https://medium.com/@leondo/what-prevents-a-user-from-locking-up-all-of-the-boltz-funds-by-opening-a-lot-of-reverse-swaps-2fe8cc395b08" title="https://medium.com/@leondo/what-prevents-a-user-from-locking-up-all-of-the-boltz-funds-by-opening-a-lot-of-reverse-swaps-2fe8cc395b08">It won&#8217;t cost the customer (they just add their btc address) but will cost boltz because they&#8217;re locking up on chain&#8230;</a></em><a href="https://medium.com/@leondo/what-prevents-a-user-from-locking-up-all-of-the-boltz-funds-by-opening-a-lot-of-reverse-swaps-2fe8cc395b08" title="https://medium.com/@leondo/what-prevents-a-user-from-locking-up-all-of-the-boltz-funds-by-opening-a-lot-of-reverse-swaps-2fe8cc395b08">medium.com</a></p><p>To summarize the issue in layman&#8217;s terms&#8202;&#8212;&#8202;Boltz was locking funds (the coins the user intended to buy) before the user paid the invoice (the coins the user intended to sell). It opened up Boltz to a spam vector, wherein, any motivated malicious third party could repeatedly start a swap and bail out before paying the invoice. This would result in Boltz locking up on-chain funds over and over again while losing a few satoshis on on-chain fee every single time. Moreover, Boltz also pays the opportunity cost of locked-up funds for the duration of the swap timeout.</p><h4><strong>When it rains, it&nbsp;pours</strong></h4><p>As if these vulnerabilities weren&#8217;t enough of the trouble already, the reverse swap flow also had an inherent design flaw: the sweeping, or the claiming of funds by the user client had to work<em>,</em> or the user could lose funds.</p><p>We encountered many instances where we had to manually refund back the coins to the user because their browser failed to claim the fund. It could be caused by an unstable internet connection, browser crash, or any of the million things gone wrong on the client-side. For a non-custodial crypto exchange like Boltz, safeguarding the user fund is the bread and butter, so solving this issue was extremely important. We brainstormed many methods to counter this, including now-defunct <a href="https://github.com/BoltzExchange/boltz-backend/issues/170">Protocol 11</a>, but we wanted a solution that didn&#8217;t break the atomicity of the swap, so we kept looking.</p><h4><strong>Till it finally dawned on&nbsp;us</strong></h4><p>A different kind of lightning invoice&#8202;&#8212;&#8202;hold invoice, have the potential to solve our problem. Folks at lightning labs were quick to detail the new swap architecture enabled by hold invoices in a <a href="https://blog.lightning.engineering/technical/posts/2019/04/15/loop-out-in-depth.html">blogpost</a>.</p><p>Hold invoice is simply a lightning invoice with an added quirk: instead of locking and settling the HTLC (<a href="https://en.bitcoin.it/wiki/Hash_Time_Locked_Contracts">hashed time-locked contracts)</a> immediately when the payment arrives, the HTLC is <strong>only locked, not settled. </strong>This enables an interesting flow on the receiver&#8217;s end&#8202;&#8212;&#8202;they can choose whether to settle or cancel the HTLC. From the sender&#8217;s perspective, a hold invoice looks identical to a regular lightning invoice, which makes it compatible with all existing lightning wallets. There have been many interesting use cases of hold invoice now in production&#8202;&#8212;&#8202;that extended the lightning implementation to accommodate new flows, which in turn improved the user experience by orders of magnitude. For example, our friends at Breez used hold invoices to build <a href="https://medium.com/breez-technology/introducing-lightning-rod-2e0a40d3e44a">Lightning Rod</a>, which enables asynchronous lightning payments.</p><h4>Let Bob send the preimage&nbsp;first</h4><p>Cutting to the chase, our new reverse submarine swap architecture made use of hold invoices in such a manner that the user now creates the preimage and locks up the lightning funds <em>before</em> Boltz, which means there is now a non-negligible cost of locked funds when deciding to bail out from a swap. This significantly reduces the spam attack vector, since it&#8217;s simply not for free anymore to bail out from a swap. The following picture depicts our new swap flow and gives a high-level idea of the process.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zW7U!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fce0841-72c5-4399-9bf9-f34b0624360b_800x959.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zW7U!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fce0841-72c5-4399-9bf9-f34b0624360b_800x959.png 424w, https://substackcdn.com/image/fetch/$s_!zW7U!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fce0841-72c5-4399-9bf9-f34b0624360b_800x959.png 848w, https://substackcdn.com/image/fetch/$s_!zW7U!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fce0841-72c5-4399-9bf9-f34b0624360b_800x959.png 1272w, https://substackcdn.com/image/fetch/$s_!zW7U!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fce0841-72c5-4399-9bf9-f34b0624360b_800x959.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zW7U!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fce0841-72c5-4399-9bf9-f34b0624360b_800x959.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5fce0841-72c5-4399-9bf9-f34b0624360b_800x959.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zW7U!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fce0841-72c5-4399-9bf9-f34b0624360b_800x959.png 424w, https://substackcdn.com/image/fetch/$s_!zW7U!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fce0841-72c5-4399-9bf9-f34b0624360b_800x959.png 848w, https://substackcdn.com/image/fetch/$s_!zW7U!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fce0841-72c5-4399-9bf9-f34b0624360b_800x959.png 1272w, https://substackcdn.com/image/fetch/$s_!zW7U!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fce0841-72c5-4399-9bf9-f34b0624360b_800x959.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>Step 1:</strong> Bob creates a hash of the locally generated preimage and sends it with the &#8220;start swap&#8221; HTTP request to the Boltz server.</p><p><strong>Step 2:</strong> Boltz makes use of the said hash to create a hold invoice. Boltz then sends the invoice to Bob.</p><p><strong>Step 3: </strong>Bob receives the invoice and pays it with her lightning wallet. What really happens is, that the signed HTLC from Bob&#8217;s wallet is sent to Boltz, but the payment is held by Boltz and not executed at this point because it is still missing Bob&#8217;s preimage to do so.</p><p><strong>Step 4: </strong>Boltz then locks up the on-chain coins using a swap script that requires Bob to reveal the preimage when claiming.</p><p><strong>Step 5: </strong>Bob claims the locked on-chain funds that subsequently reveals the preimage.</p><p><strong>Step 6:</strong> Boltz then uses that preimage to unlock the lightning payment.</p><p>This new reverse submarine swap dramatically reduces the spam attack vector and also eradicates the problem of the user losing funds when claiming fails client-side. It substantially improves the user experience of Boltz. If you are a developer, you can look at our documentation for the <a href="https://docs.boltz.exchange/en/hold-reverse-swaps/lifecycle/">new swap flow lifecycle</a>. You can also hack around with our <a href="https://docs.boltz.exchange/en/hold-reverse-swaps/api/#creating-reverse-swaps">new endpoint for creating reverse swaps</a>. Shoutout to our friends at Breez for helping us to test and improve our new endpoint!</p><h4>What&#8217;s brewing&nbsp;next</h4><p>A lot is happening at Boltz, and we cannot wait to reveal what&#8217;s next. We have some exciting announcements to make, which will be huge for the community as a whole and us. Non-custodial and private trading of digital assets remains our core ethos, and we will continue to work towards making it a reality.</p><p>Till next time, Adios and happy swapping!</p><p>Team Boltz.</p>]]></content:encoded></item><item><title><![CDATA[Announcing: Boltz API release⛱]]></title><description><![CDATA[TLDR; The well documented Boltz API will now enable developers to integrate non-custodial cryptocurrency swaps into their lightning apps.]]></description><link>https://blog.boltz.exchange/p/announcing-boltz-api-release-548b1452fcd5</link><guid isPermaLink="false">https://blog.boltz.exchange/p/announcing-boltz-api-release-548b1452fcd5</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Tue, 03 Sep 2019 21:16:27 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/978c95d3-0fc0-4e9f-9bd7-faba6e01dffc_600x600.gif" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>TLDR;</strong> The well documented <a href="https://docs.boltz.exchange/en/latest/">Boltz API</a> will now enable developers to integrate non-custodial cryptocurrency swaps into their lightning apps.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!x56U!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F499563c4-ee49-44c9-86cf-31c68e57f4f4_600x600.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!x56U!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F499563c4-ee49-44c9-86cf-31c68e57f4f4_600x600.gif 424w, https://substackcdn.com/image/fetch/$s_!x56U!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F499563c4-ee49-44c9-86cf-31c68e57f4f4_600x600.gif 848w, https://substackcdn.com/image/fetch/$s_!x56U!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F499563c4-ee49-44c9-86cf-31c68e57f4f4_600x600.gif 1272w, https://substackcdn.com/image/fetch/$s_!x56U!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F499563c4-ee49-44c9-86cf-31c68e57f4f4_600x600.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!x56U!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F499563c4-ee49-44c9-86cf-31c68e57f4f4_600x600.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/499563c4-ee49-44c9-86cf-31c68e57f4f4_600x600.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!x56U!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F499563c4-ee49-44c9-86cf-31c68e57f4f4_600x600.gif 424w, https://substackcdn.com/image/fetch/$s_!x56U!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F499563c4-ee49-44c9-86cf-31c68e57f4f4_600x600.gif 848w, https://substackcdn.com/image/fetch/$s_!x56U!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F499563c4-ee49-44c9-86cf-31c68e57f4f4_600x600.gif 1272w, https://substackcdn.com/image/fetch/$s_!x56U!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F499563c4-ee49-44c9-86cf-31c68e57f4f4_600x600.gif 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>We believe that developers are very core to what makes a platform and the ecosystem as a whole succeed. So today, we couldn&#8217;t be more proud to announce the official release of the Boltz API with the associated documentation. Let&#8217;s go through some use cases to hack around with the Boltz API, shall we?</p><p><strong>&#9939; </strong>&#9889; <strong>Trust-minimized on-chain on-ramp</strong></p><p>Integrating Boltz with your lightning app enables you to on-board users who might not be using any lightning wallets yet. Boltz will provide a trust minimized way to use lightning apps with on-chain coins, which will curb the UX friction by enabling your lapp users to get outbound liquidity with an on-chain deposit.</p><p><strong>&#9878; </strong>&#9889;<strong> &#65039;Balancing or Rebalancing Lightning Channels</strong></p><p>Developers of different wallets can provide a native and trust-minimized way to balance or rebalance their user&#8217;s lightning channels with the Boltz API.</p><p><strong>&#128184; </strong>&#9889; <strong>Withdrawing from Lightning Channels</strong></p><p>Wallet developers can also use the Boltz API to provide an option for the user to withdraw from their lightning channels.</p><p>&#128176; &#9889; &#65039;<strong>Depositing into Lightning Channels</strong></p><p>In times of high fees, Boltz integration will allow you to empower your lapp users with the choice of using on-chain Litecoin to deposit into your &#9889;-Bitcoin channels, as described by Charlie Lee. All this without trading off the non-custodial nature of your lightning app.</p><p>&#128229; &#9889; <strong>Bootstrapping initial inbound liquidity</strong></p><p>For people not having <em>enough</em> inbound liquidity or new users having no lightning channels, a trust-minimized channel opening service can be built on the top of Boltz, similar to <a href="https://www.bitrefill.com/thor-lightning-network-channels/?hl=en">Bitrefill&#8217;s Thor</a>. The service can account for the channel opening and service fee in the on-chain amount received from the user during the swap.</p><p><strong>&#128257; &#9889;&#65039; Trading LTC/BTC</strong></p><p>By integrating Boltz, developers can also add the feature to swap different assets in their lightning apps, akin to Shapeshift but without all the baggage of KYC and different trust assumptions. This will, however, get even more interesting with new assets being added to Boltz.</p><p><strong>Check the documentation of the Boltz API &#128073; <a href="https://docs.boltz.exchange/en/latest/">here</a> &#128072;</strong></p><p>Our endpoints are stable and no breaking changes are planned. In an unlikely situation where we have to change the endpoints for any reason, we will be quick to give developers advanced notice so they have adequate time to make updates. Stay tuned to our <a href="https://twitter.com/boltzhq">Twitter feed</a> or chat with us on <a href="https://discordapp.com/channels/547454030801272832/557981576676245504">Discord</a>!</p><p>Stay #reckless and happy hacking!</p>]]></content:encoded></item><item><title><![CDATA[Bingo! Announcing 0-conf support for Boltz]]></title><description><![CDATA[TL;DR: This new feature will allow for instant swaps without having to wait for confirmations of on-chain transactions.]]></description><link>https://blog.boltz.exchange/p/bingo-announcing-0-conf-support-for-boltz-7fee1e7450b9</link><guid isPermaLink="false">https://blog.boltz.exchange/p/bingo-announcing-0-conf-support-for-boltz-7fee1e7450b9</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Tue, 27 Aug 2019 14:22:23 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/c3c0dc3f-5b47-4614-b8af-4e64431c5b91_600x417.gif" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>TL;DR:</strong> This new feature will allow for instant swaps without having to wait for confirmations of on-chain transactions.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eURn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a66ab6-27c1-4221-89a1-69609f11ebf5_600x417.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eURn!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a66ab6-27c1-4221-89a1-69609f11ebf5_600x417.gif 424w, https://substackcdn.com/image/fetch/$s_!eURn!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a66ab6-27c1-4221-89a1-69609f11ebf5_600x417.gif 848w, https://substackcdn.com/image/fetch/$s_!eURn!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a66ab6-27c1-4221-89a1-69609f11ebf5_600x417.gif 1272w, https://substackcdn.com/image/fetch/$s_!eURn!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a66ab6-27c1-4221-89a1-69609f11ebf5_600x417.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eURn!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a66ab6-27c1-4221-89a1-69609f11ebf5_600x417.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f0a66ab6-27c1-4221-89a1-69609f11ebf5_600x417.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!eURn!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a66ab6-27c1-4221-89a1-69609f11ebf5_600x417.gif 424w, https://substackcdn.com/image/fetch/$s_!eURn!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a66ab6-27c1-4221-89a1-69609f11ebf5_600x417.gif 848w, https://substackcdn.com/image/fetch/$s_!eURn!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a66ab6-27c1-4221-89a1-69609f11ebf5_600x417.gif 1272w, https://substackcdn.com/image/fetch/$s_!eURn!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a66ab6-27c1-4221-89a1-69609f11ebf5_600x417.gif 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a><figcaption class="image-caption">Demo of a swap using 0-conf, completed in ~10&nbsp;seconds</figcaption></figure></div><p>We are excited to announce a new feature update which will make the trading experience on Boltz as seamless and instant as ever. User experience is paramount to our cultural ethos at Boltz and when our users speak, we ardently listen; based on the feedback we decided to empower our users with an option to fast track the trade using 0 confirmation if certain preconditions are met, which are further described in this article.</p><h3>Introduction</h3><p>As the name implies, 0-confirmations are transactions that have been broadcasted but did not receive any confirmations yet i.e. the state where the transaction is yet to be included in a block. In the current architecture, an on-chain bitcoin to lightning-bitcoin swap flow follows these intuitive steps:</p><ol><li><p>The user enters the swap amount and initiates the trade. In the successive window, she pastes the lightning invoice of the &#9889;bitcoin she is ought to receive.</p></li><li><p>User is prompted to download the <em>refund.json </em>file and is successively presented with a bitcoin on-chain address to send the funds to.</p></li><li><p>After <strong>one confirmation </strong>on the Bitcoin&#8217;s blockchain, which takes ~10 minutes, the user receives the equivalent &#9889;bitcoin in her lightning wallet.</p></li></ol><p>It is rather apparent why, in many cases, the current flow might not make for ideal user experience. The user often wouldn&#8217;t have the patience to wait for 10 minutes to receive her funds and she could, in principle, choose to use any of the centralized alternatives for this very reason. We found that empowering the end-user with an option to receive the funds even before the transaction receives one-confirmation, by trading off a small amount of trust, results in orders of magnitude improvement of swap experience and therefore helps us avoid user churn.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!W_xd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F693c8a78-51d0-479b-b0e8-a0398d7ba2d4_757x136.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!W_xd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F693c8a78-51d0-479b-b0e8-a0398d7ba2d4_757x136.png 424w, https://substackcdn.com/image/fetch/$s_!W_xd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F693c8a78-51d0-479b-b0e8-a0398d7ba2d4_757x136.png 848w, https://substackcdn.com/image/fetch/$s_!W_xd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F693c8a78-51d0-479b-b0e8-a0398d7ba2d4_757x136.png 1272w, https://substackcdn.com/image/fetch/$s_!W_xd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F693c8a78-51d0-479b-b0e8-a0398d7ba2d4_757x136.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!W_xd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F693c8a78-51d0-479b-b0e8-a0398d7ba2d4_757x136.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/693c8a78-51d0-479b-b0e8-a0398d7ba2d4_757x136.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!W_xd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F693c8a78-51d0-479b-b0e8-a0398d7ba2d4_757x136.png 424w, https://substackcdn.com/image/fetch/$s_!W_xd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F693c8a78-51d0-479b-b0e8-a0398d7ba2d4_757x136.png 848w, https://substackcdn.com/image/fetch/$s_!W_xd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F693c8a78-51d0-479b-b0e8-a0398d7ba2d4_757x136.png 1272w, https://substackcdn.com/image/fetch/$s_!W_xd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F693c8a78-51d0-479b-b0e8-a0398d7ba2d4_757x136.png 1456w" sizes="100vw"></picture><div></div></div></a><figcaption class="image-caption">Satoshi on how merchants can lower the 0-conf risk, credit: bitcointalk.org</figcaption></figure></div><p>In the famous quote replying to now EOS CTO Daniel Larimer (not sure he got it) Satoshi provided a framework and reinforced that a payment processor can verify the payments &#8220;well enough&#8221; in 10 seconds or less. This also reinforces the notion that if handled properly, low-value 0-conf transactions are not only safe but encouraged.</p><h3>Caveats</h3><p>We will start by explaining a very important feature of the Bitcoin protocol&#8202;&#8212;&#8202;<a href="https://en.bitcoin.it/wiki/Replace_by_fee">Replace-by-Fee (RBF)</a></p><p>In laymen terms, it allows for the replacement of a transaction with a new version of the transaction, which is useful if the first transaction is stuck in the mempool because of low fees. The new version of the transaction can (and has to) pay more fees which will increase the probability of being included in a block. While this may be very useful for the free market that the Bitcoin protocol is hedging for, it comes with a serious drawback&#8202;&#8212;&#8202;a malicious actor can hypothetically double-spend the unconfirmed transaction using RBF. Because when a transaction is replaced with RBF it can not only change the amounts it is sending to the outputs but also change the outputs completely and redirect the unconfirmed transaction that way.</p><p>Consider a hypothetical scenario where Alice is a malicious actor who decides to scam Boltz. Alice initiates the swap of one &#9889;bitcoin for one on-chain bitcoin. As explained in the Introduction section of this article, Alice sends the on-chain bitcoin to Boltz&#8217;s bitcoin address with a 0.0005 bitcoin as transaction fee. Boltz&#8217;s server notices the unconfirmed transaction and pays the user&#8217;s &#9889;bitcoin invoice. Alice receives the ln payment and then goes forward and replaces the transaction from her wallet with her own address but with a higher fee of 0.001 bitcoin. Now since this replaced transaction has higher fees, miners are incentivized to include it in the block before the legitimate transaction. This results in Alice swapping 1 &#9889;bitcoin from Boltz for merely 0.0015 bitcoin in transaction fees instead of the actual 1 bitcoin.</p><p><strong>How does Boltz hedges against this risk?</strong></p><p>To avoid the swindle as described in the aforementioned hypothetical case, Boltz employs a couple of precautionary measures: It checks for whether the transaction is signaling RBF (inherited or otherwise), in which case, the Boltz server would not pay the lightning invoice unless the legitimate transaction at least gets one confirmation. With the tradeoff for waiting longer (10 minutes in this case), Boltz could protect itself from malicious behavior from Alice. The second precautionary measure that would potentially discourage the use of this attack vector is a check by the Boltz server to concur if the fees are high enough for the transaction to be included in the next block. This eliminates the possibility where the attacker doesn&#8217;t even need to double-spend, but just send the transaction with very low fees that stay in mempool <em>forever </em>without getting mined.</p><p><strong>Are users at risk?</strong></p><p>As described before, when using Boltz for swapping on-chain coins for &#9889; lightning coins, the risk<em> </em>while very small, is on side of Boltz. If however, when the user decides to swap lightning coins for the on-chain coins, the minimal risk switches to the side of the user. Boltz also has a maximum threshold in place, which is currently <strong>1 million satoshis and 125 million litoshis (currently ~100 USD), </strong>it further mitigates the risk as users sending transactions above these amounts won&#8217;t have an option to use the 0-conf feature.</p><h3>Summary</h3><p>The 0-conf feature allows us to empower users with a choice, a choice to trade off a small risk with a roughly <strong>600x </strong>improvement in speed. Users who are not comfortable with this trade-off; stick with regular 1-confirmation on-chain transactions.</p><h4><strong>Further readings</strong></h4><ol><li><p><a href="https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki">BIP 125: Opt-in Full Replace-by-Fee Signaling</a></p></li><li><p><a href="https://bitcointalk.org/index.php?topic=1395427.0">Bitcointalk</a> discussion on RBF (Replace-by-Fee)</p></li><li><p>A <a href="https://coinatmradar.com/blog/support-zero-confirmation-transactions-at-bitcoin-atm/">breakdown</a> of the infamous bitcoin ATM hack that exploited 0-conf attack vector</p></li></ol>]]></content:encoded></item><item><title><![CDATA[The Problem with Free Options]]></title><description><![CDATA[TL;DR: There might not be any such thing as a free lunch but in cryptoverse, there is something called the free options problem that&#8230;]]></description><link>https://blog.boltz.exchange/p/the-problem-with-free-options-69f9f59a2d48</link><guid isPermaLink="false">https://blog.boltz.exchange/p/the-problem-with-free-options-69f9f59a2d48</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Fri, 26 Jul 2019 21:10:33 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/5c1bf192-92a1-45b2-9f43-2b3b161f09ee_600x338.gif" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>TL;DR: </strong>There might not be any such thing as a free lunch but in cryptoverse, there is something called <a href="https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-December/001752.html">the free options problem</a> that pushed us to the state of quandary. This blog post details how we, at Boltz, fell prey to that. The brief timeline goes over what transpired at Boltz and how we recovered from it.</p><h3>Introduction</h3><p>Suppose that Alice agrees to sell 10 Litecoin for 1 &#9889;Bitcoin to Bob, so the trade gets executed in the following steps:</p><p><em>Step 1)</em>Bob will create an invoice for 1 &#9889;Bitcoin and sends it to Alice</p><p><em>Step 2)</em>Alice will generate a redeem script and address based on the hash of the preimage of the invoice</p><p><em>Step 3)</em>Bob will send the on-chain Litecoin to this address</p><p><em>Step 4)</em>Alice will pay the aforementioned invoice of Bob to get the preimage in order to be able to claim those 10 Litecoin</p><p>The aforementioned steps illustrate how a submarine swap between &#9889;Bitcoin and Litecoin (buying &#9889;Bitcoin by sending on-chain Litecoin) works. But there&#8217;s a catch, during that period of time, Bob can choose to delay sending his Litecoin to Alice&#8217;s address, for as long as Alice is annoyed enough to bail out of the agreement because the onchain HTLC times out. If the exchange rate changes in Litecoin&#8217;s favor, Bob would wait until the onchain timelock expires and keep his &#8220;more valuable Litecoin&#8221;. If however, the exchange rate tilts in Bitcoin&#8217;s favor, Bob would settle the payment and receive the Bitcoin at a discounted rate. Evidently, this gives an unfair advantage to Bob since Alice is left prone to Bob delaying his payment and take advantage of exercising his option to let the swap expire. Completely free of charge. This proves that the method of trade described above depends on the altruism of Bob and hence isn&#8217;t a foolproof system.</p><p>This problem is well studied in modern cryptography. Many research papers like <a href="https://eprint.iacr.org/2014/129.pdf">How to Use Bitcoin to Design Fair Protocols</a> have proposed workarounds. But a solution to the free options problem, which is a subset of the broader fair exchange problem, has been <a href="https://www.cs.utexas.edu/~shmat/courses/cs395t_fall04/pagnia.pdf">found</a> to be impossible to solve so far without the use of a trusted third party. In the context of lightning powered exchanges, Corn&#233; Plooy, a researcher who earlier created a related <a href="https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-May/001292.html">thread</a> pertaining to this on Lightning-Dev mailing list, proposed a <a href="https://bitonic.nl/public/slowdown_prevention.pdf">solution</a> that lowers the amount of trust needed to be placed on the third party in this scenario. This proposed solution, according to Plooy&#8217;s own admission, is far from perfect but we think that this is a step in the right direction and departure from the <a href="https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-December/001752.html">belief</a> that a multi-asset lightning network and in turn exchange of different assets via lightning may not be economically viable.</p><h3>How did this affect us at&nbsp;Boltz?</h3><p>Simply put, <em>WE GOT REKT</em></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!5yji!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F264f10cb-d1f3-490a-b107-4595e4c6776f_600x338.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5yji!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F264f10cb-d1f3-490a-b107-4595e4c6776f_600x338.gif 424w, https://substackcdn.com/image/fetch/$s_!5yji!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F264f10cb-d1f3-490a-b107-4595e4c6776f_600x338.gif 848w, https://substackcdn.com/image/fetch/$s_!5yji!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F264f10cb-d1f3-490a-b107-4595e4c6776f_600x338.gif 1272w, https://substackcdn.com/image/fetch/$s_!5yji!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F264f10cb-d1f3-490a-b107-4595e4c6776f_600x338.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5yji!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F264f10cb-d1f3-490a-b107-4595e4c6776f_600x338.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/264f10cb-d1f3-490a-b107-4595e4c6776f_600x338.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!5yji!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F264f10cb-d1f3-490a-b107-4595e4c6776f_600x338.gif 424w, https://substackcdn.com/image/fetch/$s_!5yji!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F264f10cb-d1f3-490a-b107-4595e4c6776f_600x338.gif 848w, https://substackcdn.com/image/fetch/$s_!5yji!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F264f10cb-d1f3-490a-b107-4595e4c6776f_600x338.gif 1272w, https://substackcdn.com/image/fetch/$s_!5yji!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F264f10cb-d1f3-490a-b107-4595e4c6776f_600x338.gif 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>We started to observe suspicious bot trading activity on Boltz (albeit quite late) on the BTC/LTC pair. The attacker was making use of the free option exploit and waiting for the rate to sway to his favor, at which point, the attacker would go forward with the trade to churn out a profit. The Litecoin price increase in the month of May complemented this strategy and made it a lucrative exploit. We deployed our SWAT team to research this and realized that regular submarine swaps (paying &#9889; invoice via on-chain tx) on Boltz did not have a timeout. This major bug made it very easy for the malicious actor to carry out this attack as s/he could quite literally delay the release of the preimage <em>forever. </em>We quickly deployed a fix that made Boltz abort the normal swap when the on-chain timeout expired.</p><p><em>But the draining continued&#8230;</em></p><p>The fix proved to be inconsequential to our cause as the funds keep getting drained out. It turned out that, the block timeout, which was ~10 blocks for the Bitcoin&#8217;s blockchain, gave enough room to the attacker to continue with the offensive. In the process, a bug was discovered, which opened another attack vector: we miscalculated our fees. We were finally able to control the damage by fixing these two bugs. We decided to invest time building better internal toolings i.e robust warning system and periodic statistics updates that can help us track and deter any potential exploit earlier than we did this time around. We decided to move away from CryptoCompare for rates, and built a new rate calculation mechanism that takes the rates from the APIs of five popular exchanges, namely, Binance, Bitfinex, Coinbase Pro, Kraken, and Poloniex and averages them out to get a more &#8220;fair&#8221; rate for our users.</p><p>We apologize for any inconvenience caused by the downtime Boltz experienced in the past weeks. The code is now more robust than ever before and we are excited about a new big feature launch soon. Please watch out this space for more on it.</p><h3>Further Readings on Free Option Mitigations</h3><ol><li><p>A <a href="https://bitonic.nl/public/slowdown_prevention.pdf">solution</a> on preventing transaction delays with a Lightning routing service, for preventing abuse in a Lightning-based peer-to-peer exchange.</p></li><li><p>Another <a href="https://bitonic.nl/public/latencymonitor.pdf">proposal</a> on a trusted latency monitor service</p></li></ol>]]></content:encoded></item><item><title><![CDATA[WebLN integration with Boltz]]></title><description><![CDATA[&#8220;WebLN is a library and set of specifications for lightning apps and client providers to facilitate communication between apps and users&#8217;&#8230;]]></description><link>https://blog.boltz.exchange/p/webln-integration-with-boltz-e33a4e7b2f82</link><guid isPermaLink="false">https://blog.boltz.exchange/p/webln-integration-with-boltz-e33a4e7b2f82</guid><dc:creator><![CDATA[Boltz]]></dc:creator><pubDate>Fri, 07 Jun 2019 15:49:57 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/41f18492-e585-40b5-a2ba-a2b56a18979d_600x323.gif" length="0" type="image/jpeg"/><content:encoded><![CDATA[<blockquote><p>&#8220;WebLN is a library and set of specifications for lightning apps and client providers to facilitate communication between apps and users&#8217; lightning nodes in a secure way. It provides a programmatic, permissioned interface for letting applications ask users to send payments, generate invoices to receive payments, and much more&#8221;</p></blockquote><p>Source: <a href="https://webln.dev/">webln.dev</a></p><p>Inspired by Ethereum&#8217;s <a href="https://web3js.readthedocs.io/en/1.0/">web3</a> standard, <a href="https://github.com/wbobeirne">William O&#8217;Beirne</a> set out to make a similar standard for lightning which could improve the experience on the web. Since then, it has gained noticeable traction in the community with lots of different lightning apps like<a href="https://lightningjoule.com/"> Lightning Joule</a> now supporting it. At Boltz, we constantly obsess about user experience and brainstorm ideas around making Boltz easier to use for the end users. Integrating WebLN was a no-brainer. Boltz integrates WebLN in a client-agnostic manner and follows the recommended <a href="https://webln.dev/#/ux-best-practices">UX best practices.</a> Integration of WebLN makes a lot of processes like generating and paying invoices a little easier, as depicted in the gif below.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GhtW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cf994b5-a3b3-4a16-8989-aa58f9e91553_600x323.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GhtW!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cf994b5-a3b3-4a16-8989-aa58f9e91553_600x323.gif 424w, https://substackcdn.com/image/fetch/$s_!GhtW!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cf994b5-a3b3-4a16-8989-aa58f9e91553_600x323.gif 848w, https://substackcdn.com/image/fetch/$s_!GhtW!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cf994b5-a3b3-4a16-8989-aa58f9e91553_600x323.gif 1272w, https://substackcdn.com/image/fetch/$s_!GhtW!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cf994b5-a3b3-4a16-8989-aa58f9e91553_600x323.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GhtW!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cf994b5-a3b3-4a16-8989-aa58f9e91553_600x323.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3cf994b5-a3b3-4a16-8989-aa58f9e91553_600x323.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GhtW!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cf994b5-a3b3-4a16-8989-aa58f9e91553_600x323.gif 424w, https://substackcdn.com/image/fetch/$s_!GhtW!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cf994b5-a3b3-4a16-8989-aa58f9e91553_600x323.gif 848w, https://substackcdn.com/image/fetch/$s_!GhtW!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cf994b5-a3b3-4a16-8989-aa58f9e91553_600x323.gif 1272w, https://substackcdn.com/image/fetch/$s_!GhtW!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cf994b5-a3b3-4a16-8989-aa58f9e91553_600x323.gif 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a><figcaption class="image-caption">Using Boltz with&nbsp;Joule</figcaption></figure></div><p>There are, however, other attempts to standardize the use of lightning on the web, notably by <a href="https://www.coindesk.com/the-new-effort-to-get-bitcoins-lightning-network-in-every-browser">W3C</a>. Nevertheless, we believe that WebLN is best poised and ticks all the boxes as of right now.</p><p>The different lightning browser extensions, notably <a href="https://lightningjoule.com/">Joule</a>, have been instrumental in making lightning easier to use. It lightning-charges any browser, which gives the user the ability to pay and create invoices without leaving their browser. We also like the idea of a lightning public key being used as a means of authentication on the internet, no PII required. <a href="https://github.com/fiatjaf/kwh">Kwh</a> is another WebLN powered browser extension with the same goal as Joule, but for different implementations of the lightning network: lightningd/eclair/ptarmigan. The fast-paced development of the lightning protocol and UX improvements is happening simultaneously which is opening up the floodgate of possibilities to build useful lapps. We are more excited than ever to continue taking an active part in building an exciting and easy-to-use product for end users.</p><p>Happy Swapping&nbsp;:)</p>]]></content:encoded></item></channel></rss>