Blockchain has proven to be a game-changing technology with world-reaching effects. In addition to use-cases such as cryptocurrencies and nonfungible tokens (NFTs), Blockchain has introduced a world where contracts can be embedded in digital code and stored in transparent shared databases, where the terms of the contract are protected from deletion, tampering and revision and their performance is fully automated without any need for human intervention. These contracts are called “Smart Contracts.”
First proposed in 1994 by Nick Szabo, Smart Contract is a term used to describe computer code that automatically executes all or parts of an agreement and is stored on a Blockchain-based platform. Smart Contracts represent the most recent instance of digital technology remaking contract law and are intended to circumvent—or at least be independent of— contract law machinery.
As such, it is not surprising that there have been various assertions on how the law (the law of contract in particular) has no role to play in Smart Contracts. In addition, the role of lawyers has been reduced to, at best, drawing up the standard terms of the contract which will be reproduced in the Smart Contract.
In this essay, we will examine the correctness or otherwise of this assertion and consider the impact that the law plays in Blockchain-based transactions that run on Smart Contracts.
Nature of smart contracts
Smart Contracts solve an age-long challenge most parties to agreements have contended with. In most cases, parties cannot perform at the same time, so one party runs the risk of its performance not being reciprocated. Thus, the party who has performed has to trust/hope that the counterparty will perform its obligations under the agreement. In the event of non-performance or other forms of default, the party who has performed is forced to rely on the reliefs that are available from the State institutions such as the court, or other alternative dispute resolution mechanisms.
This framework has three challenges: the State does not enforce all agreements; parties often have to deal with extraneous but unavoidable issues/risks in approaching the State/Court for enforcement, and parties may, notwithstanding the best efforts of the State/Court, not get the same result they would have gotten if the counterparty had performed its obligation.
Smart Contracts solve the above issues by automating and guaranteeing performance immediately the set parameters are met. This is done by setting the terms of the contract in code replicated across multiple nodes of a Blockchain. Setting the code on the Blockchain ensures that the code/terms benefit from the security, permanence, and immutability that a Blockchain offers. That replication also means that as each new block is added to the Blockchain, the code is, in effect, executed. If the parties have indicated, by initiating a transaction, that certain parameters have been met, the code will execute the step triggered by those parameters. If no such transaction has been initiated, the code will not take any steps.
To this extent, questions regarding whether Smart Contracts are valid contracts are moot. The very nature of Smart Contracts ensures that they are always performed once the parameters are met and therefore issues concerning whether such contracts are legally enforceable are irrelevant.
To be clear, Smart Contracts, by their nature, do not need the State or Court System to enforce their terms. However, this is not to suggest that the considerations for a valid contract are wholly irrelevant to a Smart Contract.
the three major restrictions on the adoption of Smart Contracts are the conditional nature of Smart Contracts, the slowness in processing transactions, and the Gas Fees required
Types of smart contracts
Smart Contracts can be Code-Only Smart Contracts or Ancillary Smart Contracts. Code-only Smart Contracts are Smart Contracts that are created and deployed without any enforceable text-based contract behind them. For example, two parties reach an oral understanding as to the business relationship they want to capture and then directly reduce that understanding into executable code.
Read also: Buhari signs Nigeria’s first business facilitation bill into law
Conversely, Ancillary Smart Contracts involve the use of Smart Contracts as vehicles to effectuate certain provisions of a traditional text-based contract, in which the text itself references the use of the Smart Contract to effectuate certain provisions.
While legal enforceability might not be a consideration for code-only Smart Contracts, such enforceability may be pivotal to the execution of Ancillary Smart Contracts.
Use case of smart contracts
The fact that Smart Contracts offer guaranteed enforcement independent of the whims of States/Court systems; efficient formation and interpretation of terms; immunity from external interference; and complete deference to the parties’ wishes have led to their adoption for various commercial transactions and account for the potentials Smart Contracts possess for even further adoption as time progresses.
At present, Smart Contracts are best suited to execute two types of “transactions” found in many contracts: (1) ensuring the payment of funds upon certain triggering events and (2) imposing financial penalties if certain objective conditions are not satisfied.
Nevertheless, Smart Contracts are also used and may be used for dynamic NFTS; betting/gambling transactions, and royalties from the sale of NFTs.
However, the three major restrictions on the adoption of Smart Contracts are the conditional nature of Smart Contracts, the slowness in processing transactions, and the Gas Fees required.
The conditional nature of Smart Contracts prevents Smart Contracts from being used/adopted for complex commercial transactions particularly concerning transactions that require subjective judgment calls. Although a major issue with Blockchain adoption has been the slowness of transactions, recent Blockchain solutions are scaling for speed.9 With respect to Gas Fees, before a compiled Smart Contract can be executed on certain blockchains, an additional step is required, namely, the payment of a transaction fee for the contract to be added to the chain and executed. This fee is known as “Gas” and the more complex a transaction is, the more gas must be paid to execute the Smart Contract.
Notwithstanding these restrictions, it is expected that Smart Contracts would see an increasingly high adoption rate.
The role of law
Perhaps it will be helpful to delve into a scenario to illustrate the role of law in a Smart Contract. A Smart Contract can be likened to an automated vending machine (“AVM”) which also automates the performance of the terms of the contract. Specifically, the AVM automatically releases the selected items once payment is made (parameters are met).
However, this does not mean the law has no role to play in the transaction between the Buyer and Seller who interact through the AVM. For example, the Buyer may nevertheless sue for recovery of sums paid where the items released are expired. Similarly, the Buyer/Seller may use the instrumentality of the law to recover compensation where excess or insufficient items were released to the buyer due to an error from the AVM. In addition, the law may direct the Seller to desist from providing certain items in the AVM at the risk of prosecution. In essence, although the law does not play a role in the performance of the terms, the law plays a supervisory role in the overall transaction.
The same logic can be applied to Smart Contracts. Specifically, the law may order the reversal of Smart Contract transactions in certain circumstances or order the performance of certain obligations notwithstanding the absence of the agreed-upon objective parameters. Some of these circumstances are examined below.
1. Presence of vitiating elements
The court may order the reversal of a Smart Contract transaction where there is a vitiating element in the agreement. For example, the law of contract mandates that a valid contract must not have a vitiating element. Vitiating elements include an absence of capacity, an absence of illiterate jurat, illegality, etc. For instance, a contract for loans, contracts for goods (except contracts for necessaries i.e. goods that are suitable to the condition of life of the infant at the time of sale and delivery of such goods) and accounts stated are void against an infant. Thus, where an infant enters a contract for loans using a Smart Contract, the court may order a reversal of the transaction.
2. Error in the transaction
The court may order a reversal where an error has occurred in the course of the transaction. This may be due to an error in the code of the Smart Contract, a hack of the Blockchain on which the Smart Contract is written, or even an error from the oracle from which off-chain information is sourced. The Smart Contract, because of its automated nature, will enforce the terms of the contract as inputted but the law may subsequently reverse said transaction.
3. Doctrine of quantum meruit
the law may order the performance of the terms encoded in a Smart Contract even where the objective terms of the contract have not been wholly met. An instance where this will play out is where a party has substantially performed his obligations under the Smart Contract but still does not meet the agreed-upon parameters that will trigger enforcement under the Smart Contract due to the actions/inactions of the Counterparty; such party may have recourse to approach the court and receive some level of compensation under the doctrine of quantum meruit.
Conclusion
Smart Contracts are a fascinating development in the commercial transaction sphere. However, an examination of the realities of Smart Contracts reveals that they are a mere improvement on already existing structures and will, like their predecessors, require a level of oversight from the law.
The idea that Smart Contracts are independent of the legal system might seem accurate at the first glance; however, a deeper analysis shows that contracts do not end at the point of performance. The performance done pursuant to a Smart Contract can be readily undone by the instrumentality of the law.
As such, the law in general, and lawyers in particular, still have a pivotal role to play in the enforcement of Smart Contracts.
Join BusinessDay whatsapp Channel, to stay up to date
Open In Whatsapp