Progress on the bitcoin lightning network continues to advance.
Following a promising trial of its routing network last week by French startup Acinq, Montreal-based Blockstream has announced that it has sent the first end-to-end transaction over the Lightning Network, a highly-anticipated top layer for the bitcoin network designed to boost transaction capacity.
What the team called “Lightning’s first strike” saw its developers send a transaction across a test version of the network successfully to another party, a process that included invoicing that party for bitcoin and routing the payment through multiple nodes.
Sent over the bitcoin testnet, the transaction of 0.01 test BTC was used to “sell” a picture of two cats sitting in front of a sunset composed of ASCII characters.
While this may seem trivial, the announcement can be seen as a sign that Lightning is progressing from the concept stage toward implementation. To date, most of the implementations have focused on high-level items like routing and privacy, rather than offering an example of how Lightning might enhance bitcoin at scale.
Blockstream core tech engineer Rusty Russell told CoinDesk:
“We had all these pieces. That’s really exciting as a geek. In some ways, attaching them all together is trivial. In another way, it’s a real milestone to get to that point.”
Though not the company’s signature project, Blockstream has long been a contributor to the Lightning Network, as have several other startups. (There’s even one VC-backed firm called Lightning, launched last year).
In particular, Russell has been working on an implementation of Lightning Network since March 2015. Likewise, Blockstream core tech engineer Christian Decker, who joined Blockstream in August, originally proposed Duplex Lightning Micropayment Channels, another way to tap micropayment channels for the same purpose: scaling bitcoin.
But the Blockstream engineers described the end-to-end implementation as quite a different test than Acinq’s. Rather than focusing on efficient routing, the engineers were testing a successful transaction across the network.
“Their work shows how, by way of simple analogy, one can create a streetmap to get from A to B in an efficient way, while the test we’ve demonstrated here … has us actually walking that path on the street,” the blog post explains.
And the testing was conducted on the bitcoin testnet. The two developers view their move from bitcoin regtest (a way to test features on top of bitcoin) to the sometimes unpredictable testnet a big deal.
“This is poking your nose a little further out into the real world,” Russel said.
The engineers also noted that the transaction speed was about a few tenths of a millisecond, a time they compared to those executed on the bitcoin blockchain and its 10-minute block confirmation times. The results, they inferred, thereby show the increased user experience Lightning could bring to the network at scale.
“It’s really incredible to us,” Decker said, adding: “It took me longer to go back to the webpage and click on a link to get my cat, than the actual transfer.”
Future Lightning development
This promising progress could also continue in the coming weeks.
All of the implementers of different Lightning projects plan to meet in Milan, Italy, after this weekend’s big bitcoin developer conference Scaling Bitcoin to draw up new standards.
Along the lines of this goal, Decker said the plan is to “set up a small ecosystem” on the bitcoin testnet for micropayment channels. Blockstream further plans to release its work so that anyone can try out the technology, or so that “you can buy your own cat on testnet,” as Russell put it.
But while the implementation is a working end-to-end system, the engineers say there are other features they have worked on that still need to be added to this testnet version.
For example, each node in this testnet version has “global knowledge” of the topology of the network. So, as far as finding a path across the network, it doesn’t use an efficient routing system that is able to scale to a larger number of network nodes.
Nonetheless, they were able to put the pieces together for a working testnet transaction.
“I think it was incredibly exciting to do this,” Russell said. “I was surprised. Working for year on this, it’s easy to lose perspective on how exciting this stuff is. To see it come together and to see someone buy a cat is surprisingly cool.”
See the demo of the process by way of the command line here.
Light bulb image via Shutterstock
The leader in blockchain news, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. CoinDesk is an independent operating subsidiary of Digital Currency Group, which invests in cryptocurrencies and blockchain startups.