How a smart contract works and when is activated?

How a smart contract works and when is activated?

I am trying to understand how a smart contracts works and what are the steps from requesting to receiving some amount of coin (let's say ethereum). I have some questions..

  1. When a smart contract is created this is added in a block and send in the network to be checkt (what should users check here, because smart contract is not a transaction?)
  2. When a user make a request to a method exported by the smart contract is created a transaction and this will be sent in the network for validation, right (so what is the smart contract job if the transaction will be validated in network?).
  3. Smart contract beeing in the blockchain this means every user from network has it. Smart contract is run by every user when a request to a method is done?
  4. We can think on a smart contract like a normal user with has a balance?
  5. A user can access every contract from blockchain?

I am referring on ethereum. Thanks

http://ift.tt/2HOQb3a

Comments

Popular posts from this blog

sendrawtransaction and txn-mempool-conflict

couldn't connect to server: EOF reached (code 1)