Why can't smart contract code just be stored on an immutable blockchain an just have another system execute this code?

0

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?

Patoshi パトシ

Posted 2017-06-08T19:48:07.213

Reputation: 8 911

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.abelenky 2017-06-08T20:49:59.400

somewhere else I meant as in another blockchain that just reads the blockchain that does the storage of the smart contract code.Patoshi パトシ 2017-06-08T20:53:13.547

No answers