SlideShare a Scribd company logo
JasonSimeonGenge
https://www.slideshare.net/jasonsimeongenge1
2017
Jason Simeon Genge
The Blockchain
■ In 2008,Bitcoinwas launchedas a peer-to-peer
database that reliedona new data structure
referredto as the‘blockchain’.
■ The blockchain consists of blocks,whereeach
block holds a set of transactions anda 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 withouthavingtoget them
froma centralauthority.
-
-
-
-
-
-
-
-
-
ethereumJason Simeon Genge
Distributed Consensus
■ In orderto control how new blocks (with new
transactions) are added to the chain,the design
relies ona consensus mechanism which requires
anyone (a nodeinthe peerto peernetwork) who
wouldlike to nominate a new block (with new
transactions it has gatheredfromits peers) to solve
a puzzle that requires significant computations
(computer processing power). The difficulty of this
puzzle is dynamically adjustedsuch that it takes on
average 10 minutes for any one nodeto solve the
puzzle.Aprocess knownasmining.
■ Whenever a nodesolves the puzzle andcreate the
new block (which includes new transactions that it
has gatheredfromother peers aroundit), the nodeis
rewarded with an amountof newBitcoins which it
can use to pay for the cost of solving the puzzle
(computer equipmentandelectricity).
-
-
-
-
-
-
-
-
-
ethereumethereumJason Simeon Genge
Decentralization
■ Given the architecture of the blockchain,the
database continues to grow so longasnodes
keeptryingto nominate andverify newblocks
regardless of nodes joiningorleaving the network
■ The factthat the entiredatabase exists without
dependingona single node,makes it very powerful
andalmost impossible to alter or destroy (the
decentralized feature of the blockchain)
■ The integrity/validityof transactions inthe block
chain is ensured throughthe use of cryptographic
techniques that make itefficient to verify if any
invalid transactions have been added
-
-
-
-
-
-
-
-
-
ethereumethereumJason Simeon Genge
Beyond Bitcoin
■ The architecture of the blockchain is very powerful as
it enables decentralization while maintainingsecurity.
This has significant implications onthe design of
computersystems asit allows computerapplications
to be scalable andreduce the requirementfor a large
central infrastructure
■ While the first successful use of the blockchain
database architecture was demonstrated onthe
Bitcoin network, manystarted exploringhow theycan
utilize this design for othertransactions beyondvalue
transfer transactions which Bitcoin mainlyhandles
-
-
-
-
-
-
-
-
-
ethereumethereumJason Simeon Genge
Towards a Peer to Peer Computing Framework
■ While, the design of the blockchain solved many
issues when it comes to decentralizing and
securing transactions. There was noeasy way to
specify logic that made use of that database for
purposes beyond the transfer of value between
accounts.
■ The Ethereumproject set out to design the required
pieces to evolve the blockchain froma distributed
transactional database to be part of a general
purposepeerto peercomputing framework.
■ At the heart of ethereumis a virtual machine
capable of executing instructions knownasthe
EthereumVirtual Machine (EVM), it allows the
executionof programmedinstructions stored within
theblockchain
-
-
-
-
-
-
-
-
-
ethereumJason Simeon Genge
-
-
-
-
-
-
-
-
-
The Blockchain of State and Transactions
■ To introducethe ability to execute programs, the
blockchain was modifiedsuch that each block not
only contains the latesttransactions butalso the
latest state of memberprograms (aka., contracts).
■ With every new block the state of contracts in the
blockchain is updatedper the processed
transactions therebytaking the blockchain toa new
state.
■ As amean to ensure that provided instructions do
not runforever, a constraint is builtinto the execution
of every contract so that any party invokinga
contract ina transaction is required to provide
special tokens of monetaryvalue that get
consumed dependingonthe number of instructions
andthe storage used bythe contract.
ethereumJason Simeon Genge
Contracts as Accounts
■ Acontract has a permanentaddressonthe
blockchain which gets assigned when it is
created. This permanentaddress isused to
identifythecontract.
■ Every contract contains a balance of the basic
monetaryunitin the ethereumnetwork referred to as
ether.
■ If a contract does not includeany programmed
instructions,it behaves as an account. It has an
address anda balance. This account can
receive/send ethers from/to other
accounts/contracts.
Address
Balance
ethereumethereumJason Simeon Genge
Contracts as Decentralized Executable Programs
■ Ether is requiredto call a contract, this is done to
ensure that infiniteexecutiondoes notoccur as the
executionstops the momentthe ether amountsent
along with the call isconsumed
■ When a contract is called, a small amountof ether
is requiredto be sent along with the call. This amount
is eventually transferredto the nodethat gets to
nominatethe nextblock inthe blockchain. However,
whena contract is called, an amountof ethercan be
directly transferred to that contract therebyinstituting
a balance transfer like in the case of apayment
■ When referringto the calling of acontract, it is in
reference to invokingone of the methods in the
programmedinstructions which can be used to
execute a certainaction
Fields
-
-
Methods
-
-
Events
-
-
Address
Balance
ethereumethereum
Contracts as Decentralized Executable Programs
■ The executionof amethodcan modifythe state of
the contract bymanipulatingone ormoreof its fields
■ Acontract can also have set of events which are
used to notify interested parties of the occurrence of
certain events duringthelifetime of thecontract
■ Acontract lives forever onthe blockchain once it is
created unless, the originalinstructions made use of
the suicide feature,afeature which destroys a
contract andtransfers its ether balance to another
account
Fields
-
-
Methods
-
-
Events
-
-
Address
Balance
ethereumethereumJason Simeon Genge
Messaging and File Sharing...
ethereum
swarm whisper
■ In additionto the use ofthe ethereumvirtual
machine to execute contract logic. The
ethereumproject also introducedtwo additional
protocols to provide peerto peer supportfor
exchangingmessage as well exchanging static
files
■ The peerto peerprotocol used forexchanging
message is named whisper andit provides a
powerfuldistributedandprivate messaging
capabilities with support for single cast, multicast
andbroadcastmessages
■ The peerto peerprotocol used forexchanging
static files is namedswarm andit provides a new
incentivized approach to distributestatic content
amongpeers andexchange them efficiently
ethereumethereumJason Simeon Genge
Decentralized Messaging
■ Whisper provides a peerto peerprotocolfor
exchangingshort timedmessagesprivately
■ Whisper relies ona subject key (Topic) approach to
deliver messages wheremessages are published
usinga hashedtopic
■ Messages can beencryptedwith a specific key for
privacy
■ Indirectly supportsbroadcast, multicast and
unicast
■ Whisper is ahighlatency andlow bandwidth
messagingprotocol
■ Provides the ability to use masks/filters to narrow
down topics of interest withoutgiving away what
topic is beingsought
whisper
ethereumethereum
Incentivized File Transfer ...
swarm
■ Leverages the underlyingethereum infrastructure
throughthe use of acontracts andethers to
encourage cooperationamong nodes
■ Filesare split into chunkswhich are stored in
nodes in thenetwork
■ An accounting protocol is used bypeers tokeep track
of chunks delivered andreceived and resultingmicro-
payments owed
ethereumethereumJason Simeon Genge
DEMO
■ Assume we wouldliketo createa smart door
which opens upif given the rightkey.
■ Addinganew user requiredtwo ormoreusers to
authenticate thetransaction.
ethereumethereumJason Simeon Genge
ethereum
Jason Simeon Genge
https://twitter.com/jasonsimeongeng
https://www.facebook.com/jason.simeongenge.5
https://www.linkedin.com/in/jason-simeon-genge-60bba7152/
https://jasonsimeongenge.wordpress.com/

