Lightning Network

The Lightning Network’s trustless anonymity

In the legal terms, it is assignment of claims. It’s a series of IOUs. It’s a series of forward-looking promises.

But the thing is that if a party doesn’t deliver on on their forward promise, they can’t collect on the promise that’s coming to them in a routed network.

So you extend these promises out to your final destination, they provide the unlocking code that rolls it back so that everybody gets paid, so you don’t have to trust anybody in between. If someone doesn’t fulfill their promise in between, you just start at different routes to get to your destination.

No one can take money without fulfilling the terms of the contract. It’s a system of smart contracts, so you don’t need to trust any of the other participants.

In fact, if this is properly implemented, you have no idea who the other participants are. You just say: “I’m paying Alex a tenth of a Bitcoin, find their route. Great! It takes 233 hops to get there? I don’t care.” Just like you have no idea how your TCP packet actually got to Google, you don’t care.

This is the same system. In fact it’s better, because the first implementation of lightning network through a building is based on Onion Routing like TOR, so every connection is encrypted which means that when you receive a lightning Network promise, you have no idea if the person sending it to you is the person who started the transaction, or it’s someone who’s just reeling it from someone else. And you have no idea if the next person you’re sending it to, is the end of the transaction, or they’re going to relay it somewhere else.

You have only one hop information, and so it also massively increases privacy and anonymity.

These smart contracts are using three technologies in Bitcoin:

  • One is multi-signature technology.
  • The other one is check lock-time and check sequence-verify, mostly check sequence-verify which is relative time from the previous transaction.
  • And a new invention called hashed lock-time contracts (HTLC), which is a way to forward a promise that can only be unlocked by a secret.

Why would an intermediary want to do this?

For a number of reasons. One of the reasons they would want to do this is because using this also involves participating in the network, so you just do it because you want to use the Lightning Network.

Another reason you want to do it is because you can collect a fee, so part of the option there is to make very very small fees payable to intermediaries if you want. You could then select the route that gives you the lowest fees, or the route that gives you the lowest latency, and you can use a whole marketplace of services to implement that.

This system have transaction fees, but you can talk about transaction fees on a whole different scale because because you’re not required to fill a capacity that is very limited, which is a one megabyte block. The fees that are likely to be used for something like a lightening hub are going to go close to the marginal cost of delivering that service, which is tiny.

So you’re going very close to zero. Anybody who charges high fees will get pushed out of the market by people who charge much lower fees, and if nobody else wants to do it, I’ll do it.

If you use a less costly route with more hops, won’t that introduce more settlement costs on the blockchain?

No. Because when you create lots and lots of hops, what you’re doing is you’re canceling out bilateral obligations between the parties involved in the hops,

So if now instead of party 2 owing party 3, now they owe a bit less, so you can actually balance out all of the settlements. It will actually reduce the settlements on the blockchain.

Effect on on-chain transaction fees for miners & decentralization

Without on-chain scaling, won’t this push a transaction fees away from the miners and therefore compromise bitcoins long-term decentralization and scaling?

No it won’t because for every payment channel you need an anchor transaction, which is the one you used to set up the payment channel, and you need a settlement transaction if and when you decide to close the the payment channel.

So you still need transactions, what it expands is the ability of doing a lot more transactions in between those two.

There is the possibility that it’s too expensive to go between channels, in which case we’re also going to need to scale up the core Bitcoin blockchain layer which I think is inevitable, we’re going to do both. This is not about a choice between scaling on one layer or another, it’s about scaling at every layer.

What these technologies do is they offer you leverage, so when you scale one megabyte on the lower layer, that effect is multiplied by a thousand on the layer above. So you can have this multiplier effect.

You can run lightning network on top of Ethereum, you can run Lightning Network on top of any cryptocurrency that enables the three basic primitives of checking hashes, multi-signature contracts, and lock-time time-based controls.

So it’s a network that can be overlaid over anything!

 I hope you now have a basic understanding of the Lightning Network, that it is this thing that can be layered on top of Bitcoin creating these bilateral obligations that allow you to stream money at a different scale in time.

About the author

Satoshi Nakamoto

We developed bitcoin.

Add Comment

Click here to post a comment

Learn Cryptocurrency!

Crypto secrets revealed about which no one is talking about.