New Ethereum Tech Calls on Slavic Gods for Security

Researchers have unveiled a new ethereum scaling project with a focus on security, and even Vitalik Buterin wants to see it grow and succeed.

AccessTimeIconApr 19, 2018 at 4:00 a.m. UTC
Updated Aug 18, 2021 at 8:51 p.m. UTC

Presented By Icon

Election 2024 coverage presented by

Stand with crypto

The Slavic god of lightning, Perun, is entering the ethereum ecosystem (in spirit at least).

Inspired by bitcoin's lightning network, a group of researchers led by University of Warsaw associate professor Stefan Dziembowski and Technical University of Darmstadt professor Sebastian Faust have unveiled a new white paper entitled "Foundations of State Channel Networks," which outlines a protocol designed to help ethereum scale to support higher volumes of more complex smart contracts.

  • 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
  • But while a number of ethereum projects are building solutions for this problem, Perun's approach to its protocol is unique - namely in its focus on security, as it provides formal security definitions and security proofs for its protocol.

    Essentially, Perun works like other "state channels" that aim to move transactions off of the blockchain. However, the difference here is that parties involved can register the current state of the contract at any time on the blockchain, enabling smart contracts to rewind channels to the last state at which parties agreed on terms.

    "In case when two (possibly malicious) parties send conflicting states to the channel contract, the logic of the contract will select the latest state on which both users have agreed on," the paper reads.

    An incremental innovation perhaps, but Dziembowski, a co-author of the paper, argues can't be undersold given the nature of value transfers.

    He told CoinDesk:

    "We are convinced that in the context of cryptocurrencies, a sound security analysis is of particular importance because security flaws have a direct monetary value and hence, unlike in many other settings, are guaranteed to be exploited."

    It turns out, this is such a highly sought-after goal that the researchers are already partnering with tech giant Bosch to put together a prototype. Not only that, but the project has been lauded by ethereum creator Vitalik Buterin.

    In fact, Buterin was actually the first to praise the idea, positing that the security proofs the team had implemented were a step in the right direction for the ecosystem overall, and should be studied, if not adopted, by scaling projects of all kinds.

    "I definitely do think that we need some kind of general-purpose machinery for formally verifying properties of layer-two systems in general," Buterin said.

    Journey to state

    Stepping back, though, the team's path to Perun was a bit meandering.

    Dziembowski told CoinDesk he and the team originally wanted to build a "fair" file-sharing app on top of ethereum but were tripped up by critical issues soon into the process of developing that app.

    "While working on this project we noticed that a fundamental bottleneck to make our application work was high costs from on-chain transactions and the relatively slow time of processing smart contracts running on the blockchain," Dziembowski said.

    This is exactly what other developers have experienced, most famously when the digital cat collectables app CryptoKitties emerged as a user favorite, causing these slow transaction times and high fees. A handful of scaling solutions have been put forth to the ethereum community since then, but the team at Perun actually found their inspiration from a different network altogether.

    It was bitcoin's lightning network, another "layer-two solution" for the bitcoin blockchain, that piqued their interest. That's when the team, which also includes researchers Kristina Hostakova and Lisa Eckey, got to work on a technology that would function on ethereum's more ambitious platform.

    Luckily others had already started building on that idea through a technology known as "state channels" – whereby lightning is extended to ethereum's complex smart contracts. As such, Perun's paper merely continues this research by formulating a specification that outlines a bunch of requirements that any actual state channel implementation needs to secure itself against "powerful adversaries."

    Toward reality?

    That said, the Perun team and even Buterin understand that there's still a long way to go.

    Dziembowski said that his team's prototype isn't ready for live use yet, but is "mainly for research purposes" now. And Buterin said he's worried about the future "risk of error" as the theory is put into practice with real smart contract code.

    Speaking to those risks, Dziembowski named The DAO, an ethereum-based organization that was supposed to rely only on code but ended up defunct after users were hacked for more than $50 million of ether, as an example of what, and how much, can go wrong.

    Still, many are excited about the effort.

    Buterin even said he has plans to come up with a similar security framework for Plasma, a highly-anticipated scaling project he co-authored last year and which startups like OmiseGo are now putting into practice.

    Speaking about Perun's work, Buterin continued:

    "I personally am satisfied that it’s fundamentally possible to achieve all of the things that you claim in the way that you’re doing it."

    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.