More Related Content

PDF
Jason genge what is ethereum
PPTX
Li Haidong, Bounty Resources Armenia, Li Haidong Singapore
PDF
Ethereum bxl
PDF
The Ethereum Experience
PDF
Ethereum Mining How To
PDF
BCHGraz - Meetup #8 - Intro & Ethereum
PPT
Ethereum introduction
PPTX
Overview of Blockchain Consensus Mechanisms
Jason genge what is ethereum
Li Haidong, Bounty Resources Armenia, Li Haidong Singapore
Ethereum bxl
The Ethereum Experience
Ethereum Mining How To
BCHGraz - Meetup #8 - Intro & Ethereum
Ethereum introduction
Overview of Blockchain Consensus Mechanisms

What's hot (20)

ODP
Intro to Blockchain - And, by the way, what the heck is proof-of-work?
PPTX
Blockchain consensus algorithms
PPTX
Introduction to Ethereum
PPTX
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
PDF
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
PDF
gething started - ethereum & using the geth golang client
PPTX
Practical Challenges for Public Blockchains
PPTX
Consensus Algorithms - Nakov @ jProfessionals - Jan 2018
PPTX
Ethereum Intro
PDF
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
ODP
CBGTBT - Part 2 - Blockchains 101
PPTX
Blockchain Corporate Style
PDF
Bitcoin and blockchain engineering
ODP
CBGTBT - Part 3 - Transactions 101
PDF
Academic Ethereum
PDF
Bitcoin - Beyond the basics
PDF
create your own cryptocurrency
PDF
An analysis of attacks on blockchain consensus
PPTX
Introduction to Blockchain
PDF
Blockchain - a basic overview
Intro to Blockchain - And, by the way, what the heck is proof-of-work?
Blockchain consensus algorithms
Introduction to Ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
gething started - ethereum & using the geth golang client
Practical Challenges for Public Blockchains
Consensus Algorithms - Nakov @ jProfessionals - Jan 2018
Ethereum Intro
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
CBGTBT - Part 2 - Blockchains 101
Blockchain Corporate Style
Bitcoin and blockchain engineering
CBGTBT - Part 3 - Transactions 101
Academic Ethereum
Bitcoin - Beyond the basics
create your own cryptocurrency
An analysis of attacks on blockchain consensus
Introduction to Blockchain
Blockchain - a basic overview
Ad

