A cryptocurrency modeled after a dog meme is proving yet again it’s not a joke.
Created on a whim in 2013, dogecoin isn’t simply still around, it’s playing a crucial role in the ongoing testing of at least one “serious” technology. In fact, on February 5, it notably factored into an experiment that successfully showcased one of ethereum’s more enterprising projects.
On that date, the much-anticipated technology truebit successfully sent dogecoin to ethereum’s Rinkeby testnet, where it became a distinct asset on that blockchain. A historic first, the transaction marked the completion of a years-long project developers see as a stepping stone toward the interoperability of crypto assets more broadly.
Nicknamed the “dogethereum bridge,” the test also marks the first real release for truebit, which aims to solve one of ethereum’s biggest problems: scalability.
In short, the smart contract platform can’t support many users right now. Indeed, because of all the data ethereum needs to store in its globally distributed database, it requires more than three times as much data as bitcoin, and that’s making it more difficult for users to run.
Though truebit is lesser-known than scaling solutions like raiden and sharding, the technology is perhaps more ambitious because it’s designed to scale any type of ethereum computation, rather than just transactions. This is key, since ethereum bills itself as more than “just” a financial cryptocurrency.
In the long run, truebit wants to scale video, machine learning or just about any computation you can think of, and dogethereum is the first use case, so far.
Truebit co-founder Jason Teutsch:
“We built a first version of that, which we’re calling ‘truebit lite.’ It demonstrates that all the core pieces of truebit work. It’s a big milestone for us.”
$1 million on the line
Backing up, the history of dogethereum is an interesting one.
In the heyday of dogecoin (back when its thriving community could pool together $30,000 in donations to fund a bobsled team), Ethereum Foundation UX designer Alex Van de Sande got together with other developers and set a bounty to incentivize someone to come up with a way to move coins from dogecoin to ethereum and back.
The group locked up the funds in a DAO, a kind of application that runs on ethereum, enabling money to be spent only once specific rules are met. In this instance, the funds were set to only be released if five of the DAO leaders vote to do so by signing approval with their ethereum private keys.
Since the price of ethereum ballooned over the years, the smart contract holds ether worth about $1.2 million today. But no one’s received the bounty so far, primarily because running dogethereum in an efficient way has proven to be a much more difficult problem to solve than expected, as Van de Sande pointed out in a string of tweets describing the project’s origins.
The heart of the issue is it’s too computationally expensive to validate a coin going from one chain to another – and back again – costing millions of dollars in ether. In order to solve this problem, it needs to be less expensive to run computations on the ethereum blockchain.
“This [bounty] kicked off a two- or three-year discussion about how best to implement it,” said truebit developer Sina Habibian, adding:
“Dogethereum is representative of a larger problem of how to run big computations.”
And dogethereum is how truebit was born – the seemingly silly bridge sparking Ethereum Foundation developer and truebit co-author Christian Reitwiessner’s interest in designing a scalability layer on top of ethereum.
The big test
Truebit developers might be getting close to snatching the dogethereum bounty, though, since some successful tests on the Rinkeby copy of the ethereum blockchain have been executed.
The only other step is doing it live.
Truebit built a dogecoin light client, a smaller version of the blockchain that slashes most of the historical data, embedding it in the doge relay so it can securely move coins from chain to chain.
Yet, Truebit’s developers stressed the challenging aspect of what they’ve accomplished, arguing that the dogethereum bridge is different than decentralized exchange via atomic swaps, an idea that’s been gaining ground of late. Rather, it’s more like sidechains, a long-stalled bitcoin technology.
“We want to actually pull coins off of the dogecoin blockchain and put them onto ethereum in the form of ERC-20 tokens,” Teutsch explained. “And be able to move them back.”
“You don’t need a counterparty. You’re doing this completely on your own,” Habibian added.
To accomplish this, there has to be some way of locking coins on dogecoin so that they cannot be spent until they are sent back from ethereum. But that’s not the most difficult part. What remains computationally expensive is proving that the owner of the dogecoin owns the ether coins on the other side.
They then executed a transaction on the Rinkeby testnet, sending the dogecoin to ethereum – and back again – using truebit under the hood, so the normally expensive proof is executed off-chain, in a much cheaper way.
Despite the public debut for the scaling project, though, the team behind truebit still has their work cut out for them.
In this first version of the technology, the incentives are “greatly simplified,” Habibian said.
In the technology they have ready today, some of the participants are behaving “altruistically.” That is, the system’s verifiers are performing expensive computations just to be nice.
And while that probably wouldn’t work in practice, truebit’s goal is to one day create a marketplace where participants are paid for doing computational work on their computers and contributing correct results.
“People will come out of their own self-interest to run these computations and make money in return,” Habibian said.
So, when will all that be ready exactly? Habibian wouldn’t give an estimate for how long it will take to launch for real on ethereum.
“It’s always hard to make estimates like that because one of the rules of software engineering is, ‘However long you think something’s going to take, it’ll take three times as long,'” he said.
Still, he revealed truebit plans to release new software programs iterating on this milestone in the coming months now that the startup has teamed up with decentralization startup Aragon and ethereum-based video service LivePeer.
That’s how they think the technology will spread at first, beyond dogethereum, marking a big step for truebit – and potentially ethereum too.
As Habibian told :
“When it’s done and it’s fully built, you’ll be able to run any computation on ethereum.”
Dogethereum image via dogecoin subreddit