How smart contracts work

in #ethereum5 years ago

In the real world contract satisfies the terms of a relationship according to law, a smart contracts maintain & verify relationship between senders and receivers by cryptographic code as they are set up to by their creators.
Ethereum users can send some ether to any other user on a particular date using a smart contract, and accordingly create a contract, and then push the data to that contract for executing the predefined rules.

Though Ethereum is a platform that’s built specifically for creating smart contracts, but also make the building blocks for decentralized applications.
Ethereum system allows programmers to code their own smart contracts which is known also as autonomous agents.

Smart contracts support multi-signature accounts because receive and withdraw can be happened when a required number of people agree with same rules.

Smart contracts can communicate with each other for providing resources or roles. And also store information app info, domain info, user info etc.

For two contracts system 1st contract uses suppose user info collection and another contract collects the rules of any policy like insurance.
Executing all contract require transaction fees, which depend on the computational power.
Part of a blockchain system the Ethereum Virtual Machine executes smart contracts in ‘bytecode’.
[Source: https://www.coindesk.com/information/ethereum-smart-contracts-work
https://www.freepik.com/premium-vector/smart-online-contract-vector_3966183.htm]
smart-online-contract-vector_6930-197.jpg

Sort:  

Sneaky-Ninja-Throwing-Coin 125px.jpg
Defended (14.56%)
Summoned by @showgat.biz
Sneaky Ninja supports @youarehope and @tarc with a percentage of all bids.
Everything You Need To Know About Sneaky Ninja


woosh

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.032
BTC 64799.61
ETH 3102.94
USDT 1.00
SBD 3.83