Similar to Jason genge (A Bitcoin Lover) - what is ethereum ? (20)

PDF
Introduction to Ethereum
PPTX
Chapter 3.pptx
PPTX
Understanding Ethereum: The Future of Blockchain Technology
PPTX
Blockchain Technology
PDF
Smart Contracts Nothing but Decentralised Workflows?
PPTX
S2Blockchain-2-BC-DLT-040221-rfs blockchain.pptx
PDF
Building Apps with Ethereum Smart Contract
PPTX
Block chain - Smart contacts.pptx
PPTX
Ethereum
PDF
Hyper ledger project
PDF
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
PDF
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
PPTX
Fundamentals of Block chain Technology
PDF
Understanding Blockchain: Distributed Ledger Technology
PPTX
Blockchain workshop 101
PPTX
Blockchain, Ethereum and ConsenSys
PPTX
Overview on Blockchain
PPTX
Blockchain Ecosystem and Cryptocurrency Regulations
PDF
Blockchain Intro + Myths
PPTX
Ethereum Development Tools
Introduction to Ethereum
Chapter 3.pptx
Understanding Ethereum: The Future of Blockchain Technology
Blockchain Technology
Smart Contracts Nothing but Decentralised Workflows?
S2Blockchain-2-BC-DLT-040221-rfs blockchain.pptx
Building Apps with Ethereum Smart Contract
Block chain - Smart contacts.pptx
Ethereum
Hyper ledger project
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Fundamentals of Block chain Technology
Understanding Blockchain: Distributed Ledger Technology
Blockchain workshop 101
Blockchain, Ethereum and ConsenSys
Overview on Blockchain
Blockchain Ecosystem and Cryptocurrency Regulations
Blockchain Intro + Myths
Ethereum Development Tools
Ad

Recently uploaded (20)

