SlideShare a Scribd company logo
Waterloo Ethereum Club
http://www.meetup.com/Ethereum-Waterloo-Club/
October 2015
The Blockchain
ethereum
■ In 2008, Bitcoin was launched as a peer-to-peer
database that relied on a new data structure
referred to as the ‘blockchain’.
■ The blockchain consists of blocks, where each
block holds a set of transactions and a
reference to the previous block. This helped
create a chain of all transactions that ever
occurred.
■ This data structure is replicated across all
participating nodes so that every participant is
aware of the transactions without having to get
them from a central authority.
-
-
-
-
-
-
-
-
-
Distributed Consensus
ethereum
■ In order to control how new blocks (with new
transactions) are added to the chain, the
design relies on a consensus mechanism
which requires anyone (a node in the peer to
peer network) who would like to nominate a
new block (with new transactions it has
gathered from its peers) to solve a puzzle that
requires significant computations (computer
processing power). The difficulty of this puzzle
is dynamically adjusted such that it takes on
average 10 minutes for any one node to solve
the puzzle. A process known as mining.
■ Whenever a node solves the puzzle and create
the new block (which includes new
transactions that it has gathered from other
peers around it), the node is rewarded with an
amount of new Bitcoins which it can use to pay
for the cost of solving the puzzle (computer
equipment and electricity).
-
-
-
-
-
-
-
-
-
ethereum
Decentralization
ethereum
■ Given the architecture of the blockchain, the
database continues to grow so long as nodes
keep trying to nominate and verify new blocks
regardless of nodes joining or leaving the
network
■ The fact that the entire database exists without
depending on a single node, makes it very
powerful and almost impossible to alter or
destroy (the decentralized feature of the
blockchain)
■ The integrity/validity of transactions in the
block chain is ensured through the use of
cryptographic techniques that make it efficient
to verify if any invalid transactions have been
added
-
-
-
-
-
-
-
-
-
ethereum
Beyond Bitcoin
ethereum
■ The architecture of the blockchain is very
powerful as it enables decentralization while
maintaining security. This has significant
implications on the design of computer systems
as it allows computer applications to be scalable
and reduce the requirement for a large central
infrastructure
■ While the first successful use of the blockchain
database architecture was demonstrated on the
Bitcoin network, many started exploring how
they can utilize this design for other transactions
beyond value transfer transactions which Bitcoin
mainly handles
-
-
-
-
-
-
-
-
-
ethereum
Towards a Peer to Peer Computing Framework
ethereum
■ While, the design of the blockchain solved
many issues when it comes to decentralizing
and securing transactions. There was no easy
way to specify logic that made use of that
database for purposes beyond the transfer of
value between accounts.
■ The Ethereum project set out to design the
required pieces to evolve the blockchain from a
distributed transactional database to be part of
a general purpose peer to peer computing
framework.
■ At the heart of ethereum is a virtual machine
capable of executing instructions known as the
Ethereum Virtual Machine (EVM), it allows the
execution of programmed instructions stored
within the blockchain
-
-
-
-
-
-
-
-
-
ethereum
-
-
-
-
-
-
-
-
-
The Blockchain of State and Transactions
ethereum
■ To introduce the ability to execute programs,
the blockchain was modified such that each
block not only contains the latest transactions
but also the latest state of member programs
(aka., contracts).
■ With every new block the state of contracts in
the blockchain is updated per the processed
transactions thereby taking the blockchain to a
new state.
■ As a mean to ensure that provided instructions
do not run forever, a constraint is built into the
execution of every contract so that any party
invoking a contract in a transaction is required
to provide special tokens of monetary value
that get consumed depending on the number
of instructions and the storage used by the
contract.
ethereum
Contracts as Accounts
ethereum
■ A contract has a permanent address on the
blockchain which gets assigned when it is
created. This permanent address is used to
identify the contract.
■ Every contract contains a balance of the basic
monetary unit in the ethereum network referred
to as ether.
■ If a contract does not include any programmed
instructions, it behaves as an account. It has an
address and a balance. This account can
receive/send ethers from/to other
accounts/contracts.
Address
Balance
ethereum
Contracts as Decentralized Executable Programs
ethereum
■ Ether is required to call a contract, this is done
to ensure that infinite execution does not occur
as the execution stops the moment the ether
amount sent along with the call is consumed
■ When a contract is called, a small amount of
ether is required to be sent along with the call.
This amount is eventually transferred to the
node that gets to nominate the next block in the
block chain. However, when a contract is called,
an amount of ether can be directly transferred
to that contract there by instituting a balance
transfer like in the case of a payment
■ When referring to the calling of a contract, it is
in reference to invoking one of the methods in
the programmed instructions which can be
used to execute a certain action
Address
Fields
-
-
Methods
-
-
Events
-
-
Balance
ethereum
Contracts as Decentralized Executable Programs
ethereum
■ The execution of a method can modify the state
of the contract by manipulating one or more of
its fields
■ A contract can also have set of events which
are used to notify interested parties of the
occurrence of certain events during the lifetime
of the contract
■ A contract lives forever on the blockchain once
it is created unless, the original instructions
made use of the suicide feature, a feature which
destroys a contract and transfers its ether
balance to another account
Address
Fields
-
-
Methods
-
-
Events
-
-
Balance
ethereum
Messaging and File Sharing...
ethereum
ethereum
swarm whisper
■ In addition to the use of the ethereum virtual
machine to execute contract logic. The
ethereum project also introduced two
additional protocols to provide peer to peer
support for exchanging message as well
exchanging static files
■ The peer to peer protocol used for exchanging
message is named whisper and it provides a
powerful distributed and private messaging
capabilities with support for single cast,
multicast and broadcast messages
■ The peer to peer protocol used for exchanging
static files is named swarm and it provides a
new incentivized approach to distribute static
content among peers and exchange them
efficiently
ethereum
Decentralized Messaging
ethereum
■ Whisper provides a peer to peer protocol for
exchanging short timed messages privately
■ Whisper relies on a subject key (Topic)
approach to deliver messages where messages
are published using a hashed topic
■ Messages can be encrypted with a specific key
for privacy
■ Indirectly supports broadcast, multicast and
unicast
■ Whisper is a high latency and low bandwidth
messaging protocol
■ Provides the ability to use masks/filters to
narrow down topics of interest without giving
away what topic is being sought
■
whisper
ethereum
Incentivized File Transfer ...
ethereum
swarm
■ Leverages the underlying ethereum
infrastructure through the use of a contracts
and ethers to encourage cooperation among
nodes
■ Files are split into chunks which are stored in
nodes in the network
■ An accounting protocol is used by peers to keep
track of chunks delivered and received and
resulting micro-payments owed
ethereum
DEMO
ethereum
■ Assume we would like to create a smart door
which opens up if given the right key.
■ Adding a new user required two or more users to
authenticate the transaction.
ethereum
ethereum

