How to use PyBLØCK Exchange
A step-by-step guide to swapping BTC and SPM over Lightning. No account, and your money is never left here.
Go to the exchange1What it is and what you need
Swap BTC (Bitcoin, BLAKE2b) for SPM (the SHA‑256 chain), or the other way round, over Lightning. No account, and your money is never left here. You need two Lightning wallets: one for each chain.
What you need
- A BTC (BLAKE2b) Lightning wallet, for example a Laguz Hub.
- An SPM Lightning wallet: Phoenix, Zeus, Alby, Wallet of Satoshi or another one.
- That is all: no account and no email needed.
Non-custodial, in plain words
There are no balances or deposits here: we never keep anyone’s money. When you pay, your payment stays locked in the Lightning network (it is a “hold invoice”). We do not collect it yet.
First we pay you, to your own wallet. Only then can we collect your payment. If we cannot pay you, your payment is released and goes back to your wallet by itself: it is not a refund, it was never ours.
↑ Back to contents2Buy BTC: you pay SPM, you get BTC
You will use both wallets: the BTC one to receive and the SPM one to pay.
- Open your BTC walletThis is the wallet where you will receive, for example your Laguz Hub.
- Create an invoice with the amountTap “Receive” and enter how many sats BTC you want to get: between 100,000 and 10,000,000. Copy the invoice: it starts with “ln”. It must have an amount and be valid for at least 15 minutes.
- Paste it in “Swap” and tap “Get quote”On the main page, paste the invoice in the box. You do not choose buy or sell: the exchange tells from the invoice.On screen BTC invoice: you are buying BTC.
- Review and confirmThe “Review and confirm” window opens: how much you get, how much SPM you pay, your price, the market price, the fee and how many seconds the price is valid. If it works for you, tap “Confirm”. If not, “Cancel”: nothing is charged.
- Pay with your SPM walletA QR code and an SPM invoice appear, with the payment details and a countdown. Scan the QR with your SPM wallet, or tap “Copy” and paste it there. Pay before the countdown ends.On screen Pay this invoice
- Done in secondsAs soon as we see your payment, we pay your invoice. Look at your BTC wallet: it is there.On screen We got your payment (held). Paying you now…On screen Done: we paid you 250.000 sats BTC.
3Sell BTC: you pay BTC, you get SPM
The same thing the other way round: the SPM wallet receives and the BTC wallet pays.
- Open your SPM walletThis is where you will receive: Phoenix, Zeus, Alby, Wallet of Satoshi or another SPM Lightning wallet.
- Create an SPM invoice with the amountEnter how many sats SPM you want to get. The minimum and maximum in SPM are above the “Swap” box, in brackets. The invoice must be valid for at least 15 minutes.
- Paste it and tap “Get quote”The exchange sees it is an SPM invoice and understands you are selling BTC.On screen SPM invoice: you are selling BTC.
- Review and confirmCheck above all how much BTC you will pay and how much SPM you will get. If it works for you, tap “Confirm”.
- Pay with your BTC walletScan the QR or copy the invoice and pay it from your BTC wallet (for example your Laguz Hub), before the countdown ends.
- You get your SPMIn seconds it arrives in your SPM wallet, and the page says “Done”.
4Understanding the quote
Above the “Swap” box and in the “Review and confirm” window you will see:
- Price
- How many SPM 1 BTC is worth. There are two: one to buy BTC and one to sell. Before you paste the invoice you see both; then yours is marked.
- Fee
- Usually 1.5 %. It can be higher when the market is agitated, and it is not always the same for buying and selling. You always see it before confirming. There are no other charges; your wallet may charge its own network fee.
- Lightning network
- What it costs to send you the payment over the network. If it shows, it is already in the total.
- Total to pay
- What you pay, everything included. What you get is exactly the amount of your invoice.
- Price valid
- The quote lasts about 2 minutes and the countdown tells you how much is left. If it expires, nothing happens: make a new invoice and get a new quote.
- Difference from market
- How far your price is from the market price, fee included.
- Limits
- From 100,000 to 10,000,000 sats BTC per swap. In SPM, the same value: you see it in brackets next to it.
- 24 h cap
- There is a volume cap per direction every 24 h. The “Cap” line says how much is left for buying and for selling. It frees up little by little.
- Available now
- The largest swap possible right now. It can be less than the maximum, depending on liquidity. If it says there is no liquidity, try the other direction or later.
5What “pending” means and what happens if something fails
When you pay, your wallet may show the payment as “pending”. That is normal: your payment is held in the Lightning network while we pay you. It usually takes a few seconds.
Once we pay you, your payment completes and your wallet shows it as done. You do not need to do anything else.
If something goes wrong
- We could not pay you. Your payment is released and goes back to your wallet by itself (it can take a few minutes).You do not need to do anything. Your payment was never ours: it is released by itself.
- Expired without payment. Get a new quote.You did not pay in time and nothing was charged. Make a new invoice and get a new quote.
- You paid after the price expired: your payment was released and goes back to your wallet by itself.You paid after the countdown had ended. Wait for it to come back and start again with a new invoice.
- We are checking this swap by hand. Keep this link.This is rare. Do not pay again: keep the swap link, it will show you how it ends.
If a maker pays the swap
Some swaps are paid by an independent maker, not by the exchange. Before paying you see it in a notice, with their reputation (swaps done and failed). If their wallet fails, your payment comes back by itself when the hold invoice expires: it can take up to ~10 days in BTC. If you would rather not take that risk, tap “Cancel” before paying: nothing is charged.
Closed the page?
Open the swap link you kept. If you logged in with Nostr, you also find it in “My swaps”: tap the row to open it.
6Common errors and how to fix them
The message shows in red below the “Get quote” button. Find it here:
- That is not a Lightning invoice.You copied something that is not a Lightning invoice (for example an on-chain address). Copy the whole invoice again: it starts with “ln”.
- The invoice must state the amount, in whole sats. Some wallets (like Cash App) make the invoice without an amount: set the amount before copying it.Make a new invoice and enter the amount. Invoices without an amount do not work.
- The invoice expires too soon: make one valid for at least 15 minutes.Make a new invoice valid for 15 minutes or more, and paste it right away.
- That invoice was already used here: make a new one.Each invoice can be used only once, even if the quote expired or you canceled it. Make a new one.
- That invoice asks for too long a lock. Swap-to-on-chain services (like lightningfork.com) do that: for now, use an invoice from a Lightning wallet.Invoices from swap-to-on-chain services (such as lightningfork.com) do not work yet. Use an invoice from a regular Lightning wallet.
- That invoice’s route asks for too high a fee.Try an invoice from another wallet.
- Amount too small.Amount too large.Check the limits above the box and make a new invoice within them.
- Our channels toward your wallet cannot carry that amount right now: try a smaller amount.Make a new invoice for a smaller amount.
- Not enough liquidity for that amount right now: try less.Try less, or later. “Available now” tells you how much is possible.
- Expired without payment. Get a new quote.The quote expired. Make a new invoice, get a new quote and pay before the countdown ends.
- You already have quotes waiting for payment: pay them or wait until they expire.Pay the quote you have open, or wait about 2 minutes for it to expire.
- Too many open quotes, try again in a minute.Too many quotes, wait a minute.Wait a minute and try again.
- The 24 h cap for this direction is reached. It frees up gradually: each swap gives its share back 24 h after it was made.Wait: the room frees up as each swap turns 24 h old. The other direction may still have room.
- Paused for safety: the price is moving fast. It resumes by itself in a few minutes.No price right now, try again in a few minutes.You do not need to do anything: swaps come back by themselves in a few minutes.
- The exchange is not available right now.Something went wrong; nothing was charged.Nothing was charged. Try again in a few minutes.
7Nostr account and limit orders
The account is optional: you do not need it to swap. It gives you your history, limit orders, alerts and referrals.
Logging in
Tap “Log in with Nostr” at the top right. No password or email: you sign with your Nostr key.
- On a computer: with a Nostr extension (Alby, nos2x or another).
- On a phone: with a signer such as Primal, Amber or nsec.app. Scan the QR or tap “Open in my signer”, approve and come back to the tab.
- Did your signer give you a bunker:// link? Paste it in “Advanced · paste a bunker:// link”.
What is in your account
- “My swaps”: your history, with your average buy and sell price and your profit.
- “Orders”: limit, stop and ladder (DCA) orders. Step by step below.
- “Alerts”: we send you a Nostr direct message, only once, when the price crosses the one you chose.
- “Referrals”: share your link and earn 0.5 % of every swap of whoever comes in with it, in sats BTC.
Limit orders with NWC, step by step
Your money stays in your wallets until the price is reached. Then a normal, non-custodial swap runs. For that you connect two wallets over NWC (Nostr Wallet Connect).
- Open the “Orders” tabChoose “One order” or “Ladder (DCA)”, then “Buy BTC” or “Sell BTC”, and “Limit” or “Stop”.
- Enter price, amount and expiryThe price is in SPM per BTC, fee included. The amount is what you want to get. The order expires in up to 30 days.
- Connect the paying walletIf you buy BTC, your SPM wallet pays; if you sell, your BTC wallet. Tap “Connect” and scan the QR with your wallet (Alby Go or another NWC wallet), or tap “Open in my wallet”. If you use Alby Hub or Laguz Hub, enter its address and tap “Approve in my hub”.
- Connect the receiving walletSame as before. This one only needs to create invoices: it cannot pay anything.
- Tap “Place order”The order is “open”. When the price is reached, it runs by itself and turns “filled”.
Limit or stop
- Buy limit: runs when our buy price falls to your price or below.
- Buy stop: runs when our buy price rises to your price or above.
- Sell limit: runs when our sell price rises to your price or above.
- Sell stop: runs when our sell price falls to your price or below.
Budget and how to revoke
The paying wallet gets a budget: what the order can cost, plus 10 %. Your wallet enforces it, not us. You can cancel the order in the table (“Cancel”) and revoke the connection in your wallet whenever you want.
↑ Back to contents8Being a maker
A maker posts their own offers (buy or sell BTC, at their price) and fills them with their own wallets. Every swap goes wallet to wallet with hold invoices: the exchange never holds your money or the other side's. To start you need an account (Nostr login) and two Lightning hubs connected over NWC.
We charge 1 % of each swap. You need a BTC hub with hold invoices and a lock cap (today, Laguz Hub) and an SPM hub with hold invoices (for example, Alby Hub).
↑ Back to contents9FAQ
Do I need an account?
No. Logging in with Nostr is optional: it gives you your history, limit orders, alerts and referrals.
Can I lose my money?
Your payment is locked in Lightning with the same code as your invoice. We can only collect it after paying you. If we do not pay you, it is released by itself.
How much does it cost?
You see the fee before confirming; it is higher when the market is agitated. There are no other charges; your wallet may charge its own network fee.
How long does it take?
A few seconds after you pay. The real figure is in “Time to pay (median)”, in the “In numbers (live)” section of the main page.
Why do I have to create the invoice myself?
Because that way we pay straight to your wallet. Only you hold the secret of your invoice, and only by paying you can we collect your payment.
Can I cancel a swap?
Before paying, yes: tap “Cancel” and nothing is charged. After paying, the swap completes or your payment comes back by itself.
Can I use an on-chain address?
No. Everything is over Lightning: you need a Lightning invoice, in both currencies.
Ready? Keep both wallets at hand and start with a small amount.
Go to the exchange