Decentralizing Popular Dapps Isn’t Just a Scaling Problem

It’s no secret that building large-scale, fully decentralized applications is a challenge, but it turns out the hurdles have to do with more than just scaling.

Decentralized application or “dapp” developers frequently hit roadblocks, since ethereum – the go-to platform so far in dapps’ short history – can process only around 25 transactions per second, and the more transactions the network is asked to handle, the more each one costs the user. These limitations on transaction throughput are commonly referred to as “scaling” limitations, and everyone from the casual dapp user to ethereum founder Vitalik Buterin is keenly aware of them.

So when a particular dapp turns out to be less-than-totally decentralized, with parts of the software running on centralized servers, say, the solution seems obvious.

Speed up transaction throughput and reduce costs, and pure, blissful decentralization will naturally follow.

Turns out, though, things aren’t that simple.

Some of the most popular dapps that currently live on ethereum – which right now fall into two categories, games and exchanges – often retain centralized features, but the reasons have little to do with throughput and instead, revolve around user experience.

Take games – for developers to be able to make updates to a blockchain-based game, they typically put backdoors into the smart contracts.

Otherwise, said James Duffy, a co-founder of Loom Network, which develops ethereum-based dapps including a Q&A site called DelegateCall, developers would only be able to deploy their dapp once and never be able to modify it.

“Obviously if you’re a player in the game you want the developers to be able to update it. You want them to be able to fix bugs, add new levels, add new features,” Duffy said.

On the other hand, decentralized exchanges (DEX) keep some centralization in their processes as it relates to their order books. The reasons for this approach have to do partly with security and partly with the difficulty of assembling a single, reliable order book across a large, distributed network of computers.

And while most of these dapp projects aim to decentralize further in the future, for now, they’re happy to work slowly through that process so that users have the best experience and don’t lose money.

Duffy told CoinDesk:

“No one’s ever built a complicated app and then launched it and it just worked perfectly on day one.”

The back door dilemma

CryptoKitties was the first decentralized application to gain widespread attention and a significant userbase.

It didn’t take long, however, for critics to notice that the game is not as decentralized as it initially seemed. Another Loom Network co-founder, Luke Zhang, wrote about the backdoors in the CryptoKitties code, which allows the company behind the game to pause it entirely or alter its closed-source breeding algorithm.

While the CryptoKitties team contends that keeping the breeding algorithm a secret makes the game more fun, this choice does mean users have to trust the company itself not to tweak the algorithm in a way that would undermine the market’s pricing of kitties (some of which are very rare and in turn very expensive).

Another piece of the Cryptokitties game that was under the company’s control, until very recently, was the art assets.

Without these, a player would still own that kitty they paid 250 ether for, but instead of being able to admire its green eyes and Himalayan, orange soda-colored fur, they’d have to admire the number sequence encoded in the non-fungible token that’s at the core of the game: 99ac5586a447g9gg44665775ddf71444488773384ccccdffc.

Cute, right?

But according to Duffy, without this centralized control of the art, developers and players might abuse the privilege.

“What happens if someone uploads something illegal, like child pornography or something?” he said. “The nodes would have to have a way of censoring that to remove that data, or it would just be a complete free-for-all.”

And yet, CryptoKitties seems to be ready to take somewhat of a chance on this – on June 26 the company, now known as Axion Zen, announced that it had updated its terms of service, making it possible for third-party applications to use CryptoKitties art. And not only that but it was open-sourcing the ownership rights of the non-fungible tokens…

Read Full: Decentralizing Popular Dapps Isn’t Just a Scaling Problem