Swap In & Out
Swap bitcoin between on-chain and lightning ⚡
You can transfer bitcoin between your Alby Hub on-chain balance and your Alby Hub spending balance through a swap, using its existing channels and receiving capacity. ⚡🔄
Go to your Node section and click on "Advanced", check the "Swap" options.
Choose whether to send funds from your on-chain balance to your spending balance by doing a "swap-in" or to transfer your funds from your spending balance to your on-chain balance, "swap-out".

Swap In: Transfer funds from your on-chain balance to your spending balance
To use this feature, your Hub must be online with open channels.
Click "Swap In", enter the amount you want to transfer, and confirm. You'll be redirected to the Boltz website, where the swap will be executed.
On the Boltz website: 1️⃣ The receiving address (a lightning invoice of our Hub) is already pasted into the Boltz website. 2️⃣ Follow the steps on the Boltz website: Send the funds from your Alby Hub on-chain balance to the swap address (short guide) 3️⃣ Once Boltz receives them, they’ll send the bitcoin to the spending balance of your Hub ⚡.

Swap Out: Trasnfer funds from your Alby Hub spending balance to an on-chain wallet
To use this feature, your Hub must be online with open channels.
Click "Swap Out", enter the amount you want to withdraw to an on-chain wallet, and confirm. You'll be redirected to the Boltz website, where the swap will be ready to execute.
On the Boltz site: 1️⃣ Paste your on-chain wallet address. Find your Alby Hub on-chain wallet here. 2️⃣ Follow their steps and send the funds from your spending balance to Boltz by paying the lightning invoice they will provide to you. 3️⃣ Once Boltz receives the lightning payment, they’ll send the funds to the on-chain wallet address you entered on the first step 🔄.

In both cases, there will be a short waiting period while the transaction confirms on-chain ⏳. This usually takes 15 to 30 minutes, depending on block confirmations, but sometimes it’s even faster! 🚀 Sit tight, and your sats will arrive soon! 😊
Last updated
Was this helpful?