How does the Smart Contracts work in a blockchain

1

I am relatively new to blockchain technology, and my only knowledge is relative to the way bitcoin blockchain works. I know it is based on mining and and transfer of value that gets scarce whenever more bitcoins get mined.

Next I got into the blockchain technology as a standalone technology away from the finance field of cryptocurrency. I found out about the usefulness of the unique tokens and how to link digital assets to these tokens.

One of the biggest adding to blockchain is the smart contacts which by my knowledge are contracts that don't require third parties as brokers.

The problem is that I still can't figure out how do these smart contracts integrate into blockchain technology. Any help? is there any concrete exemple I can read about ?

Thank you !

Kaki Master Of Time

Posted 2017-11-25T08:47:04.077

Reputation: 125

ethereum.stackexchange.com is the home of smart contracts.MCCCS 2017-11-25T13:18:39.000

This looks like a pretty good summary (with links to prerequisites depending on your current knowledge): https://blog.zeppelin.solutions/the-hitchhikers-guide-to-smart-contracts-in-ethereum-848f08001f05

James Crosswell 2017-11-25T16:36:37.987

@MCCCS, you saying that smart contracts are only available on the ethereal blockchain ?Kaki Master Of Time 2017-11-25T20:16:21.230

@MedMansour Yes, unfortunately.MCCCS 2017-11-26T10:41:46.703

@JamesCrosswell, Thank you I am following that right now.Kaki Master Of Time 2017-11-26T15:25:34.387

@MCCCS: I don't see why only ethereum should have smart contracts. Ethereum is maybe the only environment, which has "SOLIDITY AND SMART CONTRACTS". But in bitcoin world there are also smart contracts, provided through the scripts. The op asked for service without third party. From easy multisig up to escrow services, including time locks and more.pebwindkraft 2017-11-26T22:01:18.377

Answers

0

when it comes to bitcoin world, smart contracts are usually some kind of escrow service. A good reference is in the book from Andreas: "Mastering Bitcoin". Both editions can be found in the net. The second edition has chapter "7. Advanced Transactions and Scripting". It explains the use of multisig, escrow, timelocks and more.

When you say integration in blockchain technology, then in this case it is bitcoin and its scripting. One of the several use case examples from the book is this:

... The participants in the multisig scheme are Mohammed, his two partners Saeed and Zaira, and their company lawyer Abdul. The three partners make decisions based on a majority rule, so two of the three must agree. However, in the case of a problem with their keys, they want their lawyer to be able to recover the funds with one of the three partner signatures. Finally, if all partners are unavailable or incapacitated for a while, they want the lawyer to be able to manage the account directly.

I would also like to mention, that the logic behind these scripts is the secret to the lightning network. Have a good reading :-)

pebwindkraft

Posted 2017-11-25T08:47:04.077

Reputation: 4 568