Lecture 2
Lecture 2
○ Ethereum Blockchain
■ Ethereum Blockchain: Smart Contracts
■ Ethereum Structure
■ Ethereum Operations
■ Incentive Model
● Bitcoin blockchain is the mother of all blockchains.
○ It was intended for peer to peer transfer of value
○ It does that well.
● Around 2013, a framework for code execution was introduced by
Ethereum Founders.
● The centerpiece and thrust of this Ethereum blockchain is a smart
contract.
Togged diagram
What is Smart Contract ?
What is Smart Contract
● A smart contract is a piece of code deployed in the blockchain node.
● Execution of a smart contract is initiated by a message embedded in
the transaction.
● Digital currency transfer request simple addition and subtraction.
● Ethereum enables transaction that may carry out more sophisticated
operations.
For example, a transaction could require a conditional transfer, it may
require some evaluation, it may need more than one signature for transfer
of assets, or it may involve waiting for a specific time or date.
Smart Contracts vs Traditional Contracts
Traditional Contracts Smart Contracts
● Smart Legal Contracts: These are used when there is a need to impose
legal obligations towards both parties of the contract.
● DAO: Decentralized Autonomous Organization includes blockchain-related
communities each having particular responsibilities and specific roles in a
certain situation. Their roles are codded into blockchain contracts.
● ALC: Application Logic Contracts include application-based codes that allow
it to sync with other blockchain contracts. This enables the use of IoT with the
blockchain.
Smart Contract Structure