Hybrid smart contracts will replace the legal system

Published at: June 6, 2021

The era of unintelligible contracts written in legalese by lawyers in $2,000 suits with degrees from Ivy League schools is over. The contracts of the next century will be hybrid smart contracts, written in code by programmers wearing $20 hoodies and living in their NYC-shared apartment.

What is a hybrid smart contract?

Smart contracts are self-enforcing contracts, written in code and executed by the blockchain. These smart contracts are great at sending and receiving money, and doing simple calculations, but they cannot access off-chain data, perform complex calculations or generate random numbers on their own.

Those limitations previously prohibited smart contracts from fulfilling many of the roles that traditional legal contracts currently hold. Now, the introduction of oracle networks onto the blockchain promises to solve this problem. Oracle networks can provide verifiable randomness, off-chain data and additional computational resources to smart contracts.

Oracle networks are made up of validators that write data onto the blockchain. The oracle aggregates inputs from multiple validators so that no one validator has control over the oracle feed. Validators might also use different mechanisms to come up with the data they write to further increase robustness. For example, oracle networks that provide verifiable randomness might want each validator to use a different pseudorandom number generator.

Oracle networks are decentralized, so using an oracle network doesn’t require sacrificing the benefits of decentralization that blockchain provides. A smart contract that makes use of an oracle network is called a hybrid smart contract.

Use cases for hybrid smart contracts

Once hybrid smart contracts have access to off-chain data through an oracle network, they can begin to replace traditional contracts. For example, weather insurance — a type of insurance that pays out in the event of extreme weather, is currently supported by traditional contracts. If an oracle network provides data on extreme weather events, weather insurance can be easily implemented by hybrid smart contracts instead. In general, any contract that pays out based on real-world events can be implemented on the blockchain, as long as there is an oracle network that can provide that off-chain data.

Hybrid contracts can also implement mechanisms that have higher computational complexity than their non-hybrid counterparts. For example, the Vickrey-Clarke-Groves (VCG) algorithm is a sealed, bid auction mechanism. Google and Facebook use VCG to run their ad auctions. The only problem with VCG is that it’s difficult to compute. It would be prohibitively expensive to implement a VCG mechanism entirely on the blockchain. But, if the computation was delegated to off-chain computing using a hybrid smart contract, VCG could be cost-effective and implemented on the blockchain.

Oracle networks that act as random number generators can, of course, support multiple on-chain gaming and gambling matches, but they also can support randomized algorithms and mechanisms, some of which are more efficient than their non-random counterparts. One example is an auction mechanism called a candlestick auction, which is equivalent to the standard English auction except that instead of ending after a fixed period of time, the auction ends at a random time. EBay users may be familiar with the scalping problem in which nearly all bidding activity takes place just before the auction ends.

This can be frustrating for buyers, as they have little information about the actual price the auction will clear at before the auction ends. The candlestick auction solves that problem by incentivizing bidders to place bids early so that they can get them in before the auction ends. Without a random number generator, it would be impossible to implement a candlestick auction or any other randomized mechanism or algorithm on the blockchain.

The advantages of hybrid smart contracts over traditional contracts

Unlike traditional contracts, smart contracts are enforced by the blockchain, meaning that there is no need for an external court system to enforce the contracts. Without a costly court system, contracts are cheaper, so more peer-to-peer transactions can be governed by contracts rather than trust.

Contracts between firms located in different countries are often challenging, since navigating the different court systems is expensive, and usually, the judicial systems of one nation have limited power over corporations from other nations. Hybrid smart contracts do not share this weakness; they don’t see nationality at all.

Enforcing traditional contracts through the courts is not only expensive but also introduces uncertainty into the outcome. There will always be a chance that lawyers uncover some arcane loophole buried in the basement of a haunted house that completely voids the contract. Even when the contract is airtight, the contracting parties rely on their government’s continued goodwill to ensure that the contract is enforced.

The recent moratorium on evictions in many states within the U.S. and countries around the world is an example of this. Landlords and tenants signed an agreement under the guise that if rent was not paid, the landlord would have legal recourse against the tenant in the form of eviction. I am not going to argue about whether this decision was justified; that’s a discussion for policymakers. What is not up for discussion is that this action taken by governments around the globe effectively voided every single rental agreement that was in place at the time.