More Related Content

What's hot

Ethereum Smart contract
Ethereum Smart contractEthereum Smart contract
Ethereum Smart contract
George Theofilis
 
Blockchain Digital Transformation Presentation
Blockchain Digital Transformation PresentationBlockchain Digital Transformation Presentation
Blockchain Digital Transformation Presentation
101 Blockchains
 
Decentralized applications 101: How and why to build a DApp
Decentralized applications 101: How and why to build a DAppDecentralized applications 101: How and why to build a DApp
Decentralized applications 101: How and why to build a DApp
Erik Trautman
 
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
Simplilearn
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart Contract
Thanh Nguyen
 
Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
Remaisha Ali
 
Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum) Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum)
عطاءالمنعم اثیل شیخ
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
Zied GUESMI
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
Philippe Camacho, Ph.D.
 
Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashir
Imran Bashir
 
Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
Shrishty Dhiman
 
What the Duck is DeFi
What the Duck is DeFiWhat the Duck is DeFi
What the Duck is DeFi
Bailey Reutzel
 
cryptocurrency
cryptocurrencycryptocurrency
cryptocurrency
ShanRomio
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
Malak Abu Hammad
 
20180711 Metamask
20180711 Metamask 20180711 Metamask
20180711 Metamask
Hu Kenneth
 
Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshell
Daniel Chan
 
Basic introduction in blockchain, smart contracts, permissioned ledgers
Basic introduction in blockchain, smart contracts, permissioned ledgersBasic introduction in blockchain, smart contracts, permissioned ledgers
Basic introduction in blockchain, smart contracts, permissioned ledgers
Koen Vingerhoets
 
Blockchain and Decentralization
Blockchain and DecentralizationBlockchain and Decentralization
Blockchain and Decentralization
Priyab Satoshi
 
