Report: Blockchain smart contracts can finally have a real world impact - MIT Technology Review
(technologyreview.com)
A startup says it has tackled a long-standing problem that has kept smart contracts from responding to events in the outside world.
- by Mike Orcutt
- Â
- You have probably heard that blockchain technology and "smart contracts" are going to revolutionize our lives.
But thereâs a problem: before smart contracts can do anything really useful, they need a reliable way to connect with events in the real worldâand that has proved impossible so far. This is the so-called "oracle problem," a technological challenge that is still hampering any chance that blockchain will break out and become a part of our everyday lives.
Until now, perhaps. A startup called Chainlink is combining its software with a trusted hardware system called Town Crier, developed by a leading academic cryptocurrency research group. Together, they might be closer than ever to solving the problem.
Smart contracts are computer programs stored in a blockchain. They can be used to automate the unstoppable transfer of crypto-tokens between users, according to agreed-upon conditions. âOraclesâ are real-time data feeds that deliver things like weather data, currency exchange rates, airline flight information, and sports statistics to smart contracts.
The idea is that by working together, the two systems can allow blockchain-based services to interact with real-world events with a greater degree of trust than is possible from todayâs oracle services. For example, if your flight is canceled but you bought flight insurance, a smart contract might instantaneously pay you after getting an update from a trusted source of flight times.
So whatâs the problem?
The oracle services introduced to date defeat the purpose of using a blockchain in the first place, says Chainlinkâs CEO, Sergey Nazarov.
In Ethereum, for example, all the participating nodes in the network compute every smart contract, making the programs virtually impossible to shut down. But todayâs oracle services are too centralized, says Nazarov.
They represent single points of failure that make targets for tampering.That means smart contracts lack reliable access to real-world data. Without that, they are âlike a city with no electricity,â says Ari Juels, a computer science professor at Cornell.
âThereâs not much interesting stuff you can do.âJuels and colleagues at Cornellâs Initiative for Cryptocurrencies and Contracts have developed Town Crier, which they describe (PDF) as a âhigh-trust bridgeâ between the Ethereum blockchain and HTTPS-enabled online data sources.
The core component is a program that runs inside an isolated piece of hardware called a secure enclave. The enclaveâs function is to protect the program from malicious attacks and keep the computation confidential.
 It receives queries for data from smart contractsâfor example, a flight insurance contract may query whether a flight was canceledâand then it retrieves answers from websites and relays them back to the blockchain.
Using cryptography, and assuming trust in the hardware, it provides proof to the flight insurance contract that the data really came from Town Crier and hasnât been messed with.Town Crier may be more trustworthy than other data feeds, but on its own it doesnât offer the reliability that decentralized systems do.
Thatâs where Chainlink comes in. Its software orchestrates decentralized networks of oracles to draw on multiple sources of data for smart-contract-based services so that they donât have to rely on a single one.
Using cryptography, the Chainlink service provides proof on the blockchain that the data is in fact the information it committed to delivering. Customers can pay for different levels of decentralization, and the nodes can make money in return for submitting data.
Nazarov says the combination of Chainlinkâs software with the Town Crier hardware system is the first âprovably secure, decentralized oracle network.âChainlink has partnered with several smart-contract projects to demonstrate its oracle network.
For example, a project called OpenLaw, which is developing smart-contract-based legal agreements, is using a Chainlink oracle to determine exchange rates between ether and US dollars at a given time.
âI donât know if anyone has fully solved the âoracle problem,ââ says OpenLaw cofounder Aaron Wright. But he says Chainlink and Town Crier are a âgood first attempt.â
Mike OrcuttÂ
Associate EditorIâm an associate editor at MIT Technology Review, focusing on the world of cryptocurrencies and blockchains. My reporting, which includes a twice-weekly, blockchain-focused email newsletter, Chain LetterâŚÂ More
-
- 1
Francisco Gimeno - BC Analyst Another step for the implementation of blockchain use cases in real world. The highly important problem of building an oracle network to make smart contracts useful in a real world blockchain platform needs urgent solutions. Chainlink, and surely soon other companies are trying to solve this.