Bitcoin Forum
June 22, 2024, 08:11:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is a smart contract?  (Read 126 times)
Sonu_titu (OP)
Member
**
Offline Offline

Activity: 136
Merit: 39


View Profile
June 04, 2019, 02:20:10 PM
 #1

Was exchanging ETH to BTC on an exchange couple of days ago and found a notification that the payments via contract are not accepted. Today I was reading about the trying to figure out what is Contract and normal thing and got more confused. Sad

I read below links which I found after search about smart contract:

My doubts:
  • The second link I shared shows pictorially that the smart contract has some rules and which both parties agree and the third party verifies it. "Rules" "Third party" all this things makes it centralised?
  • If smart contract makes it centralized then why NXT, ETH and BTC are using it?
  • What is the difference between a ETH contract payment and other ETH payments?
  • Does the rules mean the puzzle in mining and Third party refer to miner?

Can someone please explain this "Smart Contract" thing easily. An better article or book will also work for me will put effort to learn Cheesy. As and when I am continuing exploring this it is confusing me more. Please help.

bitmover
Legendary
*
Offline Offline

Activity: 2338
Merit: 6023


bitcoindata.science


View Profile WWW
June 04, 2019, 04:40:15 PM
Merited by El duderino_ (1)
 #2

    • The second link I shared shows pictorially that the smart contract has some rules and which both parties agree and the third party verifies it. "Rules" "Third party" all this things makes it centralised?

    No. There is no third party to verify.
    When you create the contract with the rules, rules are registered in the blockchain (which is decentralized).
    Once conditions are met, the rules are applied and all nodes will record it, as it will be on the blockchain.

    Quote
    • If smart contract makes it centralized then why NXT, ETH and BTC are using it?
    Because it is not centralized. There is no third party, just the blockchain which will apply the rules if conditions are met, and will not apply if conditions are not met.


    Quote
    • What is the difference between a ETH contract payment and other ETH payments?
    • Does the rules mean the puzzle in mining and Third party refer to miner?

    Can someone please explain this "Smart Contract" thing easily. An better article or book will also work for me will put effort to learn Cheesy. As and when I am continuing exploring this it is confusing me more. Please help.

    I will make an example.

    Let's suppose I make a contract for my ico. If someone deposit 1 eth on the smartcontract addres (which I cannot get the funds)s , the smartcontract will automatically send 1000 shitokens back. There is no way to send only 900, as the contract is registered in blockchain and is registered in all nodes. Once the conditions are met (1 eth sent) the smartcontract will automatically send 1000 tokens to whoever sent the eth, and the eth to an address which belongs to me

    There is no third party verification. It's a digital agreement which cannot be changed once it is registered in the blockchain, this is why it is an immutable and tamperproof digital agreement (without third party verification as all ethereum nodes are verifying it)
    [/list]

    .
    .BLACKJACK ♠ FUN.
    █████████
    ██████████████
    ████████████
    █████████████████
    ████████████████▄▄
    ░█████████████▀░▀▀
    ██████████████████
    ░██████████████
    ████████████████
    ░██████████████
    ████████████
    ███████████████░██
    ██████████
    CRYPTO CASINO &
    SPORTS BETTING
    ▄▄███████▄▄
    ▄███████████████▄
    ███████████████████
    █████████████████████
    ███████████████████████
    █████████████████████████
    █████████████████████████
    █████████████████████████
    ███████████████████████
    █████████████████████
    ███████████████████
    ▀███████████████▀
    █████████
    .
    Pages: [1]
      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!