Bitcoin Forum
April 19, 2024, 03:16:58 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: What is Smart Contract? Very Basic Understanding  (Read 710 times)
pkhutal (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
April 14, 2018, 07:19:08 AM
Last edit: April 14, 2018, 07:45:36 AM by pkhutal
Merited by xIIImaL (1)
 #1


Understanding Smart Contract for non technical person is impossible. I have worked on Simplest explanation for Students. Please do share your review Smiley

Let us start from What is “Contract”?
Basics of every Contract
1. PARTIES (1–1,1–N,N–N)
2. Variables
3. Conditions
4. Agree Sign PARTIES
https://image.slidesharecdn.com/whatissmartcontractsechai002-180407121842/95/explaining-what-is-smart-contracts-2-638.jpg?cb=1523157610

Let us take example Design “Logo”
Most of us have visited FreeLancer website where Merchants/Clients post their requirement and respective community bid for the project.
Here are the few variables that they agree upon before they start to work together.

1. No. of PARTIES: 2 (A–B)
2. Variables
     - No. of Design Option
     - Advance Amount (P1)
     - After Submitting Option (P2)
     - After Completion (P3)
     - No of times Changes
     - Time Period (First option and Every Changes)
3. Conditions
     - Release Advance on Sign (Release P1)
     - Get No. of Options (Release P2)
     - Select One - Ask for Changes
     - Finalize (Release P3)
     - Cancel Contract
4. Agree Sign of PARTIES
https://image.slidesharecdn.com/whatissmartcontractsechai002-180407121842/95/explaining-what-is-smart-contracts-3-638.jpg?cb=1523157610


Now what is the Real Problem?
We all know most of the projects go in conflict/disputes. Why Contracts have disputes? Here are the 2 reasons for it.
1. Ambiguous Elements
     - Lots of Changes
     - Dont Like Colors
     - Unforeseen events

2.Non – Ambiguous
     - No. of Days
     - Money - Design Option
https://image.slidesharecdn.com/whatissmartcontractsechai002-180407121842/95/explaining-what-is-smart-contracts-4-638.jpg?cb=1523157610


What is Major Missing?

If everything goes well, then everything is perfect. But the problem arises in case of Disputes. So we need Third Party:
ENFORCER of CONTRACT or VERIFIER to judge the Dispute based on the available data.

Here comes the Ethereum, Smart Contracts.
When you don’t have THIRD PARTY Verifier. Both will Push Variables and get Next Contract Condition executed. But Criteria is Both Should have same Code on their Server.
Problem : If there are only 2 SERVERS. It can be easily fraud by A/B Parties by Hacking or DDoS Attack. They will do this for their own Benefit.
Solution : A & B Party have to Broadcast Variables to ETH Network. Entire Network will have the Same Code. More than 51% should Agree on Broadcasted Values, and Code will execute next Condition.  
Central Authority has Power to Change Condition, Variable or Stop Network. Distributed Authority Conditions are consistent, Variables need to be Broadcasted and Verified by Multiple Servers.
People Who have contributed their Servers needs Financial Incentive to Run and Verify Contracts. They are rewarded GAS in ETH Amount of Code to be executed per Contract decides GAS incentive.
https://image.slidesharecdn.com/whatissmartcontractsechai002-180407121842/95/explaining-what-is-smart-contracts-10-638.jpg?cb=1523157610

Crypto Currency works in the following way.
Example :
1. Send Transaction Between A-B : It is done by Crypto : Bitcoin.
2. FreeLancer.com (It will have milestones and conditions) : It is done by Crypto : Ethereum Smart Contracts.
https://image.slidesharecdn.com/whatissmartcontractsechai002-180407121842/95/explaining-what-is-smart-contracts-11-638.jpg?cb=1523157610



 
1713496618
Hero Member
*
Offline Offline

Posts: 1713496618

View Profile Personal Message (Offline)

Ignore
1713496618
Reply with quote  #2

1713496618
Report to moderator
1713496618
Hero Member
*
Offline Offline

Posts: 1713496618

View Profile Personal Message (Offline)

Ignore
1713496618
Reply with quote  #2

1713496618
Report to moderator
1713496618
Hero Member
*
Offline Offline

Posts: 1713496618

View Profile Personal Message (Offline)

Ignore
1713496618
Reply with quote  #2

1713496618
Report to moderator
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713496618
Hero Member
*
Offline Offline

Posts: 1713496618

View Profile Personal Message (Offline)

Ignore
1713496618
Reply with quote  #2

1713496618
Report to moderator
1713496618
Hero Member
*
Offline Offline

Posts: 1713496618

View Profile Personal Message (Offline)

Ignore
1713496618
Reply with quote  #2

1713496618
Report to moderator
1713496618
Hero Member
*
Offline Offline

Posts: 1713496618

View Profile Personal Message (Offline)

Ignore
1713496618
Reply with quote  #2

1713496618
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5485


Self-proclaimed Genius


View Profile
April 15, 2018, 09:33:00 AM
 #2

Understanding Smart Contract for non technical person is impossible. I have worked on Simplest explanation for Students. Please do share your review Smiley
Then, this shouldn't be here in the "Technical" Discussion board.

It's good, but the term "Smart Contract" is Ethereum's thinggy, so this should be in the Altcoin Discussion Board instead.  Smiley

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Safebit.io
Jr. Member
*
Offline Offline

Activity: 50
Merit: 9


View Profile
April 15, 2018, 10:25:33 AM
Merited by QuestionAuthority (5), suchmoon (1)
 #3

You have mentioned the "dispute" issue but didn't address it.

Contracts, in general, are a set of rules to follow. When everything goes well, everyone walks away happy. The trouble (and the real purpose of a contract) becomes relevant once there's a dispute. The big problem with smart contracts today is either foreseen or unforeseen conflicts. How can those be mediated?
buwaytress
Legendary
*
Offline Offline

Activity: 2786
Merit: 3436


Join the world-leading crypto sportsbook NOW!


View Profile
April 15, 2018, 11:41:41 AM
 #4

Understanding Smart Contract for non technical person is impossible. I have worked on Simplest explanation for Students. Please do share your review Smiley
Then, this shouldn't be here in the "Technical" Discussion board.

It's good, but the term "Smart Contract" is Ethereum's thinggy, so this should be in the Altcoin Discussion Board instead.  Smiley

Smart contracts may be Ethereum's thingy, but it's not exclusive to that... one of my very earliest posts in this forum was because I was curious about Bitcoin and smart contracts, and someone pointed me towards projects (can't recall which) that already successfully used smart contracts on bitcoin. I admit I never looked deeper, but it at least made me aware that smart contracts based on Bitcoin's blockchain wasn't just theoretically possible, it was already implementable even then.

One thing I really wanted to use (which I still want to but haven't found) is escrow. Which I guess is everyone's natural first instinct to want to use smart contracts for. On this matter, does anybody know any smart contract for Bitcoin escrow? I see on Google Particl.io looks like it USED to do it, but it's not clear to me their current platform still does...

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
TheQuin
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 882


Freebitco.in Support https://bit.ly/2I9BVS2


View Profile WWW
April 15, 2018, 01:30:11 PM
Merited by buwaytress (1)
 #5

Smart contracts may be Ethereum's thingy, but it's not exclusive to that... one of my very earliest posts in this forum was because I was curious about Bitcoin and smart contracts, and someone pointed me towards projects (can't recall which) that already successfully used smart contracts on bitcoin.

That's the Omni Layer https://www.omnilayer.org/

It's used for Tether and other things and I *think* it was around before Ethereum and ERC20 tokens came along.

freebitcoin.TO WIN A  LAMBORGHINI!..

.
                                ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
                    ▄▄▄▄▄██████████████████████████████████▄▄▄▄
                    ▀██████████████████████████████████████████████▄▄▄
                    ▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
                    ▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
                      ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
                           ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
buwaytress
Legendary
*
Offline Offline

Activity: 2786
Merit: 3436


Join the world-leading crypto sportsbook NOW!


View Profile
April 15, 2018, 03:16:32 PM
 #6

Smart contracts may be Ethereum's thingy, but it's not exclusive to that... one of my very earliest posts in this forum was because I was curious about Bitcoin and smart contracts, and someone pointed me towards projects (can't recall which) that already successfully used smart contracts on bitcoin.

That's the Omni Layer https://www.omnilayer.org/

It's used for Tether and other things and I *think* it was around before Ethereum and ERC20 tokens came along.


Thanks! This reminds me a lot about counterwallet, at least in the way assets are created on the Bitcoin blockchain (and the decentralized exchange). Used the CounterDEX myself a few times with quite some hopes that it'd pick up but it never really flew. I still even have a significant amount of assets on it actually, not sure if I should be embarrassed or proud of that...

Anyone else find it strange that these types of layer projects don't seem to move on much? Or is that all happening outside of this forum?

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
cellard
Legendary
*
Offline Offline

Activity: 1372
Merit: 1250


View Profile
April 15, 2018, 03:28:17 PM
 #7

The simplified way I would use to explain someone that is not too technical, is to have them imagine a set of rules which are put on hold until said rules are meet, and there is no person guarding this set of rules until they are meet, they are set on hold in a decentralized way, so you don't require this third party, which is the whole point of smart contracts.

If the person is smart they will of course point at what happens if there was a coding error in the smart contract, which would resolve in two ways:

1) Dealing with it (code is law)
2) Hiring a good lawyer and ending up in big trouble (which is why I think smart contracts are a big fail, since code is not really law, if you get the power of the state and powerful lawyers on your ass you should be worried if you are the programmer of a smart contract that ends in millions worth of loses)

Im very skeptic of smart contracts in general, specially when they get too complex. Bitcoin is enough, I would rather deal with contracts the traditional way.
angry_runner
Jr. Member
*
Offline Offline

Activity: 162
Merit: 8


View Profile WWW
April 15, 2018, 05:09:06 PM
 #8

you was surprised but Smartcontracts exist even in Bitcoin network (not so powerful as Ethereum).
By the way Ethereum Smartcontracts it is a huge bounty hunting Smiley Also Ethereum Smartcontracts have a lots of holes and not so good for the business.

mark_smt
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 16, 2018, 05:35:27 AM
 #9

 A smart contract is a computer protocol intended to digitally facilitate, verify, or enforce the negotiation or performance of a contract. Smart contracts allow the performance of credible transactions without third parties. Every Blockchain needs a tool for auditing its smart contracts now almost every crypto company having their own blockchain is using Smart Contracts to verify and validate all the transactions.
trupero_uno
Jr. Member
*
Offline Offline

Activity: 210
Merit: 1


View Profile
April 17, 2018, 12:55:35 AM
 #10

Your sharing of Smart Contract with as said Very Basic Understanding is useful moreover to those who know nothing about technical part of crypto space specaill y in Ethereum, but most of token now based on this smart contract. Your continue sharing later for this part will be more useful.
andrew1carlssin
Jr. Member
*
Offline Offline

Activity: 168
Merit: 3

#Please, read:Daniel Ellsberg,-The Doomsday *wk


View Profile WWW
April 17, 2018, 01:40:30 AM
 #11

much more basic understanding

it is easier if you breakdown into

turing complete
turing not complete

what is a turing machine ?

visual Turing Machine

https://www.youtube.com/watch?v=E3keLeMwfHY


Satoshi's book editor; SCIpher - https://pdos.csail.mit.edu/archive/scigen/scipher.html
tan7ra
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 18, 2018, 01:18:56 PM
 #12

Smart contracts helps you digitally exchange something of value in a transparent, conflict free way while making sure that we will not be needing the services of a middleman to facilitate the transfer.

These transactions are generally trackable, irreversible and provides you with features like autonomy, trust, backup, safety, speed, savings and  accuracy.

Where can you use smart contracts? - pretty much everywhere from Financial services, Healthcare, Insurance to Supply Chain, Real Estate and Automobiles.
shiroocrypto
Jr. Member
*
Offline Offline

Activity: 43
Merit: 2


View Profile
April 18, 2018, 04:09:33 PM
 #13

One sentence to explain these:

Technical Person
If the blockchain is your database, the smart contract is analogous to a stored procedure in the database

Non Technical Person
If the blockchain is your mobile phone, the smart contract is the apps on the phone which makes use of the mobile phone features to give you added value
xIIImaL
Legendary
*
Offline Offline

Activity: 1372
Merit: 1005


View Profile
April 18, 2018, 06:05:45 PM
 #14

One sentence to explain these:

Technical Person
If the blockchain is your database, the smart contract is analogous to a stored procedure in the database

Non Technical Person
If the blockchain is your mobile phone, the smart contract is the apps on the phone which makes use of the mobile phone features to give you added value

You and newbie op. You share the perfect answer about the smart contract project. There are various technology we need to use for creating it. You guys missed it. If you are doing project for Hyperledger or ethereum network.
Mostly format you are following is same.
But tools such as node, NPM installation and etc will be changed on it.
LeGaulois
Copper Member
Legendary
*
Offline Offline

Activity: 2870
Merit: 4088


Top Crypto Casino


View Profile
April 18, 2018, 07:57:56 PM
 #15


Smart contracts may be Ethereum's thingy, but it's not exclusive to that...

It's not an Ethereum thingy if you consider outside the crypto world. In fact, the smart contract exists since over 20 or 25 years now, it's not a new technology. The man who invented it is the man who invented one of the first cryptocurrency "Bit Gold" as well (before Bitcoin). I never remember his name (Nick something) He basically wanted to use a cryptographic protocol to improve contracts. A lot of people believe Ethereum is the father of smart contracts which is totally wrong.





█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Ishiro5
Copper Member
Jr. Member
*
Offline Offline

Activity: 224
Merit: 3


View Profile WWW
April 18, 2018, 09:49:13 PM
 #16

Just a random thought on smart contracts, for larger societal and far reaching economic issues applications, are we not at some point going to be needing trust centers or that kind of stuff that act as backups probably having a government side to it should in case...
Darerando
Newbie
*
Offline Offline

Activity: 154
Merit: 0


View Profile
April 19, 2018, 09:21:39 AM
 #17

In addition a smart contract is a code running inside the computer system, top at block chain containing a set of rules under which the parties to that smart contract agree to interact with each other.
karinaloren
Newbie
*
Offline Offline

Activity: 91
Merit: 0


View Profile
April 19, 2018, 09:45:52 AM
 #18


Smart contracts may be Ethereum's thingy, but it's not exclusive to that...

It's not an Ethereum thingy if you consider outside the crypto world. In fact, the smart contract exists since over 20 or 25 years now, it's not a new technology. The man who invented it is the man who invented one of the first cryptocurrency "Bit Gold" as well (before Bitcoin). I never remember his name (Nick something) He basically wanted to use a cryptographic protocol to improve contracts. A lot of people believe Ethereum is the father of smart contracts which is totally wrong.






Nick Szabo. I' ve lust read the article about him... Theoretically I almost understand what smart-contract means but practically....I can't even imagine where how to see them... Or the are hidden under transactions... and we can't  find them at all... where are they? Huh
margarita_free
Jr. Member
*
Offline Offline

Activity: 127
Merit: 3

Good community manager for your blockchain project


View Profile
April 19, 2018, 01:11:38 PM
 #19

As i understand, it is something like connecting investor and his  wallet with trader...
Traders’ consideration is reserved in a Smart Contract, in advance, and it is automatically paid upon reaching the target profit set in a percent of the amount transferred in trust management, or upon expiration of the Smart Contract term...

Junior community manager
saturn.network
Jr. Member
*
Offline Offline

Activity: 193
Merit: 2

Team Saturn


View Profile WWW
April 19, 2018, 01:17:35 PM
 #20

Hello! Recently we wrote a breakdown of how Ethereum smart contracts work. I think it will really help you understand:

https://rados.io/how-do-ethereum-smart-contracts-work/

Saturn Network (https://www.saturn.network) Decentralized Exchange. Peer to peer trading. Token Listing Free and Automated.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!