Lesson
Run your own Lightning
Any company can run its own payments rail for sign-in deposits. No wallet app, no custodian, no bank. The company is the wallet. This lesson shows the five steps and what they cost.
Your own Bitcoin node
Start with Bitcoin Core, the open-source Bitcoin software. It runs on a company server and checks every block itself.
That means you trust no one else's view of the chain. If the node says a payment is final, it is, because your own machine checked.
A node is a program that keeps its own copy of the ledger and verifies it.
Your own Lightning node
Next, run an open-source Lightning node, such as LND or Core Lightning, on company servers. It talks to your Bitcoin node and holds the channels.
A channel is a private balance shared between two parties that can be moved instantly, without touching the Bitcoin chain each time.
Fund it once
Move some bitcoin from the company treasury into the node. That is the whole funding step.
The only normal Bitcoin fees are one on-chain fee to open a channel and one to close it. Everything between those two moments is free.
Give everyone access, two ways
Accounts on your node. Each employee's smart card is an account. A move between accounts is an internal ledger update: instant, zero fee, nothing to install. This is the RPOW model. The card signs, and the company node places the deposit hold and refunds it.
Direct channels to partner companies. Open a channel straight to a partner. No middleman and no routing fees. You pay only to open and close it.
Optional: one door to the public network
If you also need to pay outsiders, open a single channel to the public Lightning network. Payments to outsiders then pay a small routing fee to the nodes in between.
For a closed company rail, leave this off. Nothing else depends on it.
Why deposits cost nothing
A sign-in deposit is a held payment, called a hold invoice. The sats are locked, not spent.
A clean sign-out cancels the hold and the sats return to the user. Nothing was settled, so there is no fee. Only a blockade surcharge settles, and it stays inside your node, so it is free too. See Bitcoin & Lightning deposits and The blockade.
Run the company rail
Illustrative numbers only. Real fees change with the Bitcoin network. Here an on-chain fee is 2,000 sats, a routing fee is 3 sats, and a deposit is 100 sats.
Partner channel: closedPublic channel: closedEmployees in: 0
Start by funding the node.
- Rail created. Nothing funded yet.
Terms: sats = satoshis; hold invoice = a payment that is locked, then either settled or cancelled; watchtower = a service that watches channels while you are offline.