Services on Demand
Article
Indicators
Related links
- Cited by Google
- Similars in Google
Share
Potchefstroom Electronic Law Journal (PELJ)
On-line version ISSN 1727-3781
PER vol.27 n.1 Potchefstroom 2024
http://dx.doi.org/10.17159/1727-3781/2024/v27i0a16383
NOTES
The Recognition and Regulation of Smart Contracts in South Africa
M van Eck; F Agbeko
University of Johannesburg, South Africa. Email: mmvaneck@uj.ac.za; fafadelight7@gmail.com
ABSTRACT
Our understanding of contracts continues to evolve. Electronic contracts that have typically taken the form of shrink-wrap, click-wrap, web-wrap, scroll-wrap, multi-wrap and sign-in-wrap agreements have undergone further developments with the introduction of automation in electronic contractual engagements and, more recently, the advent of the so-called "smart contract". Different types of smart contracts exist, including smart contracts that operate on blockchain technology. Despite these developments in commercial and contractual activities, the South African legal framework does not officially recognise smart contracts. The use of the Electronic Communications and Transactions Act, 2002 (ECTA) as a mechanism for the regulatory oversight of smart contracts in South Africa is, in its current form, woefully inadequate and limited in its application to smart contracts. Other jurisdictions, like the European Union (EU), have passed draft legislative and regulatory documentation called the Data Act to address smart contracts, whilst the UK Law Commission has provided recommendations to regulate smart contracts. As South Africa currently has no equivalent to the EU's draft Data Act and has not considered the operation of smart contracts in South Africa, the position in the EU and United Kingdom (UK) is considered in this paper to provide guidelines as to the aspects that it would be necessary to regulate in a South African context.
Keywords: Smart contracts; blockchain; ECTA; Electronic Communications and Transactions Act; fourth industrial revolution; 4IR.
1 Introduction
Our understanding of contracts continues to evolve and develop. Tacit, oral and written contracts are recognised as valid and binding,1 but the digital age and the advent of the internet have introduced new modes of contracting (or channels for communicating the parties' intent to contract), and thereby have recognised new types of contracts such as electronic contracts.2 There have been many forms of electronic contracts, including those contractual transactions that underpin e-commerce. Electronic contracts in this context may be described as another conduit (or a tool) to assist contracting parties in engaging with one another.
Electronic contracts could be viewed as electronic versions of the contractual terms and could, for example, be found on a supplier's website or require the consumer to click a button to confirm the acceptance of such terms,3 which in turn supports e-commerce activities and electronic transactions.4 Such electronic contracts have been grouped into different categories, such as shrink-wrap, click-wrap, web-wrap, scroll-wrap, multi-wrap and sign-in-wrap agreements.5 In many respects the initial forms of electronic contracts remain manual contracting processes that have simply placed contractual terms on a different (electronic or digital) platform. Legal and practical difficulties have emerged from this in case law regarding the process of placing such electronic contracts in writing, and what would constitute a valid electronic signature.6
The natural progression of electronic contracts was to introduce a form of automation by embedding portions of the contract into computer code or creating automation in contract formation and execution.7 The first step towards automation was the data-orientated contract wherein contract terms are expressed in computer code (or machine-readable language).8Put differently, data-orientated contracts represent contractual terms captured as data or reduced into a data form.9 These data-oriented contracts were followed by computer-orientated contracts, which allowed computer programs to execute the data-orientated contract in an automatic manner.10 The computer-orientated contract, however, suffers from the limitation of pre-determined (or pre-programmed) scenarios set out in the computer code. Against this background, one can say that commercial transactions conducted electronically and embedded in computer code are not necessarily something new.11
The next step in technological developments has been driven by even more sophisticated and automated commercial transactions through the use, for example, of the decentralisation of emerging technologies. As contracts form the basis of a country's commercial activities,12 the question raised as early as 1997 was whether, through the use of computer protocols and algorithms a contract might be fully automated in its different phases (such as automation during contract negotiations, the conclusion of a contract, the execution of contractual performances and the adjudication of contractual disputes).13 The idea was to use emerging technology to allow complete automation wherein digital codes, protocols and algorithms could automatically execute contractual performance without the need for human intervention throughout the contract lifecycle.14 Szabo described this technology as being a "smart contract".15 Since Szabo's initial description of a smart contract nearly two decades ago, there have been further developments, such as blockchain technology, that have created different forms of smart contracts.16
The smart contract can be described as an evolution of the electronic contract,17 but electronic and smart contracts are not necessarily the same thing. In South Africa electronic contracts are generally considered valid provided there is compliance with the common law requirements of a contract and the provisions of the Electronic Communications and Transactions Act (ECTA).18 However, although all smart contracts are electronic, not all electronic contracts are "smart". Thus, the evolution of the electronic contract into the so-called smart contract has not been directly addressed in the ECTA. In fact, at the time of writing this paper, there was no South African case law dealing with smart contracts, and the academic and legal discourse as it relates to South Africa was limited.19 There are, however, limited practical examples of the use of smart contracts in the South African context. Nevertheless, conceptually, academic discourse on smart contracts indicates the potential viable use of smart contracts in the insurance sector,20 whilst smart contracts would, for example, not be viable in the context of surrogate motherhood agreements in a South African context.21 Internationally, however, smart contracts appear to be generally used in commercial and transactional contractual engagements.
As smart contracts are becoming a new contracting mode internationally,22it is necessary to consider their recognition, validity and applicability in the South African legal framework, so as to assess whether there is a need for legislative interventions to regulate these forms of contractual engagements. To this end, this paper will consider the definitions of a smart contract, identify the types of smart contract, attempt to situate the smart contract in the context of the South African legal framework, and consider the developments in other jurisdictions (like the UK and EU) as examples of how smart contracts might be recognised and regulated in the South African context.
2 Smart contracts
The ECTA does not define a smart contract, and although there are several definitions in use internationally there are no uniformly accepted definitions of what exactly a smart contract is.23 It is then perhaps worth starting with Szabo's description of a smart contract. Szabo notes that a:24
smart contract is a set of promises, specified in digital form, including protocols within which the parties perform on these promises.
This definition illustrates the attributes of a smart contract. Firstly, a smart contract is a computer programme that is underscored by sophisticated algorithms and protocols. Second, those algorithms and protocols allow for the automatic (or autonomous) execution of contractual performances without the need for human intervention.25 The UK's Law Commission, however, provides a generalised definition of a smart contract, which is described as:26
[c]omputer code that, upon the occurrence of a specified condition or conditions, is capable of running automatically according to pre-specified functions.
In other words, a smart contract's characteristic feature is its automaticity,27being its ability to act autonomously (without human intervention) by functioning through the algorithms and protocols that underscore the computer programme, and thereby resulting in automatic transactions.28Automated transactions are, however, not a new development, as the use of computer programmes to automate the performance of contractual obligations has been around for a while.29 Take for instance online shopping and automated bank payments (such as standing orders and direct debits). All involve some element of automation at the instance of either one (or both) of the contracting parties.30 Many types of contractual obligations have thus been automated in this manner using simple (or standard) software programmes, in what Werbach and Cornell describe as the "computer-oriented contract".31
As such, from the outset a smart contract seems to be similar to a computer-orientated contract, and the characteristics of a smart contract provide little distinction from an automated electronic contract. However, there are smart contracts that utilise blockchain technologies.32 Here, the contract is drafted in code and is deployed on and utilises distributed ledger technology (DLT) systems.33 As a result, novel legal questions arise due to the peculiar characteristics of blockchain technology.34
Blockchain is a type of database that uses cryptographic functions to achieve data integrity and identity authentication,35 and is an application of the DLT. DLT is an:36
approach to [record] and [share] data across multiple data stores (ledgers), [in] which each have the exact same data records and are collectively maintained and controlled by a distributed network of computer servers, which are called nodes.
The participating nodes on the network are directly linked to one another and do not have a central intermediary or controller among them. Thus, every participant on the network has equal status.37 The record of information of all transactions on the network is spread across the network in such a manner that each participant (node) on the network has a complete copy of each transaction.38 The transactions are recorded on the ledger as blocks of data, linked together through a hashing function to form an unbroken chain of blocks. Hence the name blockchain.
Hashing entails putting a data item through a hash function.39 Imran describes such hashing functions as mechanisms to be "used to create fixed-length digests of arbitrarily long input strings."40 What this means is that the data that are put into a hash function generate a string of digits of fixed lengths (called the hash value),41 that are unique to the input data. The unique hash value ensures the integrity of the data on the blockchain. This is because if the input data are changed even slightly, the hash value would change, making it obvious that the data have been tampered with. Further, hashing is a one-way function. In other words, it is irreversible, and it is not possible to re-create the original input from the hash value.42 This gives the blockchain its characteristic feature of immutability.
Finally, information on a blockchain is updateable only via consensus between the nodes, as any update made to the blockchain is validated against strict criteria defined by the blockchain protocol and added to the blockchain only after majority consensus has been reached among the participating nodes on the network.43
A blockchain is, therefore, a decentralised, cryptographically secured record of transactions that cannot be tampered with. However, beyond being a record of transactions44 the blockchain system allows smart contracts to be stored and executed as part of transactions on the blockchain.45 As such, one of the fast-growing areas of the implementation of blockchain technology presently is its use for creating and storing smart contracts.46
It is evident from the above that there are three general elements to blockchain technology, being "the ledger, the network and consensus".47The ledger is a reference to blockchain technology,48 which comprises of several blocks of data, and is effectively a mode of securely storing data.49The network refers to the participant nodes on the ledger, and consensus refers to the collaborative action of the participating nodes that drive actions on the chain. It is these features that make the DLT unique, as it overcomes the issue of central control and is completely decentralised in its operation.50In other words, there is no central body that confirms the validity of the transactions, but rather the nodes confirm the validity of the transaction separately, but also do so collectively.51 There is much value in the use of DLT technology in contracts as it makes it very difficult to make changes to the data in the blocks. It is believed that this type of contracting structure reduces the risk of fraud.52
A smart contract that uses blockchain technology can be referred to as being "on the chain",53 and provides certain assurances that the contractual performances will be fulfilled and cannot be circumvented by means of human intervention.54 This aligns with some of the more recent definitions of a smart contract in the European Draft Data Act (DDA) which defines a smart contract as:55
a computer program stored in an electronic ledger system wherein the outcome of the execution of the program is recorded on the electronic ledger.
The benefit of using DLT in smart contracts is the way the data of the transaction may be secured.56 Therefore, due to the nature of the DLT, smart contracts that are "on the chain" are said to have additional characteristics (which their off-chain counterparts do not have) such as being immutable,57 unchangeable and irreversible.58
In this regard the DDA is one of the first regulatory documents that sets out standards and, more specifically, the requirements for the development of smart contracts.59 These regulations are directed towards the creators of smart contracts and those parties in the supply chain that employ smart contracts. The DDA focusses on data-sharing protections and, more specifically, the "interoperability" of these systems.60 The DDA sets out four general requirements for the development and deployment of smart contracts, these being:61
(i) Robustness. Smart contracts must be robust in their design and use so to "avoid functional errors and to withstand manipulation by third parties."62
(ii) Termination. Smart contracts are required to have a "kill switch", which means that the smart contract must be able to "reset or instruct the contract to stop or interrupt the operation", as this would prevent any unintended execution of performance.63
(iii) Information storage. As smart contracts are required to include the ability to be terminated, they must also ensure that transactional data are archived and stored so to "keep the record of the operations performed on the data in the past",64 which has been referred to as the principle of "auditability".65
(iv) Access controls. Smart contracts must include rigorous access control measures. This is a form of electronic security.66 These control measures must be incorporated "at the governance and smart contract layers."67
Compliance with the above requirements rests upon the vendor, and where there is no vendor then the business or person that trades or is involved in the deployment of the smart contract must issue a declaration of conformity.68 Herein an additional standard may be implemented that these stakeholders must adhere to, so as to ensure compliance with the abovementioned requirements.
What is noticeable from these requirements is the evolution in the understanding of smart contracts. Smart contracts that are "on the chain" were initially thought to be irreversible, unchangeable, and immutable, which qualities were largely due to the nature and characteristics of blockchain technology. Much has been written about the dangers of the inability to terminate smart contracts "on the chain" and the EU legislature has seemingly taken note of these challenges by incorporating legislative measures to mitigate the risk by changing the very nature of these forms of contract. Incorporating a so-called "kill switch" in smart contracts that are "on the chain", which has the effect of simply changing their nature. There is arguably little that now differentiates smart contracts that are "on the chain" from those that are "off the chain".
Although the DDA is not applicable to South Africa it does provide some guidelines as to how other jurisdictions have approached smart contracts, which knowledge may prove useful to the South African legislature. Currently, in South Africa a smart contract will be subject to the ECTA, which is discussed further in the paragraphs that follow.
3 Recognition and regulation
3.1 Introductory comments
The European Law Institute (ELI) principles as well as the UK's Law Commission report on smart legal contracts found that it is possible for a person's will to be validly expressed in computer code through a smart contract, thereby constituting a legally binding declaration for contract formation.69 Certain states in the United States of America (USA) have also legislated that a transaction may not be denied legal validity or enforceability simply because it utilises the smart contract. This includes, for example, Arkansas (which allows the use of smart contracts in the negotiation of contracts),70 as well as the state of Arizona (which has introduced a Bill to recognise the general validity of smart contracts).71
Generally contracts, regardless of the form they take, will be valid and enforceable provided that all the requirements of a valid contract have been fulfilled. In this regard the validity of tacit, oral and written contracts has been recognised in South Africa. As the electronic contract is a variation of the written contract, it is necessary to briefly consider the forms that a written contract may take. Innes CJ in Goldblatt v Fremantle notes that a written agreement can take two forms.72 The first form is the instance where the contracting parties have orally entered into a contract and the written form of the contract is not essential to its validity.73 Put differently, the written document merely serves as proof of the oral agreement that has been entered into by the contracting parties.74 According to De Bruin v Brink there is a presumption that the parties are bound to the oral agreement unless there is clear evidence that they intended to be bound by the written contract only.75
The second form is the instance where a written contract embodies the contract, and therefore there is no agreement prior to the written contract's coming into force.76 In both instances the written contract may be written physically with ink and paper, or may be represented electronically by means of data messages, which are regulated by the ECTA (and will play a role in determining the origin of the contract when assessing the application of the ECTA to a smart contract - see below).
It is our view that the Goldblatt analogy is applicable to smart contracts as well. Our reasoning is that smart contracts that are preceded by an underlying traditional contract simply embody proof of the pre-existing agreement, and the terms have then been reduced into code.77 Here the smart contract is not the contract itself. It is merely a representation or duplicate record of the existence of the contract and a tool for its enforcement. With this type, the validity of the underlying traditional contract suffices for the validity of the smart contract as well. The second type is an instance where the contract exists in the code of a smart contract only. It is akin to the second type of contract described under the Goldblatt analogy (that being where the written contract embodies the contract in its entirety) and may be described as an "on-chain" smart contract.
3.2 Current legislative framework
The ECTA is the primary legislative machinery regulating electronic contracts in South Africa. One of the purposes of the ECTA is to regulate electronic transactions,78 and from the outset it is clear that information recorded in a data message is recognised as legally valid.79
Similarly, the nature of a smart contract is represented by data through a computer program that automatically executes certain predetermined actions based on the underlying algorithms and the underlying data messages. The ECTA recognises the concept of an "automated transaction" and defines it as:
an electronic transaction conducted or performed, in whole or in part, by means of data messages in which the conduct or data messages of one or both parties are not reviewed by a natural person in the ordinary course of such natural person's business or employment.80
Such an automated transaction seems closely linked to the autonomous characteristics of a smart contract. Added to this, the ECTA uses the term "electronic agent", which is described as:81
a computer program or an electronic or other automated means used independently to initiate an action or respond to data messages or performances in whole or in part, in an automated transaction.
Erlank and Ramokanate note that it is important that such an electronic agent acts independently of its human actors and thereby reviews and executes actions independently.82 There are different forms of automated transactions, the first being so-called "passive" automated transactions, which allow electronic agents only to review and contract strictly on preprogrammed requirements, which can be described as technological conduits that facilitate the transaction between the parties.83 This is closely linked to the operation of data-orientated and computer-orientated contracts, and it may be argued that this is the precursor to our understanding of the smart contract.84
The second form of an automatic transaction may be described as an electronic data interchange arrangement (or EDI) wherein data are transferred between the parties without the parties reviewing the terms of the transaction at all.85 This form of an electronic contract is closely connected to the operation of a smart contract, which at first glance appears to recognise the validity of the smart contract under the ECTA (being an automated transaction concluded by an electronic agent).86 Erlank and Ramokanate note that in the EDI process one or both of the human actors are removed from the contracting process and are replaced by an automated agent.87 Automated vending and ticket machines may be examples of this.88
Conceptually, one or both of the contracting parties may use such an electronic agent,89 which in this context could be considered to be a smart contract. However, the ECTA places a limitation on such automated transactions. Section 20(d) of the ECTA is of particular interest, stating that:90
a party interacting with an electronic agent to form an agreement is not bound by the terms of the agreement unless those terms were capable of being reviewed by a natural person representing that party prior to agreement formation.
This prerequisite to the validity of autonomous contracts concluded by means of an electronic agent is important. This means that for automated "smart" transactions to be valid under the ECTA, there must first be a written version of the terms of the contract, which must be reviewed by the party that is not using the electronic agent.91 In other words, there will at the very least be the need to place the agreement in a written document for the smart contract to be valid.
In this regard one may argue that the written form, which is represented in natural language, is not too dissimilar from the first category of contracts as described in Goldblatt v Fremantle. Put differently, the digital version of the automated transaction (or, in this case, the smart contract) is not the contract itself but is rather proof of the contract, or facilitates the performance of the contract. This is an important distinction as this implies that the smart contract (in whatever form it takes) simply serves as a tool for the execution of the written contract and is not the sole embodiment of the contract itself.
Added to the requirements in section 20(d), the ECTA qualifies electronic contracts further. For instance, section 20(e) of the ECTA notes that automated transactions also require the following corrective mechanisms:92
no agreement is formed where a natural person interacts directly with the electronic agent of another person and has made a material error during the creation of a data message and-
(i) the electronic agent did not provide that person with an opportunity to prevent or correct the error;
(ii) that person notifies the other person of the error as soon as practicable after that person has learned of it;
(iii) that person takes reasonable steps, including steps that conform to the other person's instructions to return any performance received, or, if instructed to do so, to destroy that performance; and
(iv) that person has not used or received any material benefit or value from any performance received from the other person.
The above provides a distinct limitation to the use of smart contracts "on the chain" and is in direct conflict with the characteristics in that they are immutable, unchangeable and irreversible. Put differently, section 20(e) of the ECTA does not support the immutability of a contract. In this regard the very nature of smart contracts "on the chain" is hampered by the qualification set out in section 20(e), which expects electronic contracting systems to allow for the termination of or correction of the contract.
4 Additional limitations under consumer protection
The current requirements set out in the ECTA would require a smart contract to comply not only with the common law requirements for a contract but also with the provisions of the ECTA. These provisions (discussed in para 3 above) are the basis upon which a smart contract would be recognised and enforced under the current legislative provisions in South Africa. In addition to the common law requirements for a valid contract and the ECTA, which deals specifically with the recognition of smart contracts, there are other ancillary legislative and regulatory provisions that may influence the operation of a smart contract in South Africa. Take, for instance, the Consumer Protection Act (CPA).93 Insofar as smart contracts are used to provide goods or services then they must comply with the provisions of the CPA,94 as well as the National Credit Act (insofar as such goods or services are financial in nature).95 However, these pieces of legislation are silent on consumer protection in the context of smart contracts. On the other hand, in Europe principle 17 of the ELI Principles introduces a duty to code smart contracts in a manner that takes cognisance of all consumer rights available off-chain, and to code the smart contract in a manner that conforms with and upholds all such available rights, including for example the right to a cooling off period or the consumer's right to terminate the contract. What this means, then, is that any vendor that wishes to deploy a smart contract for the purposes of concluding a contract with consumers in Europe would have to ensure that the smart contract is coded in such a manner that allows the consumer to freely exercise its consumer rights. The "kill-switch" requirement proposed by the DDA would also result in the same consequences.
Also, the UK Law Commission notes that the rights and interests of consumers must be protected by:96
(i) ensuring that coded terms are explained to the consumers before a contract is concluded;
(ii) complying with the transparency requirement wherein clear and informative pre-contractual literature is provided to the consumer to explain what coded terms mean and how they will operate; and
(iii) ensuring that smart contracts are only used in the business-to-consumer (B2C) contracts if the contract is coded in a manner that takes cognisance of the consumer's right to terminate, and to ensure that the smart contract is capable of terminating in such a manner.97
The South African legislative framework has not considered the practical and legislative limitations of smart contracts. By way of example, should a smart contract fall within the ambit of the CPA, then such a contract would be subject to the duties under the CPA. Although it is not the purpose of this article to provide a detailed analysis of the CPA's application to smart contracts, it is necessary to note that there may be some limitations to the enforcement of the rights embedded in the CPA. There are several instances where the CPA affords consumers the right to terminate or cancel a consumer contract. A good example of this may be found in section 17(2), wherein an advance booking reservation may be terminated, and section 14(2)(b) of the CPA,98 which allows a consumer to terminate a fixed term agreement upon its expiry,99 and to cancel a fixed term agreement at any time within 20 business days.100
Although the consumer would be liable for outstanding amounts on the contract and possible (reasonable) penalties, the consumer may nevertheless terminate or cancel a fixed-term consumer contract under these circumstances.101 However, if such a consumer contract is also a smart contract "on the chain", then the underlying nature of blockchain technology will prevent the termination of such a contract as the smart contract would automatically execute the contractual performances.102These are the exact challenges that the European legislators foresaw, which is why they introduced the DDA, allowing for the so-called "kill switch", as well as the UK Commission's recommendation to ensure consumers have the right to terminate the consumer contract.
Further, the CPA clearly notes that no conduct may be undertaken that would contravene or frustrate the protections afforded under the CPA.103Therefore, the smart contract "on the chain" in the context of the CPA would have limited use, as it would have to account for the rights for the consumer to terminate the contract. Added to this, section 20(d) of the ECTA requires that an agreement must be embodied in the written contract and not in the computer programme (or for our purposes the smart contract) itself. Therefore, a smart contract that continues to execute contractual performance after a party has terminated the contract would result in a breach of the contract.
Finally, the Protection of Personal Information Act (POPIA) may have a bearing on the way smart contracts operate.104 A smart contract operates on "data messages", and although this may be of interest when considering the protection of personal information, POPIA does not provide detailed regulations in relation to other data which may not be personal in nature. This, nevertheless, would still require compliance, but nothing in POPIA would function as an inhibitor against concluding a smart contract, provided that such information remains secure and protected in terms of POPIA.
5 Conclusion
Smart contracts will not replace traditional contracts. In fact, smart contracts are subject to contractual principles and doctrines and cannot operate without these in place.105 However, a smart contract is attractive in modern commercial transactions as it promises reduced costs and improved efficiencies.106 The smart contract may have additional benefits. For instance, the smart contract has been described as a form of digital of crypto-escrow account.107 There is an argument in this that such automation might replace the need for people to engage with the formation and execution of contractual performance, which would reduce costs and thereby (at least at a theoretical level) make contracting more affordable.108
Although the ECTA provides some recognition of automated contracts, there are limitations to such recognition. Electronic agents are for the most part considered to be digital tools under the ECTA,109 a position which appears to be similar to the revised position in Europe under the DDA. This being said, for smart contracts to operate properly and to their full potential there will be a need for legislative intervention to address the various risks inherent in them. These risks may include, for example:
(i) There is currently little or, dare one say, almost no specific regulatory oversight of the operation of smart contracts in South Africa. No legislative or regulatory recognition or definition has been given to smart contracts, nor have any parameters been set for their utilisation and functions. Initial discourse on the topic suggests that smart contracts should operate independently without government or legislative oversight, which is not a viable option, as this would create a social and legal crisis. The developments in Europe (under the DDA) intend to set clear standards (or norms) upon which smart contracts may operate, and the South African legislature might consider such developments either by introducing new legislation or by updating the ECTA.
(ii) People are involved in the coding of smart contracts, which means that there is a possibility for errors in the code. There should be a standard of conduct for programmers and suppliers to protect the contracting parties against such errors, which might be represented as a code of conduct for such programmers.
(iii) The use of smart contracts must not in any way circumvent consumer protection measures.
Until the South African legislature intervenes, smart contracts enjoy only limited recognition in South Africa and, given the absence of clearly defined parameters for their use, they will presently operate with legal uncertainty. Such legal uncertainty may result in smart contracts being unenforceable in a South African context. This is particularly the case when considering that such smart contracting structures would have to comply with the provisions of the ECTA, and that the ECTA (in its current form) would not be sufficient to recognise smart contracts fully. We have, in this context, made the argument that one should not be fooled into thinking that section 20 of the ECTA is sufficient in regulating such contracting structures. This notwithstanding, there remain significant risks for contracting parties without proper legislative intervention, including that such contracts would not be legally recognised, thereby leaving contracting parties without any tangible legal recourse. Although the DDA is still in draft form and still provides the opportunity for the European legislature to introduce even more regulations, it could perhaps be a starting point for the navigation of the complexities of smart contracts. South Africa needs to seize this opportunity and introduce meaningful legislative change for emerging technologies,110 failing which it may run the risk of falling behind on the international commercial platform, which could impact on commercial activities in the country.
Bibliography
Literature
Bacon J et al "Blockchain Demystified: A Technical and Legal Introduction to Distributed and Centralised Ledgers" 2018 Richmond Journal of Law and Technology 1-106 [ Links ]
Bourque S and Tsui SLT "A Lawyer's Introduction to Smart Contracts" 2014 Scientia Nobilitat Reviewed Legal Studies 4-23 [ Links ]
Brownsword R "The Future of Contract Law: Three Conversations at the Cape" 2021 Acta Juridica 3-35 [ Links ]
Erlank W and Ramokanate L "Allocating the Risk of Software Failures in Automated Message Systems (Autonomous Electronic Agents)" 2016 SA Merc LJ 201-237 [ Links ]
Imran B Mastering Blockchain: Distributed Ledger Technology, Decentralization and Smart Contracts Explained (Packt Publishing Birmingham-Mumbai 2018) [ Links ]
Juhasz A "The Applicability of Artificial Intelligence in Contractual Relationships" 2020 Acta Universitatis Sapientiae: Legal Studies 63-82 [ Links ]
Naudé N and Eiselen S (eds) Commentary on the Consumer Protection (Jutastat Online) (Juta Cape Town 2022) [ Links ]
Pandey D and Raghunath H "Stationing Smart Contract as a 'Contract': A Case for Interpretative Reform of the Indian Contract Act, 1872" 2020 NUJS Law Review 1-44 [ Links ]
Pistorius T "Click-Wrap and Web-Wrap Agreements" 2004 SA Merc LJ 568576 [ Links ]
Raskin M "The Law and Legality of Smart Contract" 2017 GLTR 305-341 [ Links ]
Ryder N, Griffiths M and Singh L Commercial Law Principles and Policy (Cambridge University Press New York 2012) [ Links ]
Savelyev A "Contract Law 2.0: 'Smart' Contracts as the Beginning of the End of Classic Contract Law" 2017 Information and Communications Technology Law 116-134 [ Links ]
Schmidt-Kessen M, Eenmaa H and Mitre M "Machines that Make and Keep Promises - Lessons for Contract Automation from Algorithmic Trading on Financial Markets" 2022 Computer Law and Security Review 1-17 [ Links ]
Seema L "Smart Contracts" 2021 Without Prejudice https://www.withoutprejudice.co.za/free/article/7437/view accessed 23 June 2023 [ Links ]
Stazi A Smart Contracts and Comparative Law: A Western Perspective (Springer Nature Cham 2021) [ Links ]
Stoop P "SMS and E-mail Contracts: Jafta v Ezemvelo KZN Wildlife" 2009 SA Merc LJ 110-125 [ Links ]
Van Deventer S "Problems Relating to the Formation of Online Contracts: A South African Perspective" 2021 SALJ 219-257 [ Links ]
Van Eck M "The Disruptive Force of Smart Contracts" in Doorsamy W, Paul B and Marwala T (eds) The Disruptive Fourth Industrial Revolution. Lecture Notes in Electrical Engineering (Springer Cham 2020) 21-45 [ Links ]
Van Eck M and Huneberg S "The Dismantling Force of Smart Contracts in South African Policyholder Protection" 2023 TSAR 521-532 [ Links ]
Van Eck M and Rosenberg W "The Fight for the Child in 'Smart' Surrogate Motherhood Agreements" 2023 TSAR 735-745 [ Links ]
Verstraete M "The Stakes of Smart Contracts" 2019 Loy U Chi LJ 743-796 [ Links ]
Werbach K and Cornell N "Contracts Ex Machina" 2017 Duke LJ 313-382 [ Links ]
Xu X, Weber I and Staples M Architecture for Blockchain Applications (Springer Nature Cham 2019) [ Links ]
Case law
South Africa
Aarifah Security Services CC v Jakoita Properties (Pty) Ltd 2021 5 SA 207 (GJ)
Borcherds v Duxbury 2021 1 SA 410 (ECP)
Brayton Carlswald (Pty) Ltd v Brews 2017 5 SA 498 (SCA)
De Bruin v Brink 1925 OPD 68
First National Bank Ltd v Avtjoglou 2000 1 SA 989 (C)
Global & Local Investments Advisors (Pty) Ltd v Fouché 2021 1 SA 371 (SCA)
Goldblatt v Fremantle 1920 AD 123
Jafta v Ezemvelo KZN Wildlife 2008 10 BLLR 954 (LC)
Minister of Justice and Constitutional Development v Myburgh 2018 39 ILJ 553 (LAC)
Spring Forest Trading CC v Wilberry (Pty) Ltd t/a Ecowash 2015 2 SA 118 (SCA)
Woods v Walters 1921 AD 303
United States of America
In Re Bibox Group Holdings Limited Secs Litig 534 F Supp 3d 326 - Dist Court, SD New York (2021)
Legislation
Canada
Digital Charter Implementation Act of 2022, Bill C-27
China
New Generation of Artificial Intelligence Development Plan Act 35 of 2017
Europe
Artificial Intelligence Act of 2021, 2021/0106(COD)
Proposal for a Regulation of the European Parliament and of the Council on Harmonised Rules on Fair Access to and Use of Data (Data Act) (COM/2022/68)
South Africa
Consumer Protection Act 68 of 2008
Electronic Communications and Transactions Act 25 of 2002
National Credit Act 34 of 2005
Protection of Personal Information Act 4 of 2013
United States of America
Algorithmic Accountability Act, 2022
Arizona Bill HB 2417 titled Signatures; Electronic Transactions; Blockchain Technology
Arkansas Code: Uniform Electronic Transactions Act, 2020
National Artificial Intelligence Initiative Act, 2020, HR 6216
Internet sources
Atkinson R 2020 The Role of Contract Law in Digitisation: Are Smart Contracts Regulated in South Africa? https://www.golegal.co.za/smart-contracts-digitisation/ accessed 23 June 2023 [ Links ]
European Law Institute 2023 Principles on Blockchain Technology, Smart Contracts and Consumer Protection: Report of the European Law Institute https://www.europeanlawinstitute.eu/fileadmin/user_upload/p_eli/Publications/ELI_Principles_on_Blockchain_Technology__Smart_Contracts_and_Consumer_Protection.pdf accessed 22 June 2024 [ Links ]
European Union 2019 Legal and Regulatory Framework of Blockchain and Smart Contracts: Report by EU Blockchain Observatory and Forum https://www.eublockchainforum.eu/sites/default/files/reports/report_legal_v1.0.pdf 7 September 2023 [ Links ]
European Union 2022 EU Blockchain and Observatory Forum Report (Smart Contracts) https://www.eublockchainforum.eu/sites/default/files/reports/SmartContractsReport_Final.pdf accessed 7 September 2023 [ Links ]
Norton Rose Fulbright 2019 Smart Contracts https://www.nortonrosefulbright.com/en-za/knowledge/publications/1bcdc200/smart-contracts accessed 23 June 2023 [ Links ]
Szabo N 2023 Smart Contracts: Building Blocks for Digital Markets https://www.fon.hum.uva.nl/rob/Courses/InformationInSpeech/CDROM/Literature/LOTwinterschool2006/szabo.best.vwh.net/smart_contracts_2.html accessed 7 April 2023 [ Links ]
United Kingdom Law Commission 2021 Smart Legal Contracts: Advice to Government. CP 563 https://s3-eu-west-2.amazonaws.com/cloud-platform-e218f50a4812967ba1215eaecede923f/uploads/sites/30/2021/11/Smart-legal-contracts-accessible.pdf accessed 19 June 2024 [ Links ]
World Bank Group 2017 Distributed Ledger Technology (DLT) and Blockchain: Fintech Note 1 https://documents1.worldbank.org/curated/en/177911513714062215/pdf/122140-WP-PUBLIC-Distributed-Ledger-Technology-and-Blockchain-Fintech-Notes.pdf accessed 7 September 2023 [ Links ]
List of Abbreviations
4IR fourth industrial revolution
CPA Consumer Protection Act 68 of 2008
DDA Draft Data Act
DLT distributed ledger technology
Duke LJ Duke Law Journal
ECTA Electronic Communications and Transactions Act 25 of 2002
EDI electronic data interchange
ELI European Law Institute
EU European Union
GLTR Georgetown Law Technology Review
Loy U Chi L J Loyola University Chicago Law Journal
POPIA Protection of Personal Information Act 4 of 2013
SALJ South African Law Journal
SA Merc LJ South African Mercantile Law Journal
NUJS Law Review National University of Juridical Sciences
(Kolkata) Law Review TSAR Tydskrif vir die Suid-Afrikaanse Reg
UK United Kingdom
US / USA United States of America
Date Submitted: 26 June 2023
Date Revised: 28 June 2024
Date Accepted: 28 June 2024
Date Published: 5 September 2024
Editor: Prof G Viljoen
Journal Editor: Prof W Erlank
* Michele van Eck. BCom (Law), LLB, LLM, LLD, BTh, BTh (Hons). Associate Professor of Private Law, University of Johannesburg, South Africa. Email: mmvaneck@uj.ac.za. ORCiD: https://orcid.org/0000-0001-5177-3503.
** Fafa Delight Agbeko. BMS(Hons), LLB, LLM. LLD Candidate, University of Johannesburg, South Africa. Email: fafadelight7@gmail.com. ORCID: https://orcid.org/0009-0004-9631-0341.
1 This is on condition that all the requirements for a valid contract are met, which includes consensus, contractual capacity, compliance with any relevant formalities, legality, the possibility of performance and certainty.
2 Van Deventer 2021 SALJ 221 refers to this as an "online contract", which is effectively the presentation of the contractual terms in an electronic format. Typical examples of such online contracts can be found on websites, emails and WhatsApp communication. In this regard see Jafta v Ezemvelo KZN Wildlife 2008 10 BLLR 954 (LC) and Stoop 2009 SA Merc LJ. Also see Verstraete 2019 Loy U Chi LJ 751.
3 Werbach and Cornell 2017 Duke LJ 321.
4 Werbach and Cornell 2017 Duke LJ 321.
5 See Pistorius 2004 SA Merc LJ; Van Deventer 2021 SALJ 223.
6 See, for example, ss 12 and 13 of the Electronic Communications and Transactions Act 25 of 2002; Spring Forest Trading CC v Wilberry (Pty) Ltd t/a Ecowash 2015 2 SA 118 (SCA); Borcherds v Duxbury 2021 1 SA 410 (ECP); Aarifah Security Services CC v Jakoita Properties (Pty) Ltd 2021 5 SA 207 (GJ); Global & Local Investments Advisors (Pty) Ltd v Fouché 2021 1 SA 371 (SCA). The purpose of this article is not to consider the issues of formalities in contracts, such as the issue of signature and writing, but only that of the recognition of smart contracts in the South African legislative and regulatory framework.
7 Werbach and Cornell 2017 Duke LJ 321.
8 Werbach and Cornell 2017 Duke LJ 321; Verstraete 2019 Loy U Chi LJ 752-753.
9 Verstraete 2019 Loy U Chi LJ 753.
10 Werbach and Cornell 2017 Duke LJ 321-322; Verstraete 2019 Loy U Chi LJ 753.
11 Werbach and Cornell 2017 Duke LJ 320-321, who uses the examples of electronic data exchange and e-commerce platforms to illustrate this point. Also see Raskin 2017 GLTR 320-321.
12 Ryder, Griffiths and Singh Commercial Law Principles 71.
13 Werbach and Cornell 2017 Duke LJ 322-323.
14 This may also be referred to as "end-to-end" contracting; see Norton Rose Fulbright 2019 https://www.nortonrosefulbright.com/en-za/knowledge/publications/1 bcdc200/smart-contracts.
15 Szabo 2023 https://www.fon.hum.uva.nl/rob/Courses/InformationInSpeech/CDROM/Literature/LOTwinterschool2006/szabo.best.vwh.net/smart_contracts_2.html. Also referred to as "intelligent contracts"; see Juhasz 2020 Acta Universitatis Sapientiae 69.
16 Verstraete 2019 Loy U Chi LJ 750 notes that "[s]mart contracts represent the most recent instance of digital technology remaking contract law".
17 Also see Werbach and Cornell 2017 Duke LJ 317, who describe the smart contract as the evolution of the electronic contract.
18 Electronic Communications and Transactions Act 25 of 2002 (ECTA).
19 Save for Brownsword 2021 Acta Juridica and Van Eck "Disruptive Force of Smart Contracts" most of the material was of a non-academic nature, such as Seema 2021 Without Prejudice^ Norton Rose Fulbright 2019 https://www.nortonrosefulbright.com/en-za/knowledge/publications/1bcdc200/smart-contracts; Atkinson 2020 https://www.golegal.co.za/smart-contracts-digitisation/.
20 See, for example, Van Eck and Huneberg 2023 TSAR.
21 See, for example, Van Eck and Rosenberg 2023 TSAR.
22 Verstraete 2019 Loy U Chi LJ 766 argues that smart contracts are not only the next step in the technological development of contracting but also represent a "distinctively new system for coordinating [contractual] activit[ies] between individuals."
23 UK Law Commission 2021 https://s3-eu-west-2.amazonaws.com/cloud-platform-e218f50a4812967ba1215eaecede923f/uploads/sites/30/2021/11/Smart-legal-contracts-accessible.pdf (hereafter UK Law Commission Smart Legal Contracts) 2223 describes three conceptual forms of smart contracts, being those contracts traditionally written and reflected in natural language, in which some or all of the terms of the contract are automatically executed; the second relates to a hybrid contract where some of the contract is written in natural language and some of it is reflected in coded language; and finally a fully coded contract can occur where all the terms are recorded in code. Different US states provide different definitions, and the EU Draft Data Act (Proposal for a Regulation of the European Parliament and of the Council on Harmonised Rules on Fair Access to and Use of Data (Data Act) (COM/2022/68)) (the DDA) also defines smart contracts as "computer programs on electronic ledgers that execute and settle transactions based on predetermined conditions."
24 Szabo 2023 https://www.fon.hum.uva.nl/rob/Courses/InformationInSpeech/CDROM/Literature/LOTwinterschool2006/szabo.best.vwh.net/smart_contracts_2.html.
25 See Stazi Smart Contracts and Comparative Law 72. Verstraete 2019 Loy U Chi LJ 755 argues that the smart contract is also "self-enforcing" as it attempts to regulate contractual matters between parties and works outside the private law system. This argument appears to be conceptually flawed and somewhat outdated as the DDA has clearly limited such independence and has introduced standards and norms to regulate smart contracts in Europe.
26 UK Law Commission Smart Legal Contracts vii.
27 UK Law Commission Smart Legal Contracts 11-12.
28 UK Law Commission Smart Legal Contracts 1, 12.
29 UK Law Commission Smart Legal Contracts 12. Also see Schmidt-Kessen, Eenmaa and Mitre 2022 Computer Law and Security Review 2-3.
30 UK Law Commission Smart Legal Contracts 12.
31 Werbach and Cornell 2017 Duke LJ 321-322.
32 See Xu, Weber and Staples Architecture for Blockchain Applications 7-8; Imran Mastering Blockchain 28.
33 Xu, Weber and Staples Architecture for Blockchain Applications 7-8; also see Bourque and Tsui 2014 Scientia Nobilitat Reviewed Legal Studies 5.
34 See EU 2019 https://www.eublockchainforum.eu/sites/default/files/reports/report_legal_v1.0.pdf 5 -7.
35 Bacon et al 2018 Richmond Journal of Law and Technology 5-6.
36 World Bank Group 2017 https://documents1 .worldbank.org/curated/en/177911513714062215/pdf/122140-WP-PUBLIC-Distributed-Ledger-Technology-and-Blockchain-Fintech-Notes.pdf.
37 Imran Mastering Blockchain 16.
38 Imran Mastering Blockchain 17.
39 Bacon et al 2018 Richmond Journal of Law and Technology 9.
40 Imran Mastering Blockchain 103.
41 Bacon et al 2018 Richmond Journal of Law and Technology 9.
42 Bacon et al 2018 Richmond Journal of Law and Technology 10-11.
43 Imran Mastering Blockchain 17.
44 According to Xu, Weber and Staples Architecture for Blockchain Applications 7-8 and Imran Mastering Blockchain 28, some of the emerging blockchain systems that enable the use of smart contracts include Ethereum and Multichain.
45 Xu, Weber and Staples Architecture for Blockchain Applications 7-8 and Imran Mastering Blockchain 28.
46 Savelyev 2017 Information and Communications Technology Law 117.
47 Werbach and Cornell 2017 Duke LJ 326.
48 Werbach and Cornell 2017 Duke LJ 326-327.
49 Werbach and Cornell 2017 Duke LJ 326-327.
50 UK Law Commission Smart Legal Contracts 14.
51 UK Law Commission Smart Legal Contracts 14-15.
52 Pandey and Raghunath 2020 NUJS Law Review 6.
53 Ethereum is an example of a blockchain platform that enables the use of smart contracts by enabling the smart contracts to be stored therein and executed as part of the transactions on the blockchain. Also see Verstraete 2019 Loy U Chi LJ 760761.
54 Also see Werbach and Cornell 2017 Duke LJ 330.
55 Article 2(16) of the DDA.
56 UK Law Commission Smart Legal Contracts 16.
57 Pandey and Raghunath 2020 NUJS Law Review 6, meaning that such contracts cannot be changed or amended after their creation. Also see Seema 2021 Without Prejudice.
58 See Stazi Smart Contracts and Comparative Law 72. In this regard, blockchain technology's unique characteristics are that it securely stores information, it verifies information and executes instructions and performance in an autonomous manner. See Seema 2021 Without Prejudice.
59 Article 80 of the Preamble to the DDA.
60 Article 86 of the Preamble to the DDA. According to Art 2(19), the term "interoperability" is described as being "the ability of two or more data spaces or communication networks, systems, products, applications or components to exchange and use data in order to perform their functions."
61 Article 30(1) of the DDA.
62 Article 30(1)(a) of the DDA.
63 Article 30(1)(b) of the DDA.
64 Article 30(1)(c) of the DDA.
65 Article 30(1)(c) of the DDA.
66 Article 30(1)(d) of the DDA.
67 Article 30(1)(d) of the DDA.
68 Article 30(2)-(3) of the DDA.
69 See Principle 2(a)(3) of the ELI 2023 https://www.europeanlawinstitute.eu/fileadmin/user_upload/p_eli/Publications/ELI_Principles_on_Blockchain_Technology_Smart_Contracts_and_Consumer_Protection.pdf (ELI Principles), which provides that: "a smart contract can be a legally binding declaration of will, such as an offer or acceptance or constitute a legal agreement itself" and Principle 5 - legal nature of transactions on a blockchain, which provides that "[t]he triggering of transactions, or of elements of transactions, performed on a blockchain may amount to an offer, acceptance or any other contractual declaration where, depending on the specific nature of the smart contract, such triggering can reasonably be understood as a declaration of will and is attributable to the relevant party." Also see UK Law Commission Smart Legal Contracts 40-48, which extensively analyses the applicability of the traditional formation requirements to smart contracts; the commission reaches the conclusion that automated transactions by code both on-chain and off-chain may suffice as legally binding declarations of will, sufficient to constitute both offer and acceptance for the purposes of reaching a contractual agreement.
70 Arkansas Code: Uniform Electronic Transactions Act, 2020 § 25-32-122 provides that a smart contract may be used for negotiating a contract.
71 Article 5(c) of the Arizona Bill HB 2417 titled Signatures; Electronic Transactions; Blockchain Technology.
72 Goldblatt v Fremantle 1920 AD 123.
73 Goldblatt v Fremantle 1920 AD 123, 128.
74 Goldblatt v Fremantle 1920 AD 123, 128.
75 De Bruin v Brink 1925 OPD 68.
76 Goldblatt v Fremantle 1920 AD 123, 129. Also see Woods v Walters 1921 AD 303, 304, which notes that a contract is not subject to being recorded in writing unless the parties expressly agreed to such a condition. Also see First National Bank Ltd v Avtjoglou 2000 1 SA 989 (C); Minister of Justice and Constitutional Development v Myburgh 2018 39 ILJ 553 (LAC) and Brayton Carlswald (Pty) Ltd v Brews 2017 5 SA 498 (SCA).
77 UK Law Commission Smart Legal Contracts 22-24; ELI Principle 2; also see EU 2022 https://www.eublockchainforum.eu/sites/default/files/reports/SmartContractsReport_Final.pdf.
78 See the Preamble of the ECTA.
79 Section 11 (1)-(2) of the ECTA. Also see s 22(1), which notes that "[a]n agreement is not without legal force and effect merely because it was concluded partly or in whole by means of data messages."
80 Section 1 of the ECTA.
81 Section 1 of the ECTA.
82 Erlank and Ramokanate 2016 SA Merc LJ 205.
83 Erlank and Ramokanate 2016 SA Merc LJ 205.
84 See Erlank and Ramokanate 2016 SA Merc LJ 206-207.
85 Erlank and Ramokanate 2016 SA Merc LJ 206.
86 Section 20 of the ECTA.
87 Erlank and Ramokanate 2016 SA Merc LJ 204.
88 Erlank and Ramokanate 2016 SA Merc LJ 205; such autonomous agents are considered to be "passive" in nature.
89 Section 20(b) of the ECTA.
90 Section 20(d) of the ECTA.
91 Some have argued that with smart contracts the code becomes the contract, but s 20(d) of the ECTA removes this possibility as the code must be reflected in natural language structures. Also see, for example, Norton Rose Fulbright 2019 https://www.nortonrosefulbright.com/en-za/knowledge/publications/1bcdc200/smart-contracts.
92 Section 20(e) of the ECTA.
93 See the Consumer Protection Act 68 of 2008 (CPA).
94 See s 5 of the CPA.
95 National Credit Act 34 of 2005.
96 UK Law Commission Smart Legal Contracts 158-162.
97 UK Law Commission Smart Legal Contracts 158-162.
98 A fixed-term contract has been described as a special type of agreement under the CPA; see Naudé and Eiselen Commentary on the Consumer Protection Act 14-3.
99 Section 14(2)(b)(1)(aa) of the CPA.
100 Section 14(2)(b)(1)(bb) of the CPA. This right applies only to consumers that are natural persons; see Naudé and Eiselen Commentary on the Consumer Protection Act 14-5.
101 See ss 14(3) and 17(4)-5 of the CPA.
102 Such contracts are described as being unstoppable due to the use of blockchain technology. See Norton Rose Fulbright 2019 https://www.nortonrosefulbright.com/en-a/knowledge/publications/1bcdc200/smart-contracts.
103 Section 4(5) of the CPA.
104 Normally a contract would include some personal information such as the contracting parties' names and surnames, their ID numbers (or passport numbers) and details of their domicilium addresses, which may include a physical or postal address, email address or other contact information. Such information may very well fall within the ambit of "personal information" in s 1 of the Protection of Personal Information Act 4 of 2013 (POPIA).
105 Also see Werbach and Cornell 2017 Duke LJ 318.
106 See Stazi Smart Contracts and Comparative Law 4.
107 In the New York case of In Re Bibox Group Holdings Limited Secs Litig 534 F Supp 3d 326 - Dist Court, SD New York (2021) 330, which has described it as follows "[a smart contract] essentially functions as an automated, secure digital escrow account. A smart contract allows the parties to define the terms of their contract and submit the crypto-assets contemplated in the contract to a secure destination. The smart contract then automatically distributes the crypto-assets to the appropriate party upon the satisfaction of the relevant conditions precedent defined in the smart contract."
108 Werbach and Cornell 2017 Duke LJ 322.
109 Erlank and Ramokanate 2016 SA Merc LJ 213-214.
110 In addition to the DDA, internationally there are several draft legislative instruments that have considered emerging technologies related to artificial intelligence, such as, in Europe the Artificial Intelligence Act of 2021, 2021/0106(COD), in Canada the Digital Charter Implementation Act of 2022, Bill C-27, in the USA the National Artificial Intelligence Initiative Act, 2020, HR 6216 and Algorithmic Accountability Act, 2022 as well as in China the New Generation of Artificial Intelligence Development Plan Act 35 of 2017.