*Blockchain-Enabled Smart Legal Contracts DOI: http://dx.doi.org/10.5772/intechopen.109041*

output (the chocolate bar) on the occurrence of input (the correct payment). A smart contract is, therefore, a computer program that contains certain inputs and executes a set of instructions to come to one of many pre-determined outcomes upon the occurrence of a triggering event. It is a computer program that defines obligations between parties, and it runs on a blockchain. Since then, whilst the definition of a smart contract has been refined, many debates have been on whether the smart contract is a breakthrough discovery or a mere fantasy. Amongst these discussions, the terms, smart contract and smart legal contract, are now defined by the Law Commission of England and Wales (the "Law Commission") [14]. The smart contract is defined as "Computer code that, upon the occurrence of a specified condition or conditions, is capable of running automatically according to pre-specified functions". Whereas the smart legal contract is defined as "a legally binding contract in which some or all of the contractual terms are defined in and/or performed automatically by a computer program."
