Difference between revisions of "Smart contracts"

From wiki
Jump to navigation Jump to search
m
Line 2: Line 2:
 
Smart contracts are transactions that hold some code.
 
Smart contracts are transactions that hold some code.
  
In Ethereum some coins (ETH) must be spend to cover the resources needed to execute the code. This is called 'gas'.
+
In [[Ethereum]] some coins (ETH) must be spend to cover the resources needed to execute the code. This is called 'gas'.
 +
 
 +
Smart contract are on the blockchain and therefor reside on a specific address. Sending some fee (gas) to a smart contract executes it (on Ethereum in the Ethereum Virtual Machine).
 +
 
 +
A simple contract has 3 roles:
 +
# client (who wants something)
 +
# supplier (who delivers something)
 +
# deployer (the intermediary)

Revision as of 10:08, 15 June 2021

Smart contracts are transactions that hold some code.

In Ethereum some coins (ETH) must be spend to cover the resources needed to execute the code. This is called 'gas'.

Smart contract are on the blockchain and therefor reside on a specific address. Sending some fee (gas) to a smart contract executes it (on Ethereum in the Ethereum Virtual Machine).

A simple contract has 3 roles:

  1. client (who wants something)
  2. supplier (who delivers something)
  3. deployer (the intermediary)