SlideShare a Scribd company logo
1 of 16
Download to read offline
By Alex Komyagin
Why cryptocurrencies?
● Decentralization
● Transparency
● Money laundering
● Because we can
The idea
1. Have private keys as wallets and use public keys as addresses
○ A spending transaction needs to be signed
2. Store transactions in a
distributed decentralized store
3. PROFIT!!!
What is blockchain?
It is a continuously growing list of records, called blocks, which are linked and
secured using cryptography (from Wiki)
● Immutable
● Secure by design
● Managed by a distributed P2P network
○ Every node has a local copy
○ Every node performs block validation
○ Every node works on the longest tree
○ Every node generates(mines) new blocks
● DDoS attacks and fake transactions are avoided by
requiring Proof-of-Work
Blockchain is more than Bitcoin
● You can use blockchain as a distributed database of any type of records or
assets
○ Perhaps we could even store code there
● Options:
○ Fork Bitcoin, e.g. Namecoin (DNS registry)
○ Write your own from scratch
● How about a generic framework?
What is Ethereum?
● A framework for building new blockchain-based applications
● A turing-complete distributed VM
○ Smart contracts - vending machine
○ Code is written in Solidity (a strange child of Java, C and the 90’s)
○ Every node runs the code
■ Infinite loops are prevented by gas limit
● Subtle technological differences
○ Memory complex PoW
○ Uncles are rewarded by the miner of the block
● Great marketing
Types of clients
● Full client
○ Has a full copy of the blockchain
○ Processes and validates all transactions
○ Mines new blocks (optional)
● Light client
○ For small devices
○ Downloads block headers by default
○ Verifies only what needs to be verified
○ DHT is used in place of the local storage
■ State is encoded as a Patricia trie
Mining
How does mining work?
● Miners “compete” to generate a valid block
○ Miners select transactions based on the expected reward (fees, gas, etc)
○ Transactions are posted via RLPx
● Proof of Work
○ DAG - a ~2GB dataset that is occasionally updated
○ ETHash(DAG, Block header, Block nonce) < Target
■ Can’t use Bitcoin ASICs
■ Target is dynamically adjusted to control the difficulty and keep the same ratio of 4-5
blocks per minute
● Miner gets 5 ethers per mined block
○ Uncles get 4.375 ETH (2 uncles per block)
● Miners work on the branch with the highest difficulty
○ This is where the 51% of resources needed to control the blockchain came from
Mining is not really profitable
● Requires high-end expensive GPU’s
● Participation in mining pools
○ For slower nodes it can take years to solve the PoW problem
○ Can it be a threat to decentralization?
● Ethereum might be switching to “Proof of Stake” in the near future
Future challenges
● Volatility
● Capped market
● Mining will soon become completely non-profitable or obsolete
● Regulation
● Time for transaction confirmation (12 blocks)
● What for?
○ Ethereum seems like a good bet because it’s a decentralized computer rather than just a
currency
Thank you
Links
https://www.cryptocompare.com/wallets/guides/how-do-digital-signatures-in-bitcoi
n-work/
https://ethereum.stackexchange.com/questions/5888/relationship-between-transac
tion-trie-and-receipts-trie
http://gavwood.com/Paper.pdf
https://github.com/ethereum/wiki/wiki/White-Paper
https://github.com/ethereum/devp2p/blob/master/rlpx.md

More Related Content

What's hot

Blockchain – The future of Internet by Moinur Rahman
Blockchain – The future of Internet by Moinur RahmanBlockchain – The future of Internet by Moinur Rahman
Blockchain – The future of Internet by Moinur RahmanMyNOG
 
The Bitcoin Lightning Network
The Bitcoin Lightning NetworkThe Bitcoin Lightning Network
The Bitcoin Lightning NetworkShun Shiku
 
Introduction to Bitcoin for programmers
Introduction to Bitcoin for programmersIntroduction to Bitcoin for programmers
Introduction to Bitcoin for programmersWojciech Langiewicz
 
Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2Wojciech Langiewicz
 
Bitcoin: introduction for programmers - Pecha Kucha
Bitcoin:   introduction for programmers - Pecha KuchaBitcoin:   introduction for programmers - Pecha Kucha
Bitcoin: introduction for programmers - Pecha KuchaWojciech Langiewicz
 
Blockchain: A beginning of Era...
Blockchain: A beginning of Era...Blockchain: A beginning of Era...
Blockchain: A beginning of Era...Rajesh Kumar
 
Overview of bitcoin
Overview of bitcoinOverview of bitcoin
Overview of bitcoinAbdul Nasir
 
Real world blockchains
Real world blockchainsReal world blockchains
Real world blockchainsDmitry Meshkov
 
PSU CSE 541 Project Idea
PSU CSE 541 Project IdeaPSU CSE 541 Project Idea
PSU CSE 541 Project IdeaNitish Upreti
 
Big(data) in block(chains)
Big(data) in block(chains)Big(data) in block(chains)
Big(data) in block(chains)Felix Crisan
 
The Lightning Network - A gentle introduction
The Lightning Network - A gentle introductionThe Lightning Network - A gentle introduction
The Lightning Network - A gentle introductionRoland Stadler
 
Information security in private blockchains
Information security in private blockchainsInformation security in private blockchains
Information security in private blockchainsCoin Sciences Ltd
 
BCHGraz - Meetup #10 - DASH (digital cash) by Valentin Kalinov
BCHGraz - Meetup #10 - DASH (digital cash) by Valentin KalinovBCHGraz - Meetup #10 - DASH (digital cash) by Valentin Kalinov
BCHGraz - Meetup #10 - DASH (digital cash) by Valentin KalinovBlockchainHub Graz
 
Intro to blockchain technology
Intro to blockchain technologyIntro to blockchain technology
Intro to blockchain technologyGalin Dinkov
 

What's hot (20)

Blockchain – The future of Internet by Moinur Rahman
Blockchain – The future of Internet by Moinur RahmanBlockchain – The future of Internet by Moinur Rahman
Blockchain – The future of Internet by Moinur Rahman
 
The Bitcoin Lightning Network
The Bitcoin Lightning NetworkThe Bitcoin Lightning Network
The Bitcoin Lightning Network
 
Crypto currency1
Crypto currency1Crypto currency1
Crypto currency1
 
Introduction to Bitcoin for programmers
Introduction to Bitcoin for programmersIntroduction to Bitcoin for programmers
Introduction to Bitcoin for programmers
 
Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2
 
Bitcoin: introduction for programmers - Pecha Kucha
Bitcoin:   introduction for programmers - Pecha KuchaBitcoin:   introduction for programmers - Pecha Kucha
Bitcoin: introduction for programmers - Pecha Kucha
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain: A beginning of Era...
Blockchain: A beginning of Era...Blockchain: A beginning of Era...
Blockchain: A beginning of Era...
 
Introduction to Blockchain and Ethereum
Introduction to Blockchain and EthereumIntroduction to Blockchain and Ethereum
Introduction to Blockchain and Ethereum
 
Overview of bitcoin
Overview of bitcoinOverview of bitcoin
Overview of bitcoin
 
Real world blockchains
Real world blockchainsReal world blockchains
Real world blockchains
 
PSU CSE 541 Project Idea
PSU CSE 541 Project IdeaPSU CSE 541 Project Idea
PSU CSE 541 Project Idea
 
Big(data) in block(chains)
Big(data) in block(chains)Big(data) in block(chains)
Big(data) in block(chains)
 
The Lightning Network - A gentle introduction
The Lightning Network - A gentle introductionThe Lightning Network - A gentle introduction
The Lightning Network - A gentle introduction
 
402 @ Mobile next
402 @ Mobile next402 @ Mobile next
402 @ Mobile next
 
Information security in private blockchains
Information security in private blockchainsInformation security in private blockchains
Information security in private blockchains
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
BCHGraz - Meetup #10 - DASH (digital cash) by Valentin Kalinov
BCHGraz - Meetup #10 - DASH (digital cash) by Valentin KalinovBCHGraz - Meetup #10 - DASH (digital cash) by Valentin Kalinov
BCHGraz - Meetup #10 - DASH (digital cash) by Valentin Kalinov
 
Writing smart contracts
Writing smart contractsWriting smart contracts
Writing smart contracts
 
Intro to blockchain technology
Intro to blockchain technologyIntro to blockchain technology
Intro to blockchain technology
 

Similar to Ethereum overview

Blockchan For Developers
Blockchan For DevelopersBlockchan For Developers
Blockchan For DevelopersAlex Chepurnoy
 
Fluent destry saul
Fluent destry saulFluent destry saul
Fluent destry saulDestry Saul
 
Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodGalin Dinkov
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroTal Shmueli
 
Fredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slidesFredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slidesAlex Akselrod
 
Blockchain 101
Blockchain 101Blockchain 101
Blockchain 101Oded Noam
 
Blockchain, bitcoin, ethereum and ICOs
Blockchain, bitcoin, ethereum and ICOsBlockchain, bitcoin, ethereum and ICOs
Blockchain, bitcoin, ethereum and ICOsBogdan Fiedur
 
Blockchain For Developers
Blockchain For DevelopersBlockchain For Developers
Blockchain For DevelopersAlex Chepurnoy
 
Intro to Blockchain Slides
Intro to Blockchain SlidesIntro to Blockchain Slides
Intro to Blockchain SlidesShannon Wells
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and BitcoinKeenan Olsen
 
"How Blockchains and Bitcoins work" by Ricardo Águas @ Pizza Talks Lisbon 201...
"How Blockchains and Bitcoins work" by Ricardo Águas @ Pizza Talks Lisbon 201..."How Blockchains and Bitcoins work" by Ricardo Águas @ Pizza Talks Lisbon 201...
"How Blockchains and Bitcoins work" by Ricardo Águas @ Pizza Talks Lisbon 201...Equal Experts
 
Blockchain, bitcoin
Blockchain, bitcoinBlockchain, bitcoin
Blockchain, bitcoinSathish VJ
 
Crypto 101 and a bit more [Sep-2022]
Crypto 101 and a bit more [Sep-2022]Crypto 101 and a bit more [Sep-2022]
Crypto 101 and a bit more [Sep-2022]Ido Green
 
Blockchain with scala
Blockchain with scalaBlockchain with scala
Blockchain with scalaHongchao Liu
 
Blockchain Basics
Blockchain BasicsBlockchain Basics
Blockchain BasicsAli Ayyash
 
Crypto Fundamentals - Bitcoin, Altcoins, Forks, Blockchain
Crypto Fundamentals - Bitcoin, Altcoins, Forks, BlockchainCrypto Fundamentals - Bitcoin, Altcoins, Forks, Blockchain
Crypto Fundamentals - Bitcoin, Altcoins, Forks, BlockchainThatCrypto
 
Bitcoin lightning network and ethereum protocols
Bitcoin lightning network and ethereum protocolsBitcoin lightning network and ethereum protocols
Bitcoin lightning network and ethereum protocolsSUSMIT LAVANIA
 

Similar to Ethereum overview (20)

Blockchan For Developers
Blockchan For DevelopersBlockchan For Developers
Blockchan For Developers
 
Fluent destry saul
Fluent destry saulFluent destry saul
Fluent destry saul
 
Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the Hood
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies Intro
 
Fredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slidesFredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slides
 
Blockchain 101
Blockchain 101Blockchain 101
Blockchain 101
 
Blockchain introduction
Blockchain introductionBlockchain introduction
Blockchain introduction
 
Blockchain, bitcoin, ethereum and ICOs
Blockchain, bitcoin, ethereum and ICOsBlockchain, bitcoin, ethereum and ICOs
Blockchain, bitcoin, ethereum and ICOs
 
Blockchain For Developers
Blockchain For DevelopersBlockchain For Developers
Blockchain For Developers
 
Intro to Blockchain Slides
Intro to Blockchain SlidesIntro to Blockchain Slides
Intro to Blockchain Slides
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and Bitcoin
 
"How Blockchains and Bitcoins work" by Ricardo Águas @ Pizza Talks Lisbon 201...
"How Blockchains and Bitcoins work" by Ricardo Águas @ Pizza Talks Lisbon 201..."How Blockchains and Bitcoins work" by Ricardo Águas @ Pizza Talks Lisbon 201...
"How Blockchains and Bitcoins work" by Ricardo Águas @ Pizza Talks Lisbon 201...
 
Blockchain, bitcoin
Blockchain, bitcoinBlockchain, bitcoin
Blockchain, bitcoin
 
Blockchain for Beginners
Blockchain for Beginners Blockchain for Beginners
Blockchain for Beginners
 
Crypto 101 and a bit more [Sep-2022]
Crypto 101 and a bit more [Sep-2022]Crypto 101 and a bit more [Sep-2022]
Crypto 101 and a bit more [Sep-2022]
 
Blockchain with scala
Blockchain with scalaBlockchain with scala
Blockchain with scala
 
Blockchain Basics
Blockchain BasicsBlockchain Basics
Blockchain Basics
 
Blockchain and bitcoin
Blockchain and bitcoinBlockchain and bitcoin
Blockchain and bitcoin
 
Crypto Fundamentals - Bitcoin, Altcoins, Forks, Blockchain
Crypto Fundamentals - Bitcoin, Altcoins, Forks, BlockchainCrypto Fundamentals - Bitcoin, Altcoins, Forks, Blockchain
Crypto Fundamentals - Bitcoin, Altcoins, Forks, Blockchain
 
Bitcoin lightning network and ethereum protocols
Bitcoin lightning network and ethereum protocolsBitcoin lightning network and ethereum protocols
Bitcoin lightning network and ethereum protocols
 

Recently uploaded

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 

Recently uploaded (20)

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 

Ethereum overview

  • 2. Why cryptocurrencies? ● Decentralization ● Transparency ● Money laundering ● Because we can
  • 3. The idea 1. Have private keys as wallets and use public keys as addresses ○ A spending transaction needs to be signed 2. Store transactions in a distributed decentralized store 3. PROFIT!!!
  • 4. What is blockchain? It is a continuously growing list of records, called blocks, which are linked and secured using cryptography (from Wiki) ● Immutable ● Secure by design ● Managed by a distributed P2P network ○ Every node has a local copy ○ Every node performs block validation ○ Every node works on the longest tree ○ Every node generates(mines) new blocks ● DDoS attacks and fake transactions are avoided by requiring Proof-of-Work
  • 5.
  • 6. Blockchain is more than Bitcoin ● You can use blockchain as a distributed database of any type of records or assets ○ Perhaps we could even store code there ● Options: ○ Fork Bitcoin, e.g. Namecoin (DNS registry) ○ Write your own from scratch ● How about a generic framework?
  • 7. What is Ethereum? ● A framework for building new blockchain-based applications ● A turing-complete distributed VM ○ Smart contracts - vending machine ○ Code is written in Solidity (a strange child of Java, C and the 90’s) ○ Every node runs the code ■ Infinite loops are prevented by gas limit ● Subtle technological differences ○ Memory complex PoW ○ Uncles are rewarded by the miner of the block ● Great marketing
  • 8.
  • 9. Types of clients ● Full client ○ Has a full copy of the blockchain ○ Processes and validates all transactions ○ Mines new blocks (optional) ● Light client ○ For small devices ○ Downloads block headers by default ○ Verifies only what needs to be verified ○ DHT is used in place of the local storage ■ State is encoded as a Patricia trie
  • 11. How does mining work? ● Miners “compete” to generate a valid block ○ Miners select transactions based on the expected reward (fees, gas, etc) ○ Transactions are posted via RLPx ● Proof of Work ○ DAG - a ~2GB dataset that is occasionally updated ○ ETHash(DAG, Block header, Block nonce) < Target ■ Can’t use Bitcoin ASICs ■ Target is dynamically adjusted to control the difficulty and keep the same ratio of 4-5 blocks per minute ● Miner gets 5 ethers per mined block ○ Uncles get 4.375 ETH (2 uncles per block) ● Miners work on the branch with the highest difficulty ○ This is where the 51% of resources needed to control the blockchain came from
  • 12.
  • 13. Mining is not really profitable ● Requires high-end expensive GPU’s ● Participation in mining pools ○ For slower nodes it can take years to solve the PoW problem ○ Can it be a threat to decentralization? ● Ethereum might be switching to “Proof of Stake” in the near future
  • 14. Future challenges ● Volatility ● Capped market ● Mining will soon become completely non-profitable or obsolete ● Regulation ● Time for transaction confirmation (12 blocks) ● What for? ○ Ethereum seems like a good bet because it’s a decentralized computer rather than just a currency