The lightning network is due for a privacy boost.
Thatâs according to Dr. Ayo Akinyele, a computer scientist who has focused his efforts on building a zcash implementation of anonymous off-chain payment architecture called BOLT. And today that work was published on Github.
First conceived by zcash founders Matthew Green and Ian Miers in 2016, the code is inspired by the bitcoin scaling solution, lightning network, and seeks to unlock high levels of transaction throughput while adding payment confidentiality.
âThe lightning network has solved the initial issue with scalability, and now that gives us the opportunity to deal with the privacy problem. That is the strength of the BOLT design,â Akinyele told CoinDesk.
Using blind signatures and zero-knowledge proofs, BOLT obscures transactions, balances and sender and receiver identities. Plus, because itâs built to function along with privacy-oriented cryptocurrency zcash, users can open a channel using shielded transactions, thereby anonymizing the initial connection to the network.
âBOLT is one approach that could lead to very promising results for privacy, and Iâm excited to be on the front line of pursuing that,â Akinyele said.
Todayâs release allows for the âbidirectionalâ use case â or payment channels that can move funds back and forth between two participants.
In order to be activated on the cryptocurrency, new code would need to be added to the zcash repository, in what is called a âsoft forkâ â or a type of change that doesnât require all versions of the software to update.
Going forward, the team behind BOLT is hoping to follow a similar development plan to the lightning network itself â deploying it as an open testnet to allow users to battletest the software.
âIt would be awesome to deploy this, similar to what lightning had done, and allow people to test on the testnet and then gradually get toward the mainnet,â Akinyele said.
And while the current release has been optimized for zcash, in the future, Akinyele plans to develop it as a privacy extension for the lightning network itself, telling CoinDesk:
âThe next step is to retrofit these properties to bitcoin and litecoin on the lightning network, probably as a shielded transaction option, similar to what zcash offers now.â
Speaking to CoinDesk, Akinyele said todayâs release marks a minimal sketch of BOLTâs fundamental architecture.
âThis initial implementation is based on CL signatures and very standard techniques for blind signatures and zero-knowledge proofs, and so it is a very basic construction that has been well known to cryptographers for a couple of decades now,â Akinyele said.
While thatâs very technical, simply it uses digital signature technology thatâs been around for some time and so is proven efficient. Yet, thereâs still work to expand some of the architectureâs capabilities.
âThis first implementation is just a concrete implementation of one version of that architecture, though in the future BOLT could look very different,â Akinyele said.
Still, itâs technically viable to implement and requires minimal changes to zcash in order to get into the testing phase.
And crucially, having specified the initial architecture, itâs easier to further iterate the protocol, as well as building support for other cryptocurrencies â the next significant step in the BOLT development roadmap.
As Akinyele told CoinDesk:
âNow we have one approach implemented we can decide what is the next approach that we want to try and which cryptocurrency can it benefit.â
Cryptocurrencies that are similar in structure to zcash, such as bitcoin and litecoin, are low hanging fruit for such implementations.
Such additions would be applied to the lightning network itself, as an option for users looking to anonymize their payment channel usage.
âItâs a privacy add-on,â Akinyele said.
And thatâs because, while lightning itself deploys some privacy-enhancing features, the robustness of that privacy is a point of contention for academics. For example, if lightning settles in what is termed a âhub-and-spokeâ structure, thereâs a risk that nodes with high processing throughput can have an overview of transactions as they run through the network.
While lightning also employs a technique called onion-routing, in which users can route payments through many different channels to hide the contents of a payment, Akinyele warned that the practice might not catch on.
âThey do have some features for encryption, you can route your payment through multiple hops, which is great, but when you talk about bidirectional payments and some of the more basic use-cases that most people will gravitate towards, there is no privacy,â he explained.
As such, thereâs a risk users will opt for convenience â such as users linking their transaction histories by using the same bitcoin address repeatedly â rather than the more complex, yet privacy-preserving options.
âWe have seen how this movie plays out in bitcoin,â Akinyele said.
Still, having identified these potential leaks was useful for the development of the BOLT architecture.
Specifically, Akinyele said the design owes a lot to the popularity of the lightning network payment channels being used today, which are beginning to reveal what the network could look like.
âHaving lightning exist and being used has been very helpful in figuring out how to do privacy correctly,â he told CoinDesk.
âWeâre seeing patterns emerge â centralization of some hubs are forming where a lot of people are using the same paths to route payments. All of these patterns are emerging, so itâs giving us a real insight into okay, where is the real privacy problem, and what would be the best technique to deal with that,â Akinyele continued.
And not only that, but going forward, Akinyele feels that BOLT could provide a private link between zcash, bitcoin and litecoin â a layer-two interoperability that he hopes could dismantle some of the tribalism that occurs in cryptocurrency today.
He concluded:
âIt provides an option to figure out how we can get away from âthis currency does this, this currency does that,â and just start thinking more longer term and big picture with how we want to use these currencies in the real world.â
Lightning image via Shutterstock