Video - Bitcoin, Lightning, and Streaming Money

This is part of a keynote talk which took place on October 19th 2016 during the Bitcoin Wednesday Meetup at the Eye Film Museum in Amsterdam, Netherlands. He speaks about money on the internet and the ability of digital currency to boost people's business.

TRANSCRIPT

ANDREAS ANTONOPOULOS: I called this talk Streaming Money and if you’re watching Bitcoin from the outside, if you’re engaged in Bitcoin but don’t have the time to spend to watch every new technical innovation that is being created with Bitcoin it’s hard to see what’s happening behind the scenes and what’s happening behind the scenes is a lot, a lot, very interesting work. Bitcoin today is not Bitcoin as it was in 2009. It’s continuously changing with new technologies being introduced and the pace that new technologies are being introduced keeps accelerating.

One of the most fascinating aspects of Bitcoin that was introduced towards the end of 2015 which I’m very, very interested in is the introduction into Bitcoin of a time function. So, what this new invention did is it introduce time function to transactions, the ability to control the timing of when a transaction can be redeemed, when it can be spent. That particular invention is called CheckLockTimeVerify which is a very engineering word for something very powerful. And at first when you look at it you think okay, great. I can put my money, I can lock it and I can say this money can’t be withdrawn for 90 days.

Okay, if some of you have problems with addiction to shopping or, you know, materialist consumption kind of attitude and you can’t save money unless you lock it away that could be useful. Okay, you could use it just like that. Just lock my money away for 90 days. And the nice thing about the Bitcoin network is when you put a condition like lock it away for 90 days it’s locked away for 90 days. There’s absolutely nothing anyone can do to undo that particular constraint. But if you look at this time dimension purely from the perspective of locking an individual amount of money you’re missing the point because what’s really interesting about this is that it creates a whole new sets of applications that allow you to manage the time dimension of money and this is a game changer and most people haven’t really notice that things are going to get very interesting, very fast and so the new developments in Bitcoin.

One of the first applications that uses CheckLockTimeVerify and Check Sequence Verify which is the two time based constraints is a technological state channels or payment channels or more broadly Lightning Network. How many of you have heard of state or payment channels here? Okay, that was about 15 or 20 hands. How many of you have heard of Lightning Network? Okay, great. That was about 75% of the audience. And how many of you understand Lightning Network? We got a lot of this myself included. Okay, very complex technology.

So, what I want to do is briefly describe this technology and then give you a perspective on something much, much deeper that can happen with this technology.

So, bi-directional payment channels allow you to do transactions between two parties that are not recorded directly on the Bitcoin Blockchain but essentially mean exchanging promises that have a time dimension and then setting up this bi-directional payment channel where I say, okay, I’m going to put ten euros away to communicate with a – let’s say it’s a bartender at a bar, right? So I’m going to put ten euros in a multi-sig account and then we’re going to set up a payment channel between us and we’re going to say okay, I buy one drink that’s, let’s say, one euro it’s a very cheap drink and – so now I’m going to sign the transaction that says of those ten euros we have in a multi-sig together I’m going to give one euro to you and nine euros back to me. Now hold on to that transaction because I’m not done drinking. Great. Five minutes later I say that was a lovely drink I want another one. I’m going to make a new transaction. This one is going to cancel the previous transaction which we still haven’t broadcast and it’s going to say well, now I’m going to give you two euros out of the ten and I’m going to get a refund of eight. Now hold on to that transaction. It invalidates the previous one. The bartender if they want to submit it they submit it they get their two euros but when they do that I also get my eight euros change. So, I’m happy, they’re happy we can both walk away from this transaction any time we like and we now have transferred this money but none of it is yet on the Blockchain.

Now this is a really, really good night so I’m going to have another drink and now I sign a new transaction that says I’m going to give you three euros you give me seven back and we keep going back and forth like this until eventually I say okay, I want to close my tab. The last transaction we have may be for five euros in drinks, five euros refund is the transaction that actually gets recorded on the Blockchain. So we did four transactions but only one to start and one to end were recorded on the Bitcoin Blockchain.

And that’s really interesting because in the process of doing that I could create as many transactions as I want it and I could make this as small as I want it because we’re not paying a fee for them. We’re only paying a fee for the final balance so I could be transmitting very, very small amounts in this payment channel. Bi-directional payment channels are really interesting technology but when it gets even more interesting is when you combine multiple bi-directional payment channels to create a routed network.

So, I’m sitting here with my friend and I’m having drinks and they’re having drinks and we have two payment channels to the bar, right? And right now I owe five euros to the bar and my friend owes maybe six euros to the bar and we decide to play a game of pool. And so I start a game of pool with my friend and we placed a bet and we say whoever wins it’s five euros. We’re going to place a side bet on our game of pool. So we started playing pool, great and I lose because I suck at pool, right. So I lose badly. My friend might also be a hustler in pool and hiding this so I lose very badly. Okay, so now I owe my friend five euros. Well, I could pay directly and start a new payment channel with my friend but here’s what I could do. I could go to the bar and say “He owe you five” – well, let’s say “He owes you six and I owe you five. How about you change this so that he only owes you one and I owe you ten.” Great. So now we’ve got two payment channels I close mine paying extra to the bartender and he close his and signs another transaction to pay less for my friend. Essentially I’ve paid my friend but without having any direct connection with him, right?

Now take that and imagine connecting tens of thousands of payment channels together on a network that is routed where I can basically go out and discover the network and say “That guy I want to give him a tenth of a Bitcoin.” Now I am not connected to that guy but he’s connected to that guy, that guy is connected to this guy, this guy is connected to that guy and I am connected to that guy so I will give you one euro but only if you give it to him who only if he gives it to him only if he gives it to my final destination. And when the euro arrives at the final destination you get paid which then means they get paid which means they get paid which means they get paid which means I paid them, right? And that’s Lightning Network in a nutshell, right?

Lightning Network is just a series of Bitcoin transactions that we exchanged among each other. And here is where it gets funky because the really interesting thing about this is that the speed at which I can process these transactions. These transactions that are fully formed Bitcoin transactions guaranteed by the Bitcoin network. Anyone of the parties can walk away at any time, we don’t have to trust each other. We can take the last transaction which is the most valid one, we can submit it to the network and close all the channels anytime we want. So we always have Bitcoin acting as a judge to ensure that all of our transactions we’ve exchanged are secure. But now we can do them as fast as we can process elliptic curve signatures, as fast as we can process transmitting these payment transactions and how fast is that – milliseconds. And we can do them for amounts that are as small as one Satoshi. So now I can transmit Sathoshis in milliseconds across the network of tens of thousands of participants that are all connected at a layer above Bitcoin. Stop there for a second, take some questions.

WOMAN: (0:10:02) what happen if a (0:10:05)

ANDREAS ANTONOPOULOS: That’s really good. So the legal term 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 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 a different route 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 am paying Alex a tenth of a Bitcoin find me a 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. And it’s the same system. In fact it’s better because the first implementation of Lightning Network that we’re 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. Let’s take some more questions. Yes?

MAN #1: This is (0:11:56) smart contracts?

ANDREAS ANTONOPOULOS: This is a smart contract. This is smart contract using three technologies in Bitcoin. One is multisignature technology, the other one is CheckLockTime and Check Sequence Verify. Mostly Check Sequence Verify which is relative time from the previous transaction. And a new invention called (0:12:17) Hashed TimeLock Contracts which is a way to forward a promise that can only be unlocked by a secret. Yes, so these are smart contracts using Bitcoin. Correct.

MAN #2: (0:12:31)

ANDREAS ANTONOPOULOS: 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 the fee. So part of the option there is to make very, very small fees payable to intermediaries if you want and 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 market place of services to implement that.

MAN #3: (0:13:09)

ANDREAS ANTONOPOULOS: Yes, yes. This would introduce transaction fees but you can talk about transaction fees on a whole different scale because you’re not required to fill a capacity that is very limited which is one megabyte block. The fees that are likely to be used for something like a lightning hub are going to go close to the marginal cost of delivering that service which is tiny, 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 wants to do it I’ll do it. Yes?

