What is a smart contract?
Smart contract (English contract) is a computer algorithm designed to conclude and maintain self-executing contracts performed in a blocking environment. Such contracts are written in the form of code that exists in a distributed registry - a block that is maintained and managed by a network of computers. In simple words, clever contracts allow you to exchange assets without resorting to the services of intermediaries.
What is the chip of smart contracts?
Smart contracts enable you to perform reliable and confidential transactions without the involvement of external intermediaries in the face of banks or government agencies. In addition, such transactions are traceable, transparent and irreversible. Smart contracts not only contain information about the obligations of the parties and sanctions for their violation, but they automatically ensure the fulfillment of all the terms of the contract.
How did the smart contracts come about?
The first ideas of smart contracts were proposed in 1994 by Nick Szabo. He described the smart contract as a computer protocol, which, on the basis of mathematical algorithms, independently conducts transactions with full control over their implementation. For the first time, Sabo's ideas were put into practice together with the emergence of the first crypto currency, bitcoin and the underlying technology of blockade. Some principles of smart contracts were laid down in the protocol of bitcoin. However, most modern blockboys, including bitcoins, do not have Turing completeness, so their "contracts" are relatively simple constructions, such as multi-signature or deferred execution transactions. A wide practical application of smart contracts was with the appearance and development of the project Ethereum. In 2013, its future founder Vitalik Buterin came to the conclusion that bitcoin is poorly suited as a basic protocol for smart contracts, since it was not originally designed for this task. Subsequently, Buterin decided to create from scratch the most suitable protocol for smart contracts.
How does the smart contract work and what are its mandatory elements?
Usually a smart contract is written to the block, where all its logic is placed in the software container - the block. The latter combines all messages related to a particular smart contract. Messages can act as inputs and outputs to the smart contract code and lead to actions outside the locker, in the real or digital world. Mandatory attributes of a smart contract: use of electronic signature methods based on public and private keys available to two or more parties to the agreement; the presence of a private decentralized environment (for example, Ethereum), in which smart contracts are recorded and which supports inputs and outputs for oracles that connect the real and digital world; the subject matter of the contract and the availability of instruments necessary for its execution (crypto-currency settlement accounts, oracle programs, etc.); precisely described conditions for its execution, which the parties to the treaty confirm with a signature, as well as the reliability of the source of digital data.
What are the smart contracts?
Depending on the degree of automation, smart contracts can be: Fully automated. With a copy on paper. Predominantly on paper, with some provisions transferred to the program code (for example, when only payments are automated). Solutions based on the blockbuster are only at an early stage of development. Technologies are being tested and developed, so in practice, for the time being, really complex smart contracts are not being used. To date, the vast majority of smart contracts are of the third type, where only certain aspects of agreements are automated, in particular, the exchange of funds for property rights. Example: a purchase using a smart contract apartment in Kiev through a decentralized marketplace Propy (payment was conducted in Ethereum, and the seller was territorially located in New York).
Where else can smart contracts be used?
Potential opportunities and areas of use of smart contracts are extensive - from simple multi-signature to transactions with derivative financial instruments. Multisign (multisig, escrow) is the simplest, classic example of a smart contract. With its help, counterparties who do not trust each other can freeze a certain amount of coins in the blockroom in such a way that, if necessary, to spend this amount, signatures of more than half of the participants will be required. Smart contracts are widely used in the field of primary distribution of coins (ICO). For example, a smart contract can be programmed in such a way that by sending crypto currency to the purse of the project, the members of the crowdsdale will be sure that in the event of a campaign failure their funds will be automatically returned; If the ICO's financial goal is achieved, the funds will be transferred to the developers. However, this will be done provided that a sufficient number of participants in the multi-signature (if it is provided for) activate their keys, thereby personally confirming the conscientiousness of the project. To the most promising areas of application of smart contracts, many experts refer to the financial market (banking services, insurance, derivatives trading), accounting and audit, supply chain management and logistics, registration of property rights, all kinds of voting, smart transport, digital identity, etc.
What are the advantages of smart contracts in comparison with traditional contracts?
Supporters of smart contracts are convinced that many types of contractual relations can be partially or completely self-executing. Underlying smart contracts, cryptography provides a higher level of security than traditional contracts based on law. Smart contracts can reduce transaction costs, as well as exclude the risks of ambiguous interpretations of conditions or unfair judgments of courts. Thus, among the main advantages of smart contracts can be identified: autonomy (to conclude and confirm the transaction, you do not need to look for an intermediary in the person of a broker, bank, notary, etc.); reliability and security (a multiple-duplicated contract is stored in an encrypted form in the locker, the security of the system is guaranteed by mathematical laws and makes hacker attacks unlikely, as well as substituting information backdating); saving and speed - thanks to the blockbuster many intermediaries are eliminated and processes are automatized; Accuracy - due to automation and minimization of manual work, the probability of errors that often appear when filling out forms during the reconciliation process and when manually performing various operations under the contract is reduced.
Do smart contracts have flaws?
Clever contracts are far from perfect: the block-infrastructure is still underdeveloped and there are critical errors in the code itself. In addition, there are still many gaps in the legal regulation of smart contracts, the oracle programs that are designed to ensure the binding of the digital world to the real world and provide the input data for their execution are not developed. All this creates certain obstacles for the integration of smart contracts into the daily activities of organizations and individuals. In some cases, smart contracts are less flexible than conventional contracts. Information flowing into
the block can not be changed in the future, so it is extremely important to observe the accuracy and reliability of the original information, as well as to avoid mistakes in data entry. In addition, many banks and large corporations are not able to exchange confidential data through open distributed registries. Also, the problems of scaling and transaction processing speed are still relevant. The solution to these and other problems and constraints is directed by the forces of many developers, and within the various platforms they are solved in different ways. Progress does not stand still, and in the future many issues and problems will be solved, and economic agents will completely switch from traditional contracts to their digital implementation and even to their implementation with the support of artificial intelligence.
Why is there such a sensation around the blockade?
Blockblade is often compared to the Internet because of its ability to change the world. Now people need to keep a huge staff of lawyers, notaries, regulators, bankers and other bureaucrats in order to certify and confirm events, for example, paying salaries or selling an apartment. The technology of blocking is able to perform all of their work completely automatically, thereby eliminating the very need for intermediaries.
And where is the blockade used now?
The technology of blocking is used practically in any crypto currency, ensuring its work. Also, the block system is being actively introduced into banking systems, property rights registration systems and various state registries in several countries around the world. In Tunisia, a digital version of the national currency was transferred to the blockade.
What is the difference between an open detachment from a private one?
Open block is accessible to everyone, and private - only to the elite. There can be a lot of different blockages, some of which are open, and others are closed. They can not interact for the time being, since in each block-room it is possible to implement their own rules of operation, and the rules of one blockage can directly contradict the rules of the other.
How can I get multiple brothels to interact?
To solve this problem, a variety of options are offered. The most popular of them - the so-called sidechains (side chains, "side chains") - special detachments, which are needed only to connect one blockage with another, bypassing the possible contradiction between their rules