Smart contract ( eng. Smart contract - smart contract) - a computer algorithm designed to generate, control and provide information about ownership of something. Most often we are talking about the use of blockchain technology . In a narrower sense, a smart contract is a set of functions and data (current state) located at a specific address in the blockchain [1] .
The first country to legislate smart contracts was Belarus . [2]
Content
Principle of Operation
The parties sign a smart contract using methods similar to signing the sending of funds in existing cryptocurrency networks. After signing by the parties, the contract takes effect. To ensure the automated fulfillment of contractual obligations, an environment of existence is required, which allows to fully automate the implementation of contract clauses. This means that smart contracts can only exist inside an environment with unhindered access of executable code to objects of a smart contract. All conditions of the contract should have a mathematical description and a clear logic of execution. In this regard, the first smart contracts have the task of formalizing the simplest relationships, consisting of a small number of conditions. Having unhindered access to the objects of the contract, the smart contract monitors the achievement or violation of points according to the specified conditions and makes independent decisions based on the programmed conditions. Thus, the basic principle of a smart contract is the complete automation and reliability of the execution of contractual relations. [3]
History
The first ideas for smart contracts were proposed by Nick Szabo [4] . Practical implementations became possible due to the advent of blockchain technology in 2008 [5] . Some principles of smart contracts were laid down already in the first Bitcoin protocol , but they were not implemented in client software, did not have Turing completeness for security reasons, and were not widely used in practice. With the advent of technology, ideas began to be expressed that various protocols of a higher level could be created on top of the Bitcoin protocol, including full-fledged smart contracts [6] , similar to how many application-level protocols exist on top of TCP / IP .
Smart contracts were first widely adopted with the advent of Ethereum . The idea of creating a project appeared in 2013. At that moment, the founder of Bitcoin Magazine Vitalik Buterin came to the conclusion that blockchain technology can be used much more widely, not only in cryptocurrencies. He put forward the idea of a universal decentralized blockchain platform in which anyone can programmatically implement different systems for storing and processing information. The main condition is that actions should be described as mathematical rules [7] .
Smart Contract Objects
- Signatories are parties to a smart contract that accept or decline terms using electronic signatures . A direct analogue is the signature of the sender of funds on the Bitcoin network, which confirms the introduction of a transaction in a block chain.
- Subject of the contract . The subject of the contract can only be an object that is inside the environment of the existence of the smart contract itself, or the unhindered, direct access of the smart contract to the subject of the contract without human participation should be provided.
- Conditions . The conditions of a smart contract should have a full mathematical description that can be programmed in the environment of the existence of a smart contract. It is in the conditions that the logic of the execution of clauses of the subject of the contract is described.
- Decentralized platform . For distributed storage of a smart contract, it is necessary to record it on the Blockchain of this platform. [eight]
Smart Contracting Environment
In order for smart contracts to exist, certain conditions are required:
- Using widespread methods of electronic signature based on public and private keys ( asymmetric encryption ).
- Existence of open, decentralized and contracting parties to the contract database for executable transactions, the operation of which completely eliminates the human factor. As an example: blockchain in Bitcoin .
- Decentralization of the smart contract execution environment. As an example: Ethereum , Codius , Counterparty .
- Reliability of the source of digital data. As an example: SSL root certification authorities in the databases of modern Internet browsers. [9]
Examples
- By analogy with the IPO, the initial blockchain placement (ICO English initial coin offerings ) is introduced - a crowdfunding method for organizing startups . Based on the published memorandum, investors send funds to the account of the corresponding smart contract, receiving in exchange banknotes playing the role of shares of this startup. As of August 2017, the volume of investments in ICOs is $ 550 million [10] .
- There is an idea to create a decentralized, Ethereum-based product similar to Facebook, where users will have full control over their personal pages, which will give them the opportunity to receive advertising revenue themselves, instead of any company.
- The ability to create a securities market without the participation of a stock exchange or a clearing center. Neither the services of lawyers nor the platforms for voting, polls protected from unauthorized access, without the need to count votes, without the processing of ballots by the electoral body and without the participation of a sociological center are needed to implement the contracts.
| The first large and promising area of blockchain development is financial. This is cryptocurrency, and smart contracts, and state registries. For example, now it takes several weeks to sell a house, and this may take only 3 minutes. |
Vitalik Buterin , Moscow , August 30, 2017 [11]
Perspectives
Supporters of smart contracts claim [ who? ] that many of their species can be made partially or fully self-fulfilling and self-sufficient. Smart cryptography- based contracts are able to provide better security than traditional law-based contracts and reduce other transaction costs associated with concluding contracts and possible legal costs.
According to the British magazine The Economist, smart contracts have the prospect of becoming the most important application of blockchain technology [10] .
Smart contracts can be given legal significance in accordance with state laws. For this, smart contracts should contain the conditions and restrictions established by the legislation of the state [12] .
Belarus became the first country in the world to legislate smart contracts on December 21, 2017 in accordance with the Decree on the Development of the Digital Economy . [2] [13] The developer of the legal concept of the smart contract was a Belarusian lawyer Denis Aleinikov [14] [15] . The country plans to allow banks to enter into smart contracts. [16] [17]
Weaknesses
Observers have expressed concern that the proliferation of automated contract support technologies could weaken existing social institutions that humanity has created over many generations. In addition, such technologies can lead to the disappearance of a large number of administrative jobs, just as robotization has led to the disappearance of jobs in the industry [10] . This applies, in particular, to notaries, bank employees, as well as to clerks involved in the registration of real estate transactions [18] .
The negligence of developers can lead to malicious use of smart contracts, as the story of the leak of more than three million Ethereum coins from The DAO project showed [19] .
Notes
- ↑ Introduction to Smart Contracts
- ↑ 1 2 [1]
- ↑ Smart Contracts, Explained
- ↑ Bitcoin is not just digital currency. It's Napster for finance. . Fortune (January 21, 2014). Date of treatment November 19, 2018.
- ↑ http://bitcoin.org/bitcoin.pdf
- ↑ RSK
- ↑ Ethereum creator Vitalik Buterin: “Blockchain will help eradicate corruption”
- ↑ Smart contracts, explanations
- ↑ Smart contracts: how to use and how reliable they are for transactions
- ↑ 1 2 3 “If blockchains ran the world” , The Economist, 6 July, 2017
- ↑ Vitalik Buterin: “Putin knows what blockchain is - this is hype”
- ↑ You won’t throw words out of the blockchain: how will it change Ukraine and why the experience of other countries is no longer suitable for us (Ukrainian) . businessviews.com.ua. Date of appeal April 9, 2018.
- ↑ Belarus has completely settled the crypt. What, to whom and how now it is possible in 8 points. + List of all documents . dev.by. Date of treatment February 6, 2019.
- ↑ Denis Aleinikov: Belarus may legalize a smart contract first in the world . Office Life (November 12, 2017). Date of treatment February 6, 2019.
- ↑ Belarus introduced a unique legal regime for participants in the cryptoeconomics Neopr . Deloitte CIS (December 27, 2017). Date of treatment February 6, 2019.
- ↑ [2]
- ↑ Lawyers see problems with the implementation of smart contracts. Developer: "Belarus is always considered the opinion of Belarus" . TUT.BY (November 16, 2018). Date of treatment February 6, 2019.
- ↑ Professional of the Year - the creator of the Ethereum cryptocurrency Vitalik Buterin of Vedomosti , 12/28/2017
- ↑ DAO Lessons: Where Dreams May Come | ForkLog (Russian) (unopened) ? . forklog.com. Date of appeal April 9, 2018.
Links
- Smart Contracts (Fourth Value Revolution) - Nick Szabo article, 1998 Computerra .
- The idea of smart contracts
- “Late on payments? Device won't let car engine start. ”