Blockchain 2.0
Blockchain 2.0Blockchain 2.0
Blockchain 2.0
Jérôme Kehrli
 
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Edureka!
 

What's hot (20)

Ethereum Smart contract
Ethereum Smart contractEthereum Smart contract
Ethereum Smart contract
 
Blockchain Digital Transformation Presentation
Blockchain Digital Transformation PresentationBlockchain Digital Transformation Presentation
Blockchain Digital Transformation Presentation
 
Decentralized applications 101: How and why to build a DApp
Decentralized applications 101: How and why to build a DAppDecentralized applications 101: How and why to build a DApp
Decentralized applications 101: How and why to build a DApp
 
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart Contract
 
Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
 
Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum) Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum)
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
 
Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashir
 
Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
 
What the Duck is DeFi
What the Duck is DeFiWhat the Duck is DeFi
What the Duck is DeFi
 
cryptocurrency
cryptocurrencycryptocurrency
cryptocurrency
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
20180711 Metamask
20180711 Metamask 20180711 Metamask
20180711 Metamask
 
Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshell
 
Basic introduction in blockchain, smart contracts, permissioned ledgers
Basic introduction in blockchain, smart contracts, permissioned ledgersBasic introduction in blockchain, smart contracts, permissioned ledgers
Basic introduction in blockchain, smart contracts, permissioned ledgers
 
Blockchain and Decentralization
Blockchain and DecentralizationBlockchain and Decentralization
Blockchain and Decentralization
 
Blockchain 2.0
Blockchain 2.0Blockchain 2.0
Blockchain 2.0
 
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
 

Similar to Introduction to Ethereum

Jason genge what is ethereum
Jason genge   what is ethereumJason genge   what is ethereum
Jason genge what is ethereum
jason simeon genge
 
Li Haidong, Bounty Resources Armenia, Li Haidong Singapore
Li Haidong, Bounty Resources Armenia, Li Haidong SingaporeLi Haidong, Bounty Resources Armenia, Li Haidong Singapore
Li Haidong, Bounty Resources Armenia, Li Haidong Singapore
Li Haidong
 
Jason genge (A Bitcoin Lover) - what is ethereum ?
Jason genge (A Bitcoin Lover) - what is ethereum ?Jason genge (A Bitcoin Lover) - what is ethereum ?
Jason genge (A Bitcoin Lover) - what is ethereum ?
Jason Simeon Genge
 
Ethereum bxl
Ethereum bxlEthereum bxl
Ethereum bxl
Benjamin MATEO
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
AvinashChoure2
 
blockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering studentsblockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering students
imranakhtar83
 
Ethereum Mining How To
Ethereum Mining How ToEthereum Mining How To
Ethereum Mining How To
Nugroho Gito
 
Block chain - Smart contacts.pptx
Block chain - Smart contacts.pptxBlock chain - Smart contacts.pptx
Block chain - Smart contacts.pptx
shraddhaphirke1
 
Architecture and operations.pptx
Architecture and operations.pptxArchitecture and operations.pptx
Architecture and operations.pptx
harshitmittal737363
 
How to Write & Deploy a Smart Contract
How to Write & Deploy a Smart ContractHow to Write & Deploy a Smart Contract
How to Write & Deploy a Smart Contract
All Things Open
 
Blockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency RegulationsBlockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency Regulations
Amir Rafati
 
Evaluation of Ethereum
Evaluation of Ethereum Evaluation of Ethereum
Evaluation of Ethereum
Giuseppe Andreetti
 
module-1.pptx
module-1.pptxmodule-1.pptx
module-1.pptx
Raju385766
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
Mufaddal Nullwala
 
Ethereum
EthereumEthereum
Ethereum
Brian Yap
 
Ethereum Block Chain
Ethereum Block ChainEthereum Block Chain
Ethereum Block Chain
SanatPandoh
 
Hyper ledger project
Hyper ledger projectHyper ledger project
Hyper ledger project
Đoàn Thái Thiên Lộc
 
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Codemotion
 
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Codemotion
 
Building Apps with Ethereum Smart Contract
Building Apps with Ethereum Smart ContractBuilding Apps with Ethereum Smart Contract
Building Apps with Ethereum Smart Contract
Vaideeswaran Sethuraman
 

Similar to Introduction to Ethereum (20)

