Skip to main content

How do Ethereum smart contracts work?



Like many ideas of the blockbuster industry, the work of smart contracts often raises many questions.
To explain to a person what a smart contract is difficult enough because the definition of a smart contract is very different from the standard understanding of the word contract. In the usual contract, as a rule, the conditions of mutual relations of both parties are stated, while the smart contract is carried out through the cryptographic code.

The idea of ​​a smart contract, described by the programmer and cryptographer Nick Szabo in 1993, was a kind of vending machine. In his example, he described how users can enter values ​​and get the corresponding final code. A simple example of the work of the smart contract at the moment: users of Ethereum can send 10 units of crypto currency to another user through a smart contract using a contract with the appropriate code.

Ethereum is a platform created specifically to create smart contracts. Nevertheless, the technology can be used on other platforms. It should be noted that bitcoin was the first to support the basis of smart contracts in the sense that the network can transfer currency from one person to another.

How smart contracts work
A smart contract contains electronic offers that initiate processes in accordance with the contract condition. A transaction block is a database that is systematically checked by contractors. A smart contract is an automated mechanism of work: compliance with a specific condition X causes a corresponding commitment to Y. The obligation can be caused by a variety of conditions: the occurrence of an event, the expiration of a certain time, etc.

A vending machine can be a vivid example of how an automated work is carried out on which a smart contract is based: when the buyer contributes the necessary amount of money (condition X), the machine immediately transfers the chocolate to the owner (commitment Y). Smart contracts allow you to manage digital rights for real assets.

With blockchain technology, there is no need to physically store the goods until the condition is satisfied. Instead, the block chain stores a multi-page record of the transfer of ownership.

Advantages of Smart Contracts
Smart contracts provide the contracting parties with the clarity of the terms of the contract. The contract terms are written in the code and are available to both parties via an agreed data source.

Contracting parties can "view" and "track" the status of the contract. This can lead to the fact that contracts will be treated as their own "web page", increasing the transparency of transactions of both parties.

Comments

Popular posts from this blog

Streamity ICO Overview

The popularity of bitcoins and other crypto currency is constantly increasing due to the past two years. Sales sizes, number of traders, capital investments and marketing announcements for crypto-currencies are additionally increased simultaneously with the popularity of crypto-deneng. With the development of this cryptogram, this amount can be obtained within 2-3 years on the cryptographic market. For this reason, it is likely that we will soon live with the new realization that the cryptographic exchange market has become the dominant world market. Reducing the flow of cryptography. Investors in recent days, the most common question about cryptopara'larla-fiat, that is, how to make the transition between real money in a safe and fast way. In this respect, there are solutions. The most popular are the popular centralized sites of cryptresources and debit cards that support crypt money. Here are the disadvantages of these affordable solutions: Very high commission and transac...

Mining of crypto-currency on the GPU - pools or solos?

In mining, crypto-currency on GPU video cards has two directions for extraction - pools or solos. The choice of one of them directly depends on the capacity of your equipment, the selected coin and its current network characteristics. Solo Mining on GPU (Solo mining) With this method of extraction, only the power of your equipment is used. Solo mining will be beneficial in the event that your capacity is comparable to the total capacity of the network of a particular coin. The point of this extraction is that you are trying to find a unit alone on your equipment, for which you will then receive a reward in the form of a certain number of coins. This type of mining can be compared with a roulette, as it will require some luck. The more power you have, the more likely it is to find a block. Let's try to calculate the approximate income from solo mining when mining the Zencash crypto currency (ZEN): Block time 2 min. 29 seconds Number of blocks found ...

EQUI ICO - project overview | Venture investments

Probably everyone has ever thought about investing. Some wanted to invest in their own business, many invested in crypto-currencies, and many also invested in ICO. The EQUI ICO project will help you to conduct venture investments much more conveniently and more safely. If you do not know what a venture investment is, here is the definition. Venture investments are investments designed to finance new (so-called start-ups) or growing companies, whose activities involve a high or relatively high risk. Features of ICO EQUI  Initial Coin Offering EQUI is divided into two stages. From March 1 to March 8, 2018, pre-sale of EQUI tokens will take place. The main round of attracting investments starts on March 8 and will end on March 31.  The emission of the EQUI crypto currency will be 250 million units. The cost of one token during the ICO is $ 0.5. The minimum investment is $ 100 (200 tokens), Pre-Sale participants must invest at least $ 100,000 in the project.  For...