How to Swap Between the Lightning Network and Bitcoin Mainnet

Illustration showing the Bitcoin symbol with purple arrows representing swaps between the Lightning Network and Bitcoin Mainnet

Swapping allows you to instantly exchange one cryptocurrency for another, or to move the same asset between layers — such as Bitcoin’s main network and the Lightning Network.

This process enables fast, flexible transactions without relying on centralized exchanges, giving you greater control, lower fees, and a seamless Bitcoin experience.

Swapping between Bitcoin’s base layer and the Lightning Network is what truly unlocks flexibility.

Whether you’re onboarding BTC to use Lightning or moving funds back to the mainnet, Klever Wallet makes the process non-custodial, secure, and intuitive — designed for both beginners and advanced users.

Ready to put that flexibility into action?

With Klever Wallet, you can seamlessly switch between Bitcoin’s mainnet and Lightning — anytime, from anywhere — all without giving up control of your assets.

Here’s how to get started:

Swap-In: From Bitcoin Mainnet to Lightning

Want to fund your Lightning balance using BTC from an external wallet, exchange, or even your own BTC mainnet account inside Klever Wallet?

Here’s how to perform a Swap-In:

  1. Open your Bitcoin Lightning account in Klever Wallet.
  2. Tap Receive, then select Receive via BTC Mainnet.

3. Enter the amount you want to convert.


 Note

 Minimum required is 25,000 sats due to higher fees and conversion overhead.

  1. Klever will generate a Bitcoin Mainnet address (QR + text string).
  2. Copy the address or scan it using any BTC wallet (including hardware or exchange wallets).
  3. Once sent, Klever Wallet will handle the conversion via the Breez SDK.
  4. After confirmation and processing, your funds will appear in your Lightning balance.

Processing time

Swap-Ins depend on Bitcoin’s network congestion and backend conversion. It can take 30–60 minutes or longer in rare cases.

Swap-Out: From Lightning to Bitcoin Mainnet

Sending Bitcoin from Lightning to a standard BTC address? Use Swap-Out to move funds from your Lightning balance to the Bitcoin mainnet in a few easy steps.

  1. Tap Scan and scan a regular Bitcoin address (Mainnet).

2. Klever will detect that the destination is on-chain and offer two sending methods:

a. Bitcoin Mainnet (if you hold BTC on-chain)

b. Bitcoin Lightning → triggers Swap-Out

3. Choose Send with Bitcoin Lightning.

4. Enter the amount (minimum limits apply), confirm the transaction, and send.

Klever Wallet handles the full conversion in the background — all while keeping custody in your hands. Once confirmed, the recipient receives BTC on-chain.

Note

Just like Swap-In, Swap-Out operations involve the Bitcoin mainnet, which requires on-chain confirmation. 

Because of this, transactions may take longer to process — often up to an hour — and incur higher fees compared to regular Lightning payments. This delay is a natural tradeoff for using the main Bitcoin network.

Understanding Submarine Swaps

Behind the scenes, many of these swap operations rely on a powerful mechanism known as submarine swaps.

Submarine swaps are a type of non-custodial, trust-minimized process that allows users to swap funds between Bitcoin’s main network and the Lightning Network.

They work using Hashed Timelock Contracts (HTLCs) to ensure that both sides of the swap happen securely, or not at all — making the transaction atomic.

While you don’t need to manage these details yourself, it’s good to know that when you perform a Swap-In or Swap-Out in Klever Wallet, you’re using infrastructure (like Breez SDK) that applies these same secure principles.

This means you can move funds between layers without giving up custody, relying on third parties, or compromising on speed and safety.

Submarine swaps are a foundational part of the experience — powering flexible Bitcoin use without requiring technical know-how.

Why Swap Between Bitcoin Layers?

Each Bitcoin layer serves a different purpose. The base layer is optimized for security and long-term storage, while the Lightning Network enables instant, low-cost payments ideal for daily use.

Swapping between these layers gives you the best of both worlds:
the strength of Bitcoin’s core network and the speed of Lightning Network — all in one crypto wallet.

With Klever Wallet, you can seamlessly switch between them at any time, without losing custody of your funds.

Built for Trust and Security

Klever Wallet is committed to user sovereignty. Every swap — whether you’re going in or out of Lightning — is handled with full transparency and without compromising your custody.

Non-Custodial by Design

All swap operations, including Swap-In and Swap-Out, are fully non-custodial.

You remain in control of your private keys at all times. Klever Wallet never holds or accesses your funds.

No Third Parties Managing Your Assets

Even when powered by infrastructure like Breez SDK, your coins are never deposited into third-party wallets.

Swaps are executed programmatically through secure channels, both on-chain and off-chain — without intermediaries taking control.

Secure Liquidity and Smart Routing

The Breez SDK handles payment routing, channel management, and swap execution in the background, while keeping your keys private and protected.

This deep integration is designed to prioritize privacy, speed, and autonomy, giving you a seamless swap experience that doesn’t sacrifice security.

Ready to swap?

Download Klever Wallet to move your Bitcoin between Lightning and the main network — securely, instantly, and always under your control.