<p>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. </p>

<p>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: </p>

<blockquote>
  <p>... 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.</p>
</blockquote>

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

CC BY-SA 3.0
2017-11-26T22:16:12.693Z
2017-11-26T22:16:12.693Z
pebwindkraft
<p>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. </p>

<p>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.</p>

<p>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. </p>

<p>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 ? </p>

<p>Thank you !</p>

CC BY-SA 3.0
2017-11-25T13:18:39.000Z
ethereum.stackexchange.com is the home of smart contracts.
MCCCS
CC BY-SA 3.0
2017-11-25T16:36:37.987Z
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
CC BY-SA 3.0
2017-11-25T20:16:21.230Z
@MCCCS, you saying that smart contracts are only available on the ethereal blockchain ?
Kaki Master Of Time
CC BY-SA 3.0
2017-11-26T10:41:46.703Z
@MedMansour Yes, unfortunately.
MCCCS
CC BY-SA 3.0
2017-11-26T15:25:34.387Z
@JamesCrosswell, Thank you I am following that right now.
Kaki Master Of Time
CC BY-SA 3.0
2017-11-26T22:01:18.377Z
@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
<blockchain><smartcontracts>
How does the Smart Contracts work in a blockchain
Kaki Master Of Time
# How does the Smart Contracts work in a blockchain

(Asked by: username_0 on 2017-11-25)

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 !

**Tags:** blockchain, smartcontracts

> **Comments:**
> **username_1**: ethereum.stackexchange.com is the home of smart contracts.  
> **username_2**: 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  
> **username_0**: @username_1, you saying that smart contracts are only available on the ethereal blockchain ?  
> **username_1**: @MedMansour Yes, unfortunately.  
> **username_0**: @username_2, Thank you I am following that right now.  
> **username_3**: @username_1: 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.  

---

## 1 answers

### Answer by username_3 on 2017-11-26. Score: 0 | Accepted answer

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 :-)


---

