Learn / Bitcoin & Lightning deposits

Lesson

Bitcoin & Lightning deposits

To get through the gate you hold a small deposit. It is held, not spent, and it comes back when you leave cleanly. Here is why that is built on Bitcoin and Lightning.

Step 1

Why money at all

Most attacks are cheap because trying is free. An attacker can knock on a million doors and only needs one to open.

A deposit makes each knock cost something real that an attacker cannot fake. Honest people get it back. Someone who misbehaves loses access, and the held amount keeps rising while they are blocked. See Cost imposition.

Free attemptsHeld satsGatefail-closeddropped, loggedadmitted
Step 2

Why Bitcoin, and why Lightning

Bitcoin is open: anyone can use it, with no permission and no bank to call. Payments are final, and money can be locked under rules, which is what a hold needs.

On its own, Bitcoin is slow and costly for tiny amounts. Lightning sits on top of it and moves small amounts instantly. A deposit of a hundred sats is small enough that Lightning is the right fit.

A sat is one hundred-millionth of a bitcoin. Lightning invoices are the payment requests used to pay it.

Your walletLightninginstant, smallOperator nodeits ownBitcoinopen, final, programmable holds, no bank
Step 3

Held, not spent, then refunded

When you sign in with your card, the deposit moves from your available balance to held. The operator does not spend it. It is a hold.

When you sign out cleanly, the held amount returns to you. If you are blockaded, the amount required to come back rises by 100 sats per step, up to a cap of 20,000. See The blockade. Those extra sats are also held, and come back on a clean exit.

Availableyour balanceHeldnot spentReturnedclean exitsign insign outblockade: +100 sats per step required
Step 4

Topping up, on the operator's own node

To add to your balance, you ask for an invoice and pay it from any Lightning wallet. The sats arrive in your balance.

The lab runs a Lightning node owned by the operator. There is no outside custodian holding your money, and no third party between you and the hold.

Top upInvoiceYour walletOperator'sown nodeBalancecredited
Try it

A mini wallet

A simplified model with small amounts. The deposit is 100 sats, and each blockade step needs 100 more.

Available1,000
Held0
Returned (total)0

Signed out

Press Sign in to hold a 100 sat deposit.

  • Wallet created with 1,000 sats available.
The deposit is held, not spent, and a clean exit returns every sat.

Terms: sats = satoshis; hold = locked balance; invoice = Lightning payment request.