MAN #4: (0:13:57)

ANDREAS ANTONOPOULOS: Well, you don’t settle any of these hops on the Blockchain because actually what’s you’re doing when you’re using a big route. So the question was – sorry let me repeat the questions. If you use a route that’s less costly but has more hops won’t that introduce more settlement cost in the Blockchain? No. Because as you – in fact when you create lots and lots of hops what you’re doing is you’re canceling out by lateral (0:14:34) obligations between the parties involved in the hops. So if now instead of, you know, party two owing party three 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. We don’t know yet how this is going to play out in terms of scalability but I am very excited. Let’s take two more questions for Lightning.

MAN #5: (0:15:00)

ANDREAS ANTONOPOULOS: Without unchain scaling wouldn’t (0:15:12) a transaction fees away from the miners and therefore compromise Bitcoin’s long-term decentralization and scale. No, it won’t because for every payment channel you need an anchored transaction which is the one you use to set up the payment channel and you need a settlement transaction if and when you decide to close the payment channel and so, you still need transactions. What it expense is the ability of doing a lot more transactions in between those two.

MAN #6: (0:15:45)

ANDREAS ANTONOPOULOS: Yes. So there is the possibility that it’s too expensive to go between channels in which case we’re also going to need to scale off the core, Bitcoin Blockchain layer which I think is inevitable. We’re going to do both. This is not about a choice between scaling 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. Last question on Lightning.

MAN #7: (0:16:33)

ANDREAS ANTONOPOULOS: Will Lightning Network be compatible with Bitcoin Unlimited? That is entirely up to the Bitcoin Unlimited developers to choose whether they want to introduce that. If they introduce segregated witness and they’ve already introduced CheckLockTimeVerify then yes, you can run Lightning Network on top of that. 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, multisignature contracts and Locktime, time based controls. So it’s a network that can be overlaid over anything.

All right, great. So now we have a basic understanding. I hope everybody’s got a basic understanding. The Lightning Network is this thing that can be layered on top of Bitcoin creating this bilateral obligations that allowed you to stream money at a different scale and time.

Here’s the a bit that no one’s noticed yet which is that when you change the medium the message changes. When you change the granularity of time very strange things start to happen. Right now we think of money primarily because of the containers of money. The containers of money control the way we think about money. So each type of container for money imposes certain restrictions on how that money is used and we tend to think of money in terms of the containers it comes in rather than as its pure form of transmittable value. All of that mean this – if it takes three to five business days to make a bank transaction as it does in the slowest banking country in the world which is the United States, if it takes 24 hours to make a banking transaction, if it cost certain money those things affect the behavior of people who are using money through the system, right? So, how many of you here are paid by salary? Okay, and how many of you receive you salary automatically through a bank account? Okay, that’s almost three quarters of the audience, great. And how often do you get paid? Once a month? Why?

Now this is the question we haven’t really considered. What is the nature of pay and why does it occur at monthly intervals? Why do we (0:19:07) money at monthly intervals? And there’s a very good reason. This is money acquiring the characteristic of its container, the medium of banking payments, the accounting systems, the ability to pay employees are constraint. It gets expensive to make transfers more often using the banking system, right? So, let’s look at some parallels in history before. Right now we’re living on the internet in the era of streaming. Streaming has become one of these enormously powerful concepts that is changing the way we consume various things, the way we experience various things on the internet. So, for example, MP3 music is disappearing. Why? Because I don’t want to hold thirty thousand MP3s on my mobile device when I can stream them in realtime from a provider. So how many people here have stopped storing MP3s on their mobile devices and use a streaming service? Great. That’s 75% of the audience. This concept didn’t exist ten years ago. A lot of us who were involved in the internet recognize that at some point the value of storing the data versus streaming it live would switch and no one would store their own music collection. In fact now a lot of the value comes from the editorial, the creation, the DJ, the playlist, right? If I take my thirty thousand MP3s that I have on my laptop and I hit shuffle bad things happen. Why? Because I have a very broad multi-genre music collection so I may go from Tchaikovsky to Iron Maiden to Justin Bieber in three minutes and, you know, that may damage my psyche especially if end with Justin Bieber. Okay, I don’t actually own any Justin Bieber but just as an example.