Jason genge what is ethereum
Jason genge   what is ethereumJason genge   what is ethereum
Jason genge what is ethereum
 
Li Haidong, Bounty Resources Armenia, Li Haidong Singapore
Li Haidong, Bounty Resources Armenia, Li Haidong SingaporeLi Haidong, Bounty Resources Armenia, Li Haidong Singapore
Li Haidong, Bounty Resources Armenia, Li Haidong Singapore
 
Jason genge (A Bitcoin Lover) - what is ethereum ?
Jason genge (A Bitcoin Lover) - what is ethereum ?Jason genge (A Bitcoin Lover) - what is ethereum ?
Jason genge (A Bitcoin Lover) - what is ethereum ?
 
Ethereum bxl
Ethereum bxlEthereum bxl
Ethereum bxl
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
blockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering studentsblockchain technology note-unit-5-notes.pdf for sppu engineering students
blockchain technology note-unit-5-notes.pdf for sppu engineering students
 
Ethereum Mining How To
Ethereum Mining How ToEthereum Mining How To
Ethereum Mining How To
 
Block chain - Smart contacts.pptx
Block chain - Smart contacts.pptxBlock chain - Smart contacts.pptx
Block chain - Smart contacts.pptx
 
Architecture and operations.pptx
Architecture and operations.pptxArchitecture and operations.pptx
Architecture and operations.pptx
 
How to Write & Deploy a Smart Contract
How to Write & Deploy a Smart ContractHow to Write & Deploy a Smart Contract
How to Write & Deploy a Smart Contract
 
Blockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency RegulationsBlockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency Regulations
 
Evaluation of Ethereum
Evaluation of Ethereum Evaluation of Ethereum
Evaluation of Ethereum
 
module-1.pptx
module-1.pptxmodule-1.pptx
module-1.pptx
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Ethereum
EthereumEthereum
Ethereum
 
Ethereum Block Chain
Ethereum Block ChainEthereum Block Chain
Ethereum Block Chain
 
Hyper ledger project
Hyper ledger projectHyper ledger project
Hyper ledger project
 
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
 
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
 
Building Apps with Ethereum Smart Contract
Building Apps with Ethereum Smart ContractBuilding Apps with Ethereum Smart Contract
Building Apps with Ethereum Smart Contract
 

Recently uploaded

Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 

Recently uploaded (20)

Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 

