Module 4
Module 4
CSE 2019
Module - 4
Topics
• Introduction to Ethereum
• Ethereum network
• Smart contracts
[10Hrs]
[Understand]
• Gas is a unit of account within the EVM used in the calculation of the
transaction fee, which is the amount of ETH a transaction's sender must pay
to the network to have the transaction included in the blockchain.
• EVMs have been implemented in; C++, C#, Go, Haskell, Java, JavaScript, Python, Ruby,
Rust, Elixir, Erlang
Ether
• Ether (ETH) is the cryptocurrency generated in accordance with the Ethereum protocol as a reward to
validators in a proof-of-stake system for adding blocks to the blockchain.
• Ether is represented in the state as an unsigned integer associated with each account, this being the
account's ETH balance denominated in wei (1018 wei = 1 ether).
• Ethereum is an open-source platform that uses blockchain technology, to create and run
decentralized digital applications, or "dapps" that enable users to make agreements
and conduct transactions directly with each other to buy, sell and trade goods and
services without a middleman.
• The Ethereum blockchain does track ownership of digital currency, but also focuses
on running the programming code of a range of decentralized applications.
• Voting Systems
Voting systems are adopting Ethereum. The results of polls are
publicly available, ensuring a transparent and fair democratic
process by eliminating voting malpractices.
• Banking Systems
Ethereum is getting adopted widely in banking systems because
with Ethereum’s decentralized system; it is challenging for hackers
to gain unauthorized access. It also allows payments on an
Ethereum-based network, so banks are also using Ethereum as a
channel to make remittances and payments.
Deploying Ethereum in shipping helps with the tracking of cargo and prevents goods
from being misplaced or counterfeited. Ethereum provides the provenance and
tracking framework for any asset required in a typical supply chain.
• Agreements
1.Transactions
2.Consensus Rules
3.Consensus Algorithms
4.State Machine
5.Data structures
6.Economic Security
7.Software Clients
• Accounts.
• Ether cryptocurrency/tokens.
• Managed by Human
• Account creation incurs/gains no cost
• Can transfer Ether (ETH) to other accounts
• Can send messages (i.e. send transactions) to smart contracts
1. Fault tolerance: As dApps work on a decentralized platform, if a single node is working the network
will be still; available but the performance will be severely downgraded.
2. Privacy: Users don’t need to submit real-world identity or any personal information to use any app-
specific functionality.
3. Data integrity: Data stored on the blockchain is immutable and tamper-proof due to the use of
consensus algorithms. Hackers cannot forge transactions and the data stored on the blockchain is
resistant to change.
4. Flexible platform: The Ethereum platform provides a flexible environment for easy development of
dApps.
5. Verifiable behavior: Smart contracts can be analyzed and are guaranteed to execute in predictable
ways without a need from monitoring or involvement from a central authority.
https://101blockchains.com/pros-and-cons-of-dao/
Thank you