<p>I understand that a smart contract is just a fancy term for code that just does something with accounts in an immutable blockchain. A good example is, if you wanted to send your friend 1 coin a week for 100 weeks. Why can't this code just be stored on a blockchain and have a 3rd party service or another blockchain system read this code to execute it? I understand that this code will have to contain the private key of the sender's account, but I'm assuming this is solved with existing smart contract systems? But either way, why can't the storage of smart contract code be put somewhere else and have another blockchain execute it? </p>

CC BY-SA 3.0
2017-06-08T20:49:59.400Z
"Somewhere else" is exceptionally broad and poorly defined.  "a 3rd party service" is a bad idea, since that involves trusting the 3rd party, and the whole block-chain theory is about reaching group consensus, and NOT trusting a 3rd party.
abelenky
CC BY-SA 3.0
2017-06-08T20:53:13.547Z
somewhere else I meant as in another blockchain that just reads the blockchain that does the storage of the smart contract code.
Patoshi パトシ
<smartcontracts>
Why can't smart contract code just be stored on an immutable blockchain an just have another system execute this code?
Patoshi パトシ
# Why can't smart contract code just be stored on an immutable blockchain an just have another system execute this code?

(Asked by: username_0 on 2017-06-08)

I understand that a smart contract is just a fancy term for code that just does something with accounts in an immutable blockchain. A good example is, if you wanted to send your friend 1 coin a week for 100 weeks. Why can't this code just be stored on a blockchain and have a 3rd party service or another blockchain system read this code to execute it? I understand that this code will have to contain the private key of the sender's account, but I'm assuming this is solved with existing smart contract systems? But either way, why can't the storage of smart contract code be put somewhere else and have another blockchain execute it?

**Tags:** smartcontracts

> **Comments:**
> **username_1**: "Somewhere else" is exceptionally broad and poorly defined.  "a 3rd party service" is a bad idea, since that involves trusting the 3rd party, and the whole block-chain theory is about reaching group consensus, and NOT trusting a 3rd party.  
> **username_0**: somewhere else I meant as in another blockchain that just reads the blockchain that does the storage of the smart contract code.  

---

## 0 answers

