FINTECH BLOG

Implementing Blockchain Technology: Understanding Smart Contracts

The term “blockchain” has become ubiquitous in recent months, garnering headlines and social media attention. It also tends to be a source of confusion.

I am often asked whether blockchain is different from bitcoin or whether it has anything to do with the recent explosion of activity in the initial coin offering space. The answer to both these questions is yes, but blockchain technology has applications far beyond these uses, including the creation of “smart contracts”. Many commentators have predicted that, over the next several years, blockchain technology will disrupt industries and transform the way that many commercial transactions are carried out.

What is Blockchain?

Simply put, it is a digital ledger on which transactions can be recorded that is maintained in a decentralized manner rather than in a central location. This ledger is maintained across a network of unrelated computers, called nodes, which are connected via the Internet and which run the particular blockchain software protocol. Transactions recorded to the blockchain are grouped into blocks for processing, with each block containing a cryptographic reference, called a hash, to the previous block of transactions. A block is only added to the chain if the nodes reach consensus on the next valid block. Cryptographic tools used in blockchain software protect the system against hacking, fraud, and alteration.

Smart Contracts

Bitcoin was the first, and is the most well-known, implementation of blockchain technology. However, the technology is still in its infancy and many new applications have been identified, including “smart contracts”. This term can cause confusion, especially among lawyers, such as myself, for whom the word “contract” has a specific meaning and significance.

Essentially, smart contracts are instructions written in computer code that automatically execute when certain criteria are met, using blockchain technology to record and execute the transaction. No intermediaries are necessary to confirm the transaction. For example, a smart contract could be coded to cause funds placed into escrow to be automatically released to a seller of land upon confirmation of filing of the land title documents transferring the property title to the buyer. There are several use cases for smart contracts, such as in the insurance industry, supply chain management, and in the maintenance of certain records, such as real estate and medical records.

These code-based smart contracts are not contracts in the traditional legal sense, which require the elements of offer, acceptance, and consideration. While legal contracts are written and interpreted by people operating within the rules of a legal system, smart contracts are written in code and interpreted by computers. However, a legal contract could be implemented using smart contract technology, which would self-execute the series of actions required to complete the terms of the legal contract. In this scenario, a traditional legal contract would exist alongside the code-based smart contract.

Benefits and Legal Implications of Smart Contracts

A major benefit of smart contracts is automation. Since little to no human action is required, execution of smart contracts should be cheaper, more efficient, and leave less room for human error. On the other hand, this automation leads to interesting ramifications. For example, an error in the code could cause an irreversible erroneous result.

In addition, the use of blockchains and smart contracts in the context of our existing legal system raises new legal issues. For example, as the blockchain is digital and decentralized, parties to a contract and nodes in the blockchain can be located across multiple jurisdictions, raising the question of where a transaction executed on the blockchain occurred. It is therefore important for parties to stipulate the governing law in the smart contract and to be confident this will be honoured by the courts of the various jurisdictions.

Although it is early days, smart contracts have the potential to change the way companies conduct business, allowing for flexible, decentralized, and (hopefully) secure arrangements. Companies ranging from startups to global financial institutions have already begun exploring the possibilities of this brave new world, where computer code can autonomously manage money and execute deals. The ramifications of smart contracts are difficult to predict, but it is safe to say that we are in for some interesting times.

About the Authors

KELLY SAMUELS
Kelly Samuels, partner, brings a knowledge of business law to the rapidly growing fintech sector.
READ MORE

FRASER HARTLEY EKB Fintech Author

FRASER HARTLEY
Fraser Hartley, partner, is focused on financing + technology, and helping the businesses that bring the two together.
READ MORE

riley lelonde ekb fintech author

RILEY LaLONDE
Riley Lalonde, associate, assists clients with a variety of business law matters while keeping an eye on developments in the fintech sector.
READ MORE

MORE FINTECH ARTICLES THAT MAY BE OF INTEREST TO YOU

Global Regulation of Initial Coin Offerings: Part 2
Applications of Existing Legislation/Securities Law to ICOs While some jurisdictions have taken a hostile approach to ICOs, such as the bans by Korea and China, discussed in Part 1 of our 2 part series on international regulation of ICOs, a more measured approach is more common. Many jurisdictions have taken the stance that ICOs can and should be regulated by existing legislation, with slight variations in approach. Securities Regulation... READ MORE
Global Regulation of Initial Coin Offerings: Part 1
Background, Bans, and ICO Outliers Over the past few weeks there have been a number of interesting developments in the regulation of Initial Coin Offerings (ICOs, sometimes referred to as Initial Token Offerings or ITOs), so we decided to take this opportunity to summarize the state of ICO regulation worldwide. (For an overview of ICOs, see our recent blog post What is an ICO Anyways?). Regulators across the globe... READ MORE