Author

Topic: What is a smart contract? (Read 158 times)

legendary
Activity: 2352
Merit: 6089
bitcoindata.science
June 04, 2019, 11:40:15 AM
#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]
    member
    Activity: 136
    Merit: 39
    June 04, 2019, 09:20:10 AM
    #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.
    Jump to: