Categories Blockchaindev

7 days 30 days All time Recent Popular
What is a Smart Contract?

A Thread 🧵🧵 👇👇

1.

Yesterday, in the tweet below I stated that a Smart Contract is the building block or core component of a Decentralized Application.

Today, I will be giving an in-depth look at Smart Contracts; What they do, their features, how they work...

Let's


2.

Smart contracts are basically self-executing code hosted on the Blockchain.

In terms of being a contract, it a set of rules that executes when predefined conditions are met.

As for the part of being "Smart", It's not.

Take, for instance, let's look at an application like

3.

...GoFundMe(a centralized crowdfunding platform for donations, contribution) in terms of a smart contract.

The smart contract will be given the rules as follows:

"The benefactors will be required to send money to a particular public address(like an account number in terms

4.

of blockchain technology), then when the money gets to a particular amount let it be automatically sent to the beneficiaries' public address".

That's basically how smart contracts work even though there are more sophisticated applications.

So, what are some features?