Introduction to Ethereum

  • 2. The Blockchain ethereum ■ In 2008, Bitcoin was launched as a peer-to-peer database that relied on a new data structure referred to as the ‘blockchain’. ■ The blockchain consists of blocks, where each block holds a set of transactions and a reference to the previous block. This helped create a chain of all transactions that ever occurred. ■ This data structure is replicated across all participating nodes so that every participant is aware of the transactions without having to get them from a central authority. - - - - - - - - -
  • 3. Distributed Consensus ethereum ■ In order to control how new blocks (with new transactions) are added to the chain, the design relies on a consensus mechanism which requires anyone (a node in the peer to peer network) who would like to nominate a new block (with new transactions it has gathered from its peers) to solve a puzzle that requires significant computations (computer processing power). The difficulty of this puzzle is dynamically adjusted such that it takes on average 10 minutes for any one node to solve the puzzle. A process known as mining. ■ Whenever a node solves the puzzle and create the new block (which includes new transactions that it has gathered from other peers around it), the node is rewarded with an amount of new Bitcoins which it can use to pay for the cost of solving the puzzle (computer equipment and electricity). - - - - - - - - - ethereum
  • 4. Decentralization ethereum ■ Given the architecture of the blockchain, the database continues to grow so long as nodes keep trying to nominate and verify new blocks regardless of nodes joining or leaving the network ■ The fact that the entire database exists without depending on a single node, makes it very powerful and almost impossible to alter or destroy (the decentralized feature of the blockchain) ■ The integrity/validity of transactions in the block chain is ensured through the use of cryptographic techniques that make it efficient to verify if any invalid transactions have been added - - - - - - - - - ethereum
  • 5. Beyond Bitcoin ethereum ■ The architecture of the blockchain is very powerful as it enables decentralization while maintaining security. This has significant implications on the design of computer systems as it allows computer applications to be scalable and reduce the requirement for a large central infrastructure ■ While the first successful use of the blockchain database architecture was demonstrated on the Bitcoin network, many started exploring how they can utilize this design for other transactions beyond value transfer transactions which Bitcoin mainly handles - - - - - - - - - ethereum
  • 6. Towards a Peer to Peer Computing Framework ethereum ■ While, the design of the blockchain solved many issues when it comes to decentralizing and securing transactions. There was no easy way to specify logic that made use of that database for purposes beyond the transfer of value between accounts. ■ The Ethereum project set out to design the required pieces to evolve the blockchain from a distributed transactional database to be part of a general purpose peer to peer computing framework. ■ At the heart of ethereum is a virtual machine capable of executing instructions known as the Ethereum Virtual Machine (EVM), it allows the execution of programmed instructions stored within the blockchain - - - - - - - - - ethereum
  • 7. - - - - - - - - - The Blockchain of State and Transactions ethereum ■ To introduce the ability to execute programs, the blockchain was modified such that each block not only contains the latest transactions but also the latest state of member programs (aka., contracts). ■ With every new block the state of contracts in the blockchain is updated per the processed transactions thereby taking the blockchain to a new state. ■ As a mean to ensure that provided instructions do not run forever, a constraint is built into the execution of every contract so that any party invoking a contract in a transaction is required to provide special tokens of monetary value that get consumed depending on the number of instructions and the storage used by the contract. ethereum
  • 8. Contracts as Accounts ethereum ■ A contract has a permanent address on the blockchain which gets assigned when it is created. This permanent address is used to identify the contract. ■ Every contract contains a balance of the basic monetary unit in the ethereum network referred to as ether. ■ If a contract does not include any programmed instructions, it behaves as an account. It has an address and a balance. This account can receive/send ethers from/to other accounts/contracts. Address Balance ethereum
  • 9. Contracts as Decentralized Executable Programs ethereum ■ Ether is required to call a contract, this is done to ensure that infinite execution does not occur as the execution stops the moment the ether amount sent along with the call is consumed ■ When a contract is called, a small amount of ether is required to be sent along with the call. This amount is eventually transferred to the node that gets to nominate the next block in the block chain. However, when a contract is called, an amount of ether can be directly transferred to that contract there by instituting a balance transfer like in the case of a payment ■ When referring to the calling of a contract, it is in reference to invoking one of the methods in the programmed instructions which can be used to execute a certain action Address Fields - - Methods - - Events - - Balance ethereum
  • 10. Contracts as Decentralized Executable Programs ethereum ■ The execution of a method can modify the state of the contract by manipulating one or more of its fields ■ A contract can also have set of events which are used to notify interested parties of the occurrence of certain events during the lifetime of the contract ■ A contract lives forever on the blockchain once it is created unless, the original instructions made use of the suicide feature, a feature which destroys a contract and transfers its ether balance to another account Address Fields - - Methods - - Events - - Balance ethereum
  • 11. Messaging and File Sharing... ethereum ethereum swarm whisper ■ In addition to the use of the ethereum virtual machine to execute contract logic. The ethereum project also introduced two additional protocols to provide peer to peer support for exchanging message as well exchanging static files ■ The peer to peer protocol used for exchanging message is named whisper and it provides a powerful distributed and private messaging capabilities with support for single cast, multicast and broadcast messages ■ The peer to peer protocol used for exchanging static files is named swarm and it provides a new incentivized approach to distribute static content among peers and exchange them efficiently ethereum
  • 12. Decentralized Messaging ethereum ■ Whisper provides a peer to peer protocol for exchanging short timed messages privately ■ Whisper relies on a subject key (Topic) approach to deliver messages where messages are published using a hashed topic ■ Messages can be encrypted with a specific key for privacy ■ Indirectly supports broadcast, multicast and unicast ■ Whisper is a high latency and low bandwidth messaging protocol ■ Provides the ability to use masks/filters to narrow down topics of interest without giving away what topic is being sought ■ whisper ethereum
  • 13. Incentivized File Transfer ... ethereum swarm ■ Leverages the underlying ethereum infrastructure through the use of a contracts and ethers to encourage cooperation among nodes ■ Files are split into chunks which are stored in nodes in the network ■ An accounting protocol is used by peers to keep track of chunks delivered and received and resulting micro-payments owed ethereum
  • 14. DEMO ethereum ■ Assume we would like to create a smart door which opens up if given the right key. ■ Adding a new user required two or more users to authenticate the transaction. ethereum