The bottom line is that we now value not the permanence of music but the experience of music and it’s changed how we experience music. The same thing happen with video cassettes. Do you remember when you had to go to the store, get a video cassette, for anybody who’s under 30 a video cassette is this plastic thing that you had to rewind, kind of like a DVD only suckier. Now, if you experience movies that way it changes your experience, right? You have a limited catalogue, you have to consider very carefully what you buy, you experience in a different way, you actually sit down through a whole movie and enjoy it. Now we have streaming video we’ve changed our expectations. And it hasn’t just changed our expectations in terms of using Netflix. The really important impact is with the emergence of things like YouTube, right? So, we’ve gone from experiencing video content in an hour and a half to experience video content in 15 minutes to now experiencing video content in 30-second Vines and InstaVideos, right? And so that experience is completely different.

Something happen there when you change the container that changed the actual experience of video. Now you could start experiencing video in much smaller amounts. It could be created by a whole lot of people you’ve never met who didn’t have any production values and still sometimes be quite surprisingly good. Streaming video changed the nature of videos. Streaming music changed the nature of music. What happens when we start streaming money? So now, think about this for a second. If I can do payments that are on a millisecond frequency and that are as low as a Satoshi why not get your salary paid every minute?

Now this has some really important implications if you think about it purely from the perspective of salary. Now you’re working real time, money becomes a real time thing and its nature fundamentally changes. I watched this video the other day which was a team at a university that created a camera that could take one trillion frames per second and then they shine a beam of light through a plastic bottle and you see that video and the beam of light suddenly changes into this chunk of light that is moving through the bottle. You can actually see photons, individual photon clumped together a (0:23:58) light moving through a bottle. So our experience when sped up light is quanta, right? It’s discreet units but in our everyday experience it’s not, it’s a wave, it’s a flow, yeah? And nature is like that. What happens when you change the time dimension of money and you convert it from something that is packetized, that is discreet that we’ve been used to dealing with for generations now in chunks of monthly payments and quarterly accounting and maybe if we’re lucky, daily payments, right? And now take it down to milliseconds. When you do micropayments over milliseconds the term cash flow takes on a whole different meaning. Cash is a flow, it’s a continuous stream that has no meaning as in amount, right? Imaging doing accountant in businesses on a real time basis based on flows of money coming in and flows of money coming out. We have not even scratched the surface. Until now we appreciated that fact that Bitcoin and systems like it converge all of the networks of payment that we have in our world. Just like the internet converge all media onto a single network Bitcoin and cryptocurrencies converged payment networks. Today we have payment networks that are big for governments to pay each other, payment networks that are small for us to pay each other, payment networks that are for consumers to business for retail, payment networks that are for small amounts, payment networks that are for large amounts. If you were here before the internet and I certainly was we had communication networks for sending photos we called them fax. We had communication networks for sending letters we called it telex. We had communication networks for sending voice and we called that a telephone and the internet brought all of these together. Bitcoin combines the ability to do transactions from the level of a microtransaction all the way to the level a gigatransaction so it’s compressed the space of payments. So a single network can support making payments worth billions to making payments worth pennies. That’s compressing space. Now, with this new introduction of a time dimension into Bitcoin we are going to compress time. we are going to open up a completely new dimension to money that allows us to address money as minutes flows that flow continuously and can be aggregated and split as streams and when I say streaming money it’s going to take 15 years for us to really understand what that does. What that does to human payments, what that does to corporate payments, what that does to border payments, what that does to the nation state. I don’t know what that will be yet but I do know one thing, it’s going to be big. And that’s what streaming money is. Thank you.

Written by Andreas M. Antonopoulos on January 21, 2017.