Bitcoin Meets Netflix? Laolu Is Building a Lightning-Powered App for That

The Lightning Network isn't yet live on bitcoin, but that doesn't mean developers aren't theorizing the kinds of ambitious apps that it could enable.

AccessTimeIconOct 7, 2017 at 8:00 a.m. UTC
Updated Aug 18, 2021 at 7:07 p.m. UTC

Presented By Icon

Election 2024 coverage presented by

Stand with crypto

A principal developer of the Lightning Network, Olaoluwa "Laolu" Osuntokun is understandably interested in tools that could be made possible by bitcoin.

But while most developers have been focused on ironing out bitcoin's much-discussed protocol-level problems, Osuntokun is taking a notable step in that he is actually considering launching a production application on top of the network. Despite the volatility of the scaling debate, and the uncertainty of just how many forks there will be, Osuntokun is going so far as to conceive of a video app that could disrupt the traditional digital advertising model, one he believes is possible with tools available today.

  • Bitcoin Mining in the U.S. Will Become 'a Lot More Decentralized': Core Scientific CEO
    13:18
    Bitcoin Mining in the U.S. Will Become 'a Lot More Decentralized': Core Scientific CEO
  • Binance to Discontinue Its Nigerian Naira Services After Government Scrutiny
    05:10
    Binance to Discontinue Its Nigerian Naira Services After Government Scrutiny
  • The first video of the year 2024
    04:07
    The first video of the year 2024
  • The last regression video of the year 3.67.0
    40:07
    The last regression video of the year 3.67.0
  • Key to realizing his vision has been recent updates to the bitcoin protocol.

    Following the activation of Segregated Witness (SegWit), which went live on bitcoin in August, the Lightning Network is now closer to launch, meaning apps that rely on the need to process high volumes of transactions could soon be built on the network.

    But even with the Lightning Network not quite operational, engineers can use the open-source code to start developing apps, a variety of which have cropped up in the past several months. Several of these apps look to take on digital media (someone even a created a fake version of CoinDesk).

    So, while a long line of projects, including Streamium and Yours have tried to use bitcoin micropayments to pay for various types of online content, right now, bitcoin's transaction fees make low-value payments infeasible.

    The Lightning Network, then, as developers like Osuntokun have realized, could be the solution.

    Osuntokun told CoinDesk:

    "The value is that I can essentially create a bounty off-chain or on-chain for a particular piece of media, whether it be an image or video. The structure outlined requires zero log-in or sign-up, as the payment itself acts as spam prevention."

    And while that may seem technical, Osuntokun said there could a more understandable impact.

    Long term, he believes allowing people to access video, not with logins and passwords, but with payments, could mean the end of those annoying YouTube ads.

    The technicals

    Developing Lightning-based apps doesn't come without a good amount of technical work, though.

    To make his video app work, Osuntokun had to recreate the MPEG-DASH protocol, which allows for the efficient sending of video (whether live, like a news broadcast, or stored, like an episode of "Rick and Morty") over the web.

    It's a technique known for playing video without stops and stutters or obnoxious loading bars by splitting each video into segments of 2–10 seconds in length, then using the attached media presentation description (MPD) to rebuild the video as it's transported to the individual computer.

    In Osuntokun's version, called HTLC-DASH, micropayments – by way of Lightning Labs' software implementation of Lightning, LND – are added to the video sending technique.

    The payments are made mandatory via "hashed timelock contracts," a basic component of the Lightning Network, meaning that users pay for the video content they're watching automatically.

    Osuntokun plans to add several other technical features to the application soon, including affixing micropayment information to the MPD for each slice of data. As you might expect, the bigger the chunk of data, the more it costs.

    He is also looking for a distributed system to store videos, and listed BitTorrent, Blockstack and IPFS as possible storage options over single servers.

    The benefits

    One of the more interesting claims Osuntokun made is that Lightning Network offers an easier interface for developers to work with than bitcoin's "layer-one." For instance, developers don't need to "worry" about other bumps that only occur on bitcoin, such as "unconfirmed" and "chained" transactions.

    As such, Lightning offers developers the ability to add a payment method to their projects more easily, he said.

    Osuntokun explained:

    "Constructions such as HTLC-DASH really show the added utility things like Lightning add to bitcoin. I think we'll see the community continue to explore the new applications and use cases that Lightning unlocks for bitcoin."

    And with those proved through the video app (and others), he believes more and more apps incorporating Lightning instead of the "normal" bitcoin will pop up.

    Yet, those benefits are still some time away, since the protocol level of Lightning needs significant work, that's where Osuntokun will spend most of his time and energy in the coming months.

    In particular, he and the Lightning Labs team are working on the first version of LND that works on the bitcoin mainnet, which will mark a huge step forward for the mechanism that's so far been considered too unsafe to use outside of a testing environment.

    Disclosure: CoinDesk is a subsidiary of Digital Currency Group, which has an ownership stake in Blockstack and Protocol Labs, which develops IPFS. 

    Osuntokun image via Twitter

    Disclosure

    Please note that our privacy policy, terms of use, cookies, and do not sell my personal information have been updated.

    CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. CoinDesk has adopted a set of principles aimed at ensuring the integrity, editorial independence and freedom from bias of its publications. CoinDesk is part of the Bullish group, which owns and invests in digital asset businesses and digital assets. CoinDesk employees, including journalists, may receive Bullish group equity-based compensation. Bullish was incubated by technology investor Block.one.


    Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.