What are smart contracts?

What are smart contracts

Smart contracts are a type of electronic contract used not only in blockchain technology, but also in everyday life, for example by banks. What makes them so useful and popular? Firstly, the biggest advantage of smart contracts is that there is no so-called “third party”, i.e. a person or institution that will take care of the mutual obligations of the two parties entering into the transaction. Second, smart contracts are very simple to use. They work on the principle of “if A, then B”. The two transacting parties exchange certain goods or services; if the conditions set by the parties involved are met, those goods or services are automatically exchanged. 

Example of a smart contract

An example from everyday life can be buying tickets to the theater. When buying tickets on the website of an intermediary, we have to put our trust in him. Paying money we will expect that in some time we will be sent tickets for the play. If we buy theater tickets using a smart contract, the exchange would happen instantly: we as customers would deposit the appropriate amount of money, while the bank as the other party to the transaction would immediately send us tickets in return.

Smart contracts and Ethereum (ETH)

Smart contracts are one of the most important features of the popular blockchain-based digital platform Ethereum. Ethereum itself is not a cryptocurrency. It is a decentralized platform on which any decentralized application can run. The currency that users of the Ethereum platform use is Ether (ETH). The platform itself has been adapted to run so-called smart contracts. In Ethereum, these contracts are created using the Solidity language, which is similar to JavaScript in composition.

Attack on “The DAO”

When talking about Ethereum in the context of smart contracts, one cannot help but mention the attack on “The DAO”, an unprecedented fund based on blockchain technology and smart contracts precisely. In 2016, there was an attack that exploited a vulnerability in the code unnoticed by the developers of the Ethereum platform. Thanks to this, criminals managed to take the equivalent of $50 million in ETH cryptocurrency. The consequence of the attack was the creation of a “Dark DAO” in which the stolen ETH coins were placed. “Dark DAO” is nothing more than a clone of “The DAO.” It has identical functionalities as its prototype, including a creation period of 27 days, during which you cannot withdraw the deposited funds.

Advantages of smart contracts

Smart contracts, like all other types of contracts, have both advantages and disadvantages. One of the main advantages, which we mentioned in the previous paragraph, is the elimination of intermediaries when entering into a contract. This makes the whole process of contracting with the other party cheaper and, above all, simpler. Smart contracts solve once and for all the problem of extensive paper documentation for a given contract. And you do not have to worry about engaging, for example, a lawyer or real estate agent. Another important, if not the most important advantage of using smart contracts is the security they provide. When using smart contracts, you don’t need to have the so-called “credit of trust” with the other party, because the moment the terms of the transaction are met, it is executed automatically. They are also secure because they are based on blockchain technology. A given smart contract exists as long as a given chain exists, and since blockchain technology applications are decentralized, smart contracts are immune to server outages.

DisclaimerBlockbulletin does not take accountability of investments based on the information of the website. We highly advice readers to make extensive research prior to any invest

Share this post

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email

More Guides

What is Avalanche (AVAX)?

Avalanche (AVAX) is a blockchain, which conquers the hearts of programmers and at the same time is a great bargain…

What is Sandbox (SAND)?

In this material, we take a look at one of the fastest growing spaces in the metaverse family. We are…
All articles loaded
No more articles to load

Latest News

What lies ahead for Cardano in 2022

What lies ahead for Cardano in 2022?

Charles Hoskinson, the creator of Cardano, shared what lays ahead for the smart contract ecosystem during one of his regular appearances on YouTube. So what is in…

Crypto trends that may occur in 2022

The beginning of a new year is a time of speculation about the future of the cryptocurrency market. The trends in 2021 were pretty clear, but will…
All articles loaded
No more articles to load


Bitcoin Price on a Larger Scale

Bitcoin Price on a Larger Scale

Short-term analysis can often make you shudder. Daily news, both positive and negative, puts the Bitcoin price in dynamic upward as well as downward movements.…
All articles loaded
No more articles to load

Knowledge Base

What is Avalanche (AVAX)?

Avalanche (AVAX) is a blockchain, which conquers the hearts of programmers and at the same time is a great bargain for investors. What distinguishes the…

What are stablecoins and how can you use them?

In recent years, cryptocurrencies are experiencing a real “boom”! And not just for cryptocurrencies – the rise in popularity applies to blockchain technology in general.…

What is Sandbox (SAND)?

In this material, we take a look at one of the fastest growing spaces in the metaverse family. We are talking about Sandbox and SAND…

What is Polygon (MATIC)?

Another coin worth looking at is Polygon (MATIC). It is especially liked by many investors. So what makes its popularity constantly growing? Support for Ethereum…

What is Shiba Inu (SHIB)

Shiba Inu (SHIB) is one of the most sought-after coins on the market. This is evidenced by its dynamic rallies and global interest. But does…

Who is Satoshi Nakamoto?

The world’s biggest cryptographic mystery remains unsolved to this day. It is speculated whether Satoshi Nakamoto is a single person or perhaps the name of…
All articles loaded
No more articles to load