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 Sep 13, 2021 at 7:50 a.m. UTC
10 Years of Decentralizing the Future
May 29-31, 2024 - Austin, TexasThe biggest and most established global hub for everything crypto, blockchain and Web3.Register Now

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.

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."

The research team responded to him saying that they're working on a simple implementation.

Motion blur image via Shutterstock

Disclosure

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

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by Block.one; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.


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.