This change didn’t only affect the tenants who were unable to pay their rent, it also effectively voided rental agreements between landlords and tenants who could pay. Even tenants who could pay their rent would not be subject to eviction, which meant that some of those tenants chose not to pay either. Whatever your opinion on the eviction moratorium, it is clear that contracts that can be burned at any time by a government official with a rubber stamp are not desirable when compared with hybrid smart contracts.

In the coming years, traditional legal contracts will be replaced by hybrid smart contracts, as they are faster, more efficient and less vulnerable to legal loopholes. They are less expensive and can reach across borders just as easily as within borders.

The views, thoughts and opinions expressed here are the author’s alone and do not necessarily reflect or represent the views and opinions of Cointelegraph.

Nick Spanos is a co-founder of the Zap Protocol, the decentralized oracle solution for smart contracts. An early pioneer, Nick founded Bitcoin Center NYC in 2013, the world’s first-ever physical crypto trading floor, located across from the NYSE.
Tags
Law
Related Posts
Smart contracts and the law: Tech developments challenge legal community
Smart contracts are an important element of the blockchain revolution, although they predate blockchain. According to most sources, it was Nick Szabo who coined the term “smart contract” in the 1990s. The mechanism of a vending machine has since been frequently given as an example of a basic smart contract based on if-then logic. The payment into a vending machine triggers an irrevocable automated action from when money is retained to when an item is supplied. The emergence of blockchain technology enabled the implementation of such if-then logic on decentralized networks to facilitate autonomous self-executing, self-performing smart contracts, also called …
Technology / June 19, 2021
Blockchain and Smart Contracts Have a ‘Dark Side,’ Says Researcher
Blockchain technology crystallizes the rise of “algorithmic power” that today presents a major challenge to traditional forms of sovereignty, legal authority and state-led governance. So goes the argument in a new post on the Oxford University Faculty of Law blog on Monday by Kevin Warbach, a professor of legal studies and business ethics at the Wharton School of the University of Pennsylvania. Warbach’s forthcoming book After the Digital Tornado: Networks, Algorithms, Humanity will argue that blockchain technology could wreak unintentional havoc if its characteristics are not understood and tackled directly. For Warbach, the immutability of blockchain ledgers and the use …
Technology / June 1, 2020
As labor struggle takes center stage, can DAOs democratize work?
Web3 has given rise to a number of innovative business models. In particular, decentralized autonomous organizations (DAOs) have started gaining traction as Web3 and the creator economy comes to fruition. Natalie Salemink, CEO and founder of Prismatic — a tooling and treasury management platform for DAOs — told Cointelegraph that DAOs are internet-native organizations that utilize smart contracts to facilitate coordination and governance in pursuit of a common goal. When it comes to traditional businesses, though, one of the most interesting aspects a DAO structure can provide is leadership based on computer-generated code rather than individual authority. The idea of …
Decentralization / April 21, 2022
Welcome to Mars: I own everything, have total privacy, and life has never been better
This is a parody of the article published by the World Economic Forum titled “Welcome to 2030. I Own Nothing, Have No Privacy And Life Has Never Been Better.” Welcome to Mars. Welcome to my city, or should I say “our city” because I, like every other inhabitant, am a stakeholder in it. No, I don’t mean “shareholder,” as this isn’t a dystopian future run by private companies. My city on Mars has a decentralized governance structure just like the greater Mars. It is not a corporation nor is it a militarized state. It is a set of institutions governed …
Decentralization / May 15, 2022
Russian protest group Pussy Riot seeks to tackle gender inequality in the NFT space
Russian punk rock collective Pussy Riot is planning to launch a DAO for LBTQ+ and women artists. As the group’s co-founder Nadya Tolokonnikova told Cointelegraph, The DAO will be working on reducing the gender inequality that still marks the NFT space and, more broadly, the crypto industry. Despite the large gender gap in crypto — around 60% of US crypto investors are white men according to a survey from August 2021 — Nadya is convinced that it is still early enough for Pussy Riot to make an impact. “The NFT space is still so small, I feel that with a …
Decentralization / Jan. 12, 2022