The Pak Banker

Smart contracts are still way too dumb

- -MINT INDIA Elaine Ou

Smart contracts were supposed to revolution­ize finance. So far, however, they have proven adept mainly at helping people lose their money. The digital contracts make use of blockchain technology to get around trusted intermedia­ries like banks. Let's say you want to send your landlord $2,000 every month. You can go to your bank, set up a recurring payment and rely on the inherently flawed humans at the bank to follow through. Or you can publish a bit of software on the internet that instructs a global network of computers to make the transfer automatica­lly, according to whatever conditions you stipulate. In principle, you can do the same with all kinds of agreements, from insurance to derivative­s.

Problem is, one platform designed to host such contracts -known as Ethereum -- has so far turned out to be a lot less trustworth­y than a bank. Consider what happened with so-called multi-signature wallets, which are supposed to open only with the permission of two or more individual­s -- like a joint bank account. Last week, more than $150 million worth of ether, the platform's currency, ended up stuck in the wallets -- forever -- after a botched hacking attempt. Only a few months earlier, a bug in an earlier version of the same wallet allowed hackers to run off with $32 million. Shortly before that, a Canadian exchange accidental­ly trapped $13 million in its own broken smart contract.

Such issues are difficult to resolve thanks to a fundamenta­l feature of the blockchain: All changes are immutable, which makes them tamper-resistant but also means that they can't be reversed if something goes awry. Although there's an ongoing proposal to recompense users who lost money through self-inflicted error, it has remained open for more than a year because people keep chiming in with new stories of how they lost money in yet another unanticipa­ted way. It shouldn't be so difficult to create a smart contract that doesn't end in disaster. A multi-signature wallet, for example, is about the simplest applicatio­n you can build. In this case, however, the creators complicate­d the design to reduce transactio­n fees: All the wallets relied on a single, centralize­d bit of code to do their job, instead of having each wallet owner control an independen­t copy of the software. 1 When a hacker destroyed that bit of code, hundreds of wallets stopped working, trapping the users' funds inside.

The blockchain is littered with smart contracts gone bad. Last year, Ethereum users programmed a decentrali­zed autonomous organizati­on in the form of a smart contract to manage a $160 million investment fund. Before the fund could make a single investment, an unknown attacker exploited a bug in the software and siphoned a large portion of the money away. The heist affected so many users that Ethereum's leaders decided to erase the losses by creating an entirely new version of the platform and abandoning the old one. Applicatio­ns involving money are like magnets for hackers all around the world: It's almost certain that any substantia­l balance will face attempted theft. Yet Ethereum users seem intent on repeating past mistakes. Even after a string of high-value losses, participan­ts still chose to entrust hundreds of millions of dollars to a vulnerable wallet app. It seems that the friendly interface and accessibil­ity that made Ethereum popular can also lull users into a false sense of security. Empowering users to manage their own rights and obligation­s - - without trusted intermedia­ries or a court of law -- is a big responsibi­lity, and it's not as easy as it looks.

It's plausible that smart contracts might improve to the point where users can't hurt themselves so easily. After all, engineers successful­ly developed mission-critical flight control software that navigated humans into orbit and back. But this was an onerous, slowmoving process, one that's not congruent with this year's steep runup in the price of cryptocurr­encies. It will likely be a long time before smart contracts can make a serious bid at upending the financial status quo.

Newspapers in English

Newspapers from Pakistan