BT

MIT Researchers Test Oracles and Smart Contracts on Bitcoin Lightning Network

| by Kent Weare Follow 11 Followers on Jun 11, 2018. Estimated reading time: 2 minutes |

The Massachusetts Institute of Technology (MIT) has revealed the results of their tests running smart contracts on the Bitcoin Lightning Network. These results were recently shared with Coindesk from researchers Tadge Dryja and Alin S. Dragos. Running smart contracts on the Bitcoin network isn’t necessarily new, however, the approach of using trusted entities called oracles with smart contracts is what makes their approach unique on the Bitcoin blockchain. This research was performed within the prestigious university’s Digital Currency Initiative, which was launched in 2015 as a way to further research cryptocurrencies.

Blockchain oracles typically supplement blockchain implementations by providing a trusted external source of data. These data sources do not participate in blockchain consensus mechanisms and as a result need to be trusted as they can influence the execution of a smart contract. For example, if a smart contract was set up to pay for a commodity at a specific date/time, the smart contract would need to receive the latest price for the commodity at the time the smart contract is executed.

Using oracles in this manner was first conceived by Dryja last summer as part of his Discreet Log Contracts (DLC) work, but this is the first time it has been implemented with working code. The oracle runs on top of the lightning network MIT researchers have created called lit and provides the ability to broadcast the price of US dollars in satoshis, a unit of measurement within the bitcoin currency.

Smart contracts are more prevalent in blockchain protocols like Ethereum, but Dragos sees opportunity in bringing oracles and smart contracts to bitcoin:

When folks think smart contracts, they think Ethereum. Their scripting language is much richer. [As for Bitcoin], it's not as developer friendly because bitcoin didn't go in that direction, but you can use it. You have to be a little creative.

However, Dryja sees benefits in the DLC approach due to its ability to scale since most of the data does not need to be on the blockchain itself. There are also some benefits from a privacy perspective that prevents oracles from gaming the system. Dryja explains:

We're introducing a model where oracles are not aware of who's using the data they're using. That's the lonely life of an oracle. You can't tell if there was a contract, even after it happens. So that's kind of fun.

To accomplish anonymity, data submitted by the oracle gets mixed in with other data that the oracle does not know about before it is placed on the blockchain. Dryja explains:

We're going to combine the oracle's data with our own secret data, so we can recognize it, but the oracle won't recognize it.

 A driver for using this approach is for organizations to protect their financial records from the rest of the blockchain.

While the experiment was a success, there are still some outstanding questions. For example, how can organizations monetize their implementation of an oracle? Another area of uncertainty is while a single instance of an oracle can be trusted in this model, what happens when multiple oracles are used simultaneously? Could this minimize trust? 

User experience is another area that requires additional investment. As Dragos states, “UX is not our core expertise”, so other organizations will need to package up this technology and make it easy to adopt within their distributed applications.
 

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT