Smart contracts
Jump to navigation
Jump to search
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:
- client (who wants something)
- supplier (who delivers something)
- deployer (the intermediary)