Bitcoin's Lightning Network is Now Digital Asset Compatible

Colored coins over Lightning? A demo mash-up of the two experimental bitcoin technologies went live today.

AccessTimeIconNov 16, 2016 at 1:59 p.m. UTC
Updated Aug 18, 2021 at 5:24 p.m. UTC

Presented By Icon

Election 2024 coverage presented by

Stand with crypto

With Bitcoin's Lightning Network nearing launch, the number of tests seeking to upgrade the micropayments network is on the rise.

Now, industry startup Colu has unveiled a demo of how Lightning could be made compatible with colored coins (a technology that enables small amounts of bitcoin to represent other assets, such as the US dollar, stocks, or even houses or cars). Mashing this concept together with Lightning could mean more of these transfers at a higher speed.

  • 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
  • Users can now send test transactions over the so-called "off-chain" network using Colu's demo, which perhaps offers the first user-experience for a Lightning Network project. The team worked with the startup Lightning Labs, tweaking its existing code to make it compatible with colored coins.

    But are near-limitless transfers of mortgage records really necessary?

    Colu co-founder and VP blockchain Mark Smargon said that he thinks that this functionality could help solve one of colored coins' bigger problems, while conceding that it might not be necessary for every use case.

    He told CoinDesk:

    "The biggest argument against colored coins is it doesn't give you scale right now. Bitcoin transactions are very slow to verify, expensive to approve and there is a bottleneck of the low amount of transactions per second."

    He argues that the low-hanging fruit for this functionality is local currencies, a use case that has become a big focus for Colu, which raised nearly $10m earlier this year in its bid to narrow its focus from colored coins more broadly.

    An interface for the idea

    A couple of years ago, we saw the peak of debate over the size of a field in bitcoin's code (called OP_RETURN) that companies and developers use to store extra data on the blockchain for use cases such as colored coins.

    Another small tweak to the protocol, it emerged as a contentious idea because of the possibility that it could "bloat" the blockchain in a way that harms overall scalability. Since all volunteers that are running bitcoin nodes need to store the extra data, the argument was that transactions that weren't peer-to-peer digital currency exchanges were perhaps unwanted freeriders.

    But as Smargon suggested, making colored coins compatible with a platform that grows the network from roughly three transactions per second to millions of transactions that occur off-chain could mitigate the issue.

    The demo shows how users might see this process.

    Once you click the page, a new Lightning account is automatically created (the random string of numbers that it calls your "Lightning ID"), and it starts the user off with fake money ($5,000) that he or she can transfer over Colu's colored coins-compatible test version of the Lightning Network.

    colu, lightning network
    colu, lightning network

    This is a demonstration of how the bitcoin in your account can represent US dollars with the help of the OP_RETURN field that adds more information about what the bitcoin are "colored" to represent.

    Smargon explained how channels can be updated using the same pattern that Lightning Network already uses.

    Once a "colored" transaction with OP_RETURN is initiated to open a channel, the channel parties can update the value back and forth off-chain. When it comes time to settle on the blockchain, the OP_RETURN data will reflect the finalized balances.

    Charging ahead

    Behind the scenes, the demo runs over "simnet," a simulated private bitcoin network run by Colu.

    Smargon said that it would work much the same on the bitcoin testnet and that it's ready to go on the real bitcoin network, at least, if and when a feature known as Segregated Witness is triggered on the main bitcoin network that will the enable Lightning Network.

    (Miners can begin signaling their support for the feature once a certain number of blocks have been added — probably as soon as 18th November).

    For now, the demo's a taste of what the network might look like once it’s ready for users.

    Disclosure: CoinDesk is a subsidiary of Digital Currency Group, which has an ownership stake in Colu and Lightning Labs.

    Rainbow lightning image via Shutterstock

    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.