PPT
Ethics in Information System - Management Information System
PDF
Alethe Consulting Corporate Profile and Solution Aproach
PDF
mera desh ae watn.(a source of motivation and patriotism to the youth of the ...
PDF
Slides PDF: The World Game (s) Eco Economic Epochs.pdf
PPTX
E -tech empowerment technologies PowerPoint
PPTX
Layers_of_the_Earth_Grade7.pptx class by
PDF
Containerization lab dddddddddddddddmanual.pdf
PDF
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
PDF
Understand the Gitlab_presentation_task.pdf
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PPT
12 Things That Make People Trust a Website Instantly
PDF
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PPTX
Introduction to cybersecurity and digital nettiquette
PDF
The Evolution of Traditional to New Media .pdf
PPTX
Mathew Digital SEO Checklist Guidlines 2025
PPTX
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
PPT
250152213-Excitation-SystemWERRT (1).ppt
PDF
si manuel quezon at mga nagawa sa bansang pilipinas
PPTX
newyork.pptxirantrafgshenepalchinachinane
Ethics in Information System - Management Information System
Alethe Consulting Corporate Profile and Solution Aproach
mera desh ae watn.(a source of motivation and patriotism to the youth of the ...
Slides PDF: The World Game (s) Eco Economic Epochs.pdf
E -tech empowerment technologies PowerPoint
Layers_of_the_Earth_Grade7.pptx class by
Containerization lab dddddddddddddddmanual.pdf
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
Understand the Gitlab_presentation_task.pdf
Power Point - Lesson 3_2.pptx grad school presentation
12 Things That Make People Trust a Website Instantly
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
Introduction to cybersecurity and digital nettiquette
The Evolution of Traditional to New Media .pdf
Mathew Digital SEO Checklist Guidlines 2025
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
250152213-Excitation-SystemWERRT (1).ppt
si manuel quezon at mga nagawa sa bansang pilipinas
newyork.pptxirantrafgshenepalchinachinane

Jason genge (A Bitcoin Lover) - what is ethereum ?

  • 2. The Blockchain ■ In 2008,Bitcoinwas launchedas a peer-to-peer database that reliedona new data structure referredto as the‘blockchain’. ■ The blockchain consists of blocks,whereeach block holds a set of transactions anda 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 withouthavingtoget them froma centralauthority. - - - - - - - - - ethereumJason Simeon Genge
  • 3. Distributed Consensus ■ In orderto control how new blocks (with new transactions) are added to the chain,the design relies ona consensus mechanism which requires anyone (a nodeinthe peerto peernetwork) who wouldlike to nominate a new block (with new transactions it has gatheredfromits peers) to solve a puzzle that requires significant computations (computer processing power). The difficulty of this puzzle is dynamically adjustedsuch that it takes on average 10 minutes for any one nodeto solve the puzzle.Aprocess knownasmining. ■ Whenever a nodesolves the puzzle andcreate the new block (which includes new transactions that it has gatheredfromother peers aroundit), the nodeis rewarded with an amountof newBitcoins which it can use to pay for the cost of solving the puzzle (computer equipmentandelectricity). - - - - - - - - - ethereumethereumJason Simeon Genge
  • 4. Decentralization ■ Given the architecture of the blockchain,the database continues to grow so longasnodes keeptryingto nominate andverify newblocks regardless of nodes joiningorleaving the network ■ The factthat the entiredatabase exists without dependingona single node,makes it very powerful andalmost impossible to alter or destroy (the decentralized feature of the blockchain) ■ The integrity/validityof transactions inthe block chain is ensured throughthe use of cryptographic techniques that make itefficient to verify if any invalid transactions have been added - - - - - - - - - ethereumethereumJason Simeon Genge
  • 5. Beyond Bitcoin ■ The architecture of the blockchain is very powerful as it enables decentralization while maintainingsecurity. This has significant implications onthe design of computersystems asit allows computerapplications to be scalable andreduce the requirementfor a large central infrastructure ■ While the first successful use of the blockchain database architecture was demonstrated onthe Bitcoin network, manystarted exploringhow theycan utilize this design for othertransactions beyondvalue transfer transactions which Bitcoin mainlyhandles - - - - - - - - - ethereumethereumJason Simeon Genge
  • 6. Towards a Peer to Peer Computing Framework ■ While, the design of the blockchain solved many issues when it comes to decentralizing and securing transactions. There was noeasy way to specify logic that made use of that database for purposes beyond the transfer of value between accounts. ■ The Ethereumproject set out to design the required pieces to evolve the blockchain froma distributed transactional database to be part of a general purposepeerto peercomputing framework. ■ At the heart of ethereumis a virtual machine capable of executing instructions knownasthe EthereumVirtual Machine (EVM), it allows the executionof programmedinstructions stored within theblockchain - - - - - - - - - ethereumJason Simeon Genge
  • 7. - - - - - - - - - The Blockchain of State and Transactions ■ To introducethe ability to execute programs, the blockchain was modifiedsuch that each block not only contains the latesttransactions butalso the latest state of memberprograms (aka., contracts). ■ With every new block the state of contracts in the blockchain is updatedper the processed transactions therebytaking the blockchain toa new state. ■ As amean to ensure that provided instructions do not runforever, a constraint is builtinto the execution of every contract so that any party invokinga contract ina transaction is required to provide special tokens of monetaryvalue that get consumed dependingonthe number of instructions andthe storage used bythe contract. ethereumJason Simeon Genge
  • 8. Contracts as Accounts ■ Acontract has a permanentaddressonthe blockchain which gets assigned when it is created. This permanentaddress isused to identifythecontract. ■ Every contract contains a balance of the basic monetaryunitin the ethereumnetwork referred to as ether. ■ If a contract does not includeany programmed instructions,it behaves as an account. It has an address anda balance. This account can receive/send ethers from/to other accounts/contracts. Address Balance ethereumethereumJason Simeon Genge
  • 9. Contracts as Decentralized Executable Programs ■ Ether is requiredto call a contract, this is done to ensure that infiniteexecutiondoes notoccur as the executionstops the momentthe ether amountsent along with the call isconsumed ■ When a contract is called, a small amountof ether is requiredto be sent along with the call. This amount is eventually transferredto the nodethat gets to nominatethe nextblock inthe blockchain. However, whena contract is called, an amountof ethercan be directly transferred to that contract therebyinstituting a balance transfer like in the case of apayment ■ When referringto the calling of acontract, it is in reference to invokingone of the methods in the programmedinstructions which can be used to execute a certainaction Fields - - Methods - - Events - - Address Balance ethereumethereum
  • 10. Contracts as Decentralized Executable Programs ■ The executionof amethodcan modifythe state of the contract bymanipulatingone ormoreof its fields ■ Acontract can also have set of events which are used to notify interested parties of the occurrence of certain events duringthelifetime of thecontract ■ Acontract lives forever onthe blockchain once it is created unless, the originalinstructions made use of the suicide feature,afeature which destroys a contract andtransfers its ether balance to another account Fields - - Methods - - Events - - Address Balance ethereumethereumJason Simeon Genge
  • 11. Messaging and File Sharing... ethereum swarm whisper ■ In additionto the use ofthe ethereumvirtual machine to execute contract logic. The ethereumproject also introducedtwo additional protocols to provide peerto peer supportfor exchangingmessage as well exchanging static files ■ The peerto peerprotocol used forexchanging message is named whisper andit provides a powerfuldistributedandprivate messaging capabilities with support for single cast, multicast andbroadcastmessages ■ The peerto peerprotocol used forexchanging static files is namedswarm andit provides a new incentivized approach to distributestatic content amongpeers andexchange them efficiently ethereumethereumJason Simeon Genge
  • 12. Decentralized Messaging ■ Whisper provides a peerto peerprotocolfor exchangingshort timedmessagesprivately ■ Whisper relies ona subject key (Topic) approach to deliver messages wheremessages are published usinga hashedtopic ■ Messages can beencryptedwith a specific key for privacy ■ Indirectly supportsbroadcast, multicast and unicast ■ Whisper is ahighlatency andlow bandwidth messagingprotocol ■ Provides the ability to use masks/filters to narrow down topics of interest withoutgiving away what topic is beingsought whisper ethereumethereum
  • 13. Incentivized File Transfer ... swarm ■ Leverages the underlyingethereum infrastructure throughthe use of acontracts andethers to encourage cooperationamong nodes ■ Filesare split into chunkswhich are stored in nodes in thenetwork ■ An accounting protocol is used bypeers tokeep track of chunks delivered andreceived and resultingmicro- payments owed ethereumethereumJason Simeon Genge
  • 14. DEMO ■ Assume we wouldliketo createa smart door which opens upif given the rightkey. ■ Addinganew user requiredtwo ormoreusers to authenticate thetransaction. ethereumethereumJason Simeon Genge