SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
Scaling Ethereum
Sidechains, ZK-Proofs,
and Optimistic Rollups
Anthony Campolo
QuickNode Developer Advocate
Problem
The Ethereum network
creates a new block
every 12 to 14 seconds
Vitalik Buterin
Scalability, Part 1: Building on Top (2014)
Joseph Poon, Thaddeus Dryja
Bitcoin Lightning Network (2015)
Joseph Poon, Vitalik Buterin
Plasma: Scalable Autonomous Smart Contracts (2017)
Plasma is a proposed framework for incentivized and enforced
execution of smart contracts, scalable to a significant amount of state
updates per second (potentially billions)…
…enabling the blockchain to be able to represent a significant amount
of decentralized financial applications worldwide.
I - Plasma
● Child chain and root chain communication/arbitration secured by fraud proofs
● Each child chain has its own mechanisms for validating blocks
● Particular fraud proofs can be built on different consensus algorithms
Joseph Poon, Vitalik Buterin
Plasma: Scalable Autonomous
Smart Contracts (2017)
I - Plasma Pros and Cons
Pros ✅
● Layer 2 operations enable lower fees and faster computation
● Reduces amount of necessary data processing on Layer 1
● Compatible with Layer 1 scaling solutions like sharding
Cons ❌
● Paper sketches a system more than an implementation, leading to
multiple implementations (Plasma MVP, Cash, and Debit)
● Funds can only be withdrawn after lengthy waiting period
II - Sidechains
● Separate Layer 2 chains operating independently and running in
parallel to Layer 1 (Ethereum Mainnet), connected by a two-way bridge.
● Has own consensus algorithm and block parameters.
Vaibhav Saini
Difference between SideChains
and State Channels (2018)
II - Sidechains Pros and Cons
Pros ✅
● Established technology
● Supports general computation
Cons ❌
● Less decentralized
● Separate consensus mechanism not secured by Layer 1
● Quorum of validators can commit fraud
II - Sidechain Implementation - Polygon
● Clone of Layer 1 chain that supports
transferring assets to and from Layer 1
to Layer 2.
● Layer 2 is a new blockchain with its own
consensus mechanism for creating
blocks.
Polygon Lightpaper (2021)
III - ZK-Rollups
● Layer 2 scaling solution in which all
funds are held by a smart contract on
the Layer 1 chain, while computation
and storage are performed off-chain.
● For every Rollup block, a state
transition zero-knowledge proof is
generated and verified by the Layer 1
chain contract.
● Mass transfer processing of
hundreds of transfers is rolled into a
single transaction
Xavier Salleras, Vanesa Daza
Zero-Knowledge Proofs in
Embedded Systems (2021)
III - ZK-Rollups Pros and Cons
Pros ✅
● Reduced fees per user transfer
● Less data contained in each transaction
● Does not require a fraud game verification
Cons ❌
● Computing zero knowledge proofs requires data optimization for
maximum throughput
● Security scheme assumes a level of unverifiable trust
IV - Optimistic Rollups
● ZK-Rollups prove to Ethereum that transactions are valid
● In contrast, Optimistic Rollups assume the transactions are valid and
leave room for others to prove fraud.
Sam Richards, Corwin Smith
Optimistic Rollups (2022)
IV - Optimistic Rollups Pros and Cons
Pros ✅
● EVM and Solidity compatible
● More flexible than ZK-Rollups
● Data is available and secured on-chain
Cons ❌
● Limited throughput compared to ZK Rollups
● Requires both an honest majority of Ethereum validators and at
least one aggregator that does not censor transactions
IV - Optimistic Rollup Implementation #1 - Arbitrum
● Alice and Bob will engage in a back-
and-forth protocol, refereed by an L1
contract, to resolve their dispute with
minimal work required from any L1
contract.
● Arbitrum's approach is based on
dissection of the dispute.
Arbitrum White Paper (2018)
IV - Optimistic Rollup Implementation #2 - Optimism
● State commitments published to Layer 1
without direct proof of commitment
validity. Considered pending for a period
of time, a "challenge window”.
● If proposed state commitment goes
unchallenged for duration of challenge
window (7 days), it’s considered final.
● Once commitment considered final,
Layer 1 smart contracts safely accept
proofs based on commitment. Paradigm Research
How does Optimism’s
Rollup work? (2021)
Citations
Scalability (2014), V. Buterin
blog.ethereum.org/2014/09/17/scalability-part-1-building-top/
Bitcoin Lightning Network (2015), J. Poon, T. Dryja
lightning.network/lightning-network-paper.pdf
Plasma (2017), J. Poon, V. Buterin
plasma.io/plasma.pdf
Sidechains and State Channels (2018), V. Saini
hackernoon.com/difference-between-sidechains-and-state-
channels-2f5dfbd10707
Polygon (2021)
polygon.technology/lightpaper-polygon.pdf
ZK Proofs in Embedded Systems (2021), X. Salleras, V. Daza
eprint.iacr.org/2021/1382
Optimistic Rollups (2022), S. Richards, C. Smith
ethereum.org/en/developers/docs/scaling/optimistic-rollups/
Arbitrum (2018)
usenix.org/system/files/conference/usenixsecurity18/sec18-
kalodner.pdf
How does Optimism’s Rollup work? (2021), Paradigm Research
research.paradigm.xyz/optimism
QuickNode
Home Page quicknode.com


Twitter twitter.com/QuickNode


Events lu.ma/QuickNode


Apr 25 7:30 lu.ma/qnxbuildspace


Jobs jobs.lever.co/quicknode


Discord discord.gg/f2jmEtmSWY
Slides
https://www.slideshare.net/
AnthonyCampolo/eth-amsterdam-
scaling-ethereum/

Contenu connexe

Similaire à ETH Amsterdam - Scaling Ethereum

Blockchain Basics
Blockchain BasicsBlockchain Basics
Blockchain BasicsAli Ayyash
 
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...Zeeve
 
Distributed Ledger Technologies for International Banking - Eternic
Distributed Ledger Technologies for International Banking - EternicDistributed Ledger Technologies for International Banking - Eternic
Distributed Ledger Technologies for International Banking - EternicEternic
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruLennartF
 
Distributed Ledger Technologies for International Banking
Distributed Ledger Technologies for International BankingDistributed Ledger Technologies for International Banking
Distributed Ledger Technologies for International BankingEternic
 
DLT developments in finance
DLT developments in financeDLT developments in finance
DLT developments in financeAlphons Ranner
 
DLT developments in Finance
DLT developments in FinanceDLT developments in Finance
DLT developments in FinanceAlphons Ranner
 
Introducing new Proof-of-Stake based networks - Why your network participatio...
Introducing new Proof-of-Stake based networks - Why your network participatio...Introducing new Proof-of-Stake based networks - Why your network participatio...
Introducing new Proof-of-Stake based networks - Why your network participatio...Michael Ng
 
Blockchain and Supply Chain (Series: Blockchain Basics)
Blockchain and Supply Chain (Series: Blockchain Basics)Blockchain and Supply Chain (Series: Blockchain Basics)
Blockchain and Supply Chain (Series: Blockchain Basics)Financial Poise
 
From 7331 to legal : a selection of blockchain discussion topics
From 7331 to legal : a selection of blockchain discussion topicsFrom 7331 to legal : a selection of blockchain discussion topics
From 7331 to legal : a selection of blockchain discussion topicsKoen Vingerhoets
 
20190316 - CLBFest - 1337 to legal - Koen Vingerhoets
20190316 - CLBFest - 1337 to legal - Koen Vingerhoets20190316 - CLBFest - 1337 to legal - Koen Vingerhoets
20190316 - CLBFest - 1337 to legal - Koen VingerhoetsBrussels Legal Hackers
 
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...Zeeve
 
InfiniteChain White Paper
InfiniteChain White Paper InfiniteChain White Paper
InfiniteChain White Paper InfiniteChain
 
Smart Contract: QA Role for Decentralized Platform
Smart Contract: QA Role for Decentralized PlatformSmart Contract: QA Role for Decentralized Platform
Smart Contract: QA Role for Decentralized PlatformMarco Andrade
 
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Codemotion
 
Blockchain in the Heart of Digital Transformation
Blockchain in the Heart of Digital TransformationBlockchain in the Heart of Digital Transformation
Blockchain in the Heart of Digital TransformationDr. Mohamed Torky
 
Cryptomonday #3: Algorand @ CryptoLab
Cryptomonday #3: Algorand @ CryptoLabCryptomonday #3: Algorand @ CryptoLab
Cryptomonday #3: Algorand @ CryptoLabAdrianoDiLuzio
 
Blockchain @ Insurance Analytics Summit Canada
Blockchain @ Insurance Analytics Summit CanadaBlockchain @ Insurance Analytics Summit Canada
Blockchain @ Insurance Analytics Summit CanadaCristina Ignatenco
 

Similaire à ETH Amsterdam - Scaling Ethereum (20)

Blockchain Basics
Blockchain BasicsBlockchain Basics
Blockchain Basics
 
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
 
Distributed Ledger Technologies for International Banking - Eternic
Distributed Ledger Technologies for International Banking - EternicDistributed Ledger Technologies for International Banking - Eternic
Distributed Ledger Technologies for International Banking - Eternic
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ru
 
Distributed Ledger Technologies for International Banking
Distributed Ledger Technologies for International BankingDistributed Ledger Technologies for International Banking
Distributed Ledger Technologies for International Banking
 
DLT developments in finance
DLT developments in financeDLT developments in finance
DLT developments in finance
 
DLT developments in Finance
DLT developments in FinanceDLT developments in Finance
DLT developments in Finance
 
Introducing new Proof-of-Stake based networks - Why your network participatio...
Introducing new Proof-of-Stake based networks - Why your network participatio...Introducing new Proof-of-Stake based networks - Why your network participatio...
Introducing new Proof-of-Stake based networks - Why your network participatio...
 
Blockchain and Supply Chain (Series: Blockchain Basics)
Blockchain and Supply Chain (Series: Blockchain Basics)Blockchain and Supply Chain (Series: Blockchain Basics)
Blockchain and Supply Chain (Series: Blockchain Basics)
 
From 7331 to legal : a selection of blockchain discussion topics
From 7331 to legal : a selection of blockchain discussion topicsFrom 7331 to legal : a selection of blockchain discussion topics
From 7331 to legal : a selection of blockchain discussion topics
 
20190316 - CLBFest - 1337 to legal - Koen Vingerhoets
20190316 - CLBFest - 1337 to legal - Koen Vingerhoets20190316 - CLBFest - 1337 to legal - Koen Vingerhoets
20190316 - CLBFest - 1337 to legal - Koen Vingerhoets
 
blockchain governance : opportunities and challenges
 blockchain governance : opportunities and challenges blockchain governance : opportunities and challenges
blockchain governance : opportunities and challenges
 
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...
Rolling with Rollups Exploring Optimistic & Zero Knowledge Solutions use case...
 
InfiniteChain White Paper
InfiniteChain White Paper InfiniteChain White Paper
InfiniteChain White Paper
 
Smart Contract: QA Role for Decentralized Platform
Smart Contract: QA Role for Decentralized PlatformSmart Contract: QA Role for Decentralized Platform
Smart Contract: QA Role for Decentralized Platform
 
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
 
Blockchain in the Heart of Digital Transformation
Blockchain in the Heart of Digital TransformationBlockchain in the Heart of Digital Transformation
Blockchain in the Heart of Digital Transformation
 
Cryptomonday #3: Algorand @ CryptoLab
Cryptomonday #3: Algorand @ CryptoLabCryptomonday #3: Algorand @ CryptoLab
Cryptomonday #3: Algorand @ CryptoLab
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Blockchain @ Insurance Analytics Summit Canada
Blockchain @ Insurance Analytics Summit CanadaBlockchain @ Insurance Analytics Summit Canada
Blockchain @ Insurance Analytics Summit Canada
 

Dernier

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 

Dernier (20)

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 

ETH Amsterdam - Scaling Ethereum

  • 1. Scaling Ethereum Sidechains, ZK-Proofs, and Optimistic Rollups Anthony Campolo QuickNode Developer Advocate
  • 2. Problem The Ethereum network creates a new block every 12 to 14 seconds
  • 3. Vitalik Buterin Scalability, Part 1: Building on Top (2014)
  • 4. Joseph Poon, Thaddeus Dryja Bitcoin Lightning Network (2015)
  • 5. Joseph Poon, Vitalik Buterin Plasma: Scalable Autonomous Smart Contracts (2017) Plasma is a proposed framework for incentivized and enforced execution of smart contracts, scalable to a significant amount of state updates per second (potentially billions)… …enabling the blockchain to be able to represent a significant amount of decentralized financial applications worldwide.
  • 6. I - Plasma ● Child chain and root chain communication/arbitration secured by fraud proofs ● Each child chain has its own mechanisms for validating blocks ● Particular fraud proofs can be built on different consensus algorithms Joseph Poon, Vitalik Buterin Plasma: Scalable Autonomous Smart Contracts (2017)
  • 7. I - Plasma Pros and Cons Pros ✅ ● Layer 2 operations enable lower fees and faster computation ● Reduces amount of necessary data processing on Layer 1 ● Compatible with Layer 1 scaling solutions like sharding Cons ❌ ● Paper sketches a system more than an implementation, leading to multiple implementations (Plasma MVP, Cash, and Debit) ● Funds can only be withdrawn after lengthy waiting period
  • 8. II - Sidechains ● Separate Layer 2 chains operating independently and running in parallel to Layer 1 (Ethereum Mainnet), connected by a two-way bridge. ● Has own consensus algorithm and block parameters. Vaibhav Saini Difference between SideChains and State Channels (2018)
  • 9. II - Sidechains Pros and Cons Pros ✅ ● Established technology ● Supports general computation Cons ❌ ● Less decentralized ● Separate consensus mechanism not secured by Layer 1 ● Quorum of validators can commit fraud
  • 10. II - Sidechain Implementation - Polygon ● Clone of Layer 1 chain that supports transferring assets to and from Layer 1 to Layer 2. ● Layer 2 is a new blockchain with its own consensus mechanism for creating blocks. Polygon Lightpaper (2021)
  • 11. III - ZK-Rollups ● Layer 2 scaling solution in which all funds are held by a smart contract on the Layer 1 chain, while computation and storage are performed off-chain. ● For every Rollup block, a state transition zero-knowledge proof is generated and verified by the Layer 1 chain contract. ● Mass transfer processing of hundreds of transfers is rolled into a single transaction Xavier Salleras, Vanesa Daza Zero-Knowledge Proofs in Embedded Systems (2021)
  • 12. III - ZK-Rollups Pros and Cons Pros ✅ ● Reduced fees per user transfer ● Less data contained in each transaction ● Does not require a fraud game verification Cons ❌ ● Computing zero knowledge proofs requires data optimization for maximum throughput ● Security scheme assumes a level of unverifiable trust
  • 13. IV - Optimistic Rollups ● ZK-Rollups prove to Ethereum that transactions are valid ● In contrast, Optimistic Rollups assume the transactions are valid and leave room for others to prove fraud. Sam Richards, Corwin Smith Optimistic Rollups (2022)
  • 14. IV - Optimistic Rollups Pros and Cons Pros ✅ ● EVM and Solidity compatible ● More flexible than ZK-Rollups ● Data is available and secured on-chain Cons ❌ ● Limited throughput compared to ZK Rollups ● Requires both an honest majority of Ethereum validators and at least one aggregator that does not censor transactions
  • 15. IV - Optimistic Rollup Implementation #1 - Arbitrum ● Alice and Bob will engage in a back- and-forth protocol, refereed by an L1 contract, to resolve their dispute with minimal work required from any L1 contract. ● Arbitrum's approach is based on dissection of the dispute. Arbitrum White Paper (2018)
  • 16. IV - Optimistic Rollup Implementation #2 - Optimism ● State commitments published to Layer 1 without direct proof of commitment validity. Considered pending for a period of time, a "challenge window”. ● If proposed state commitment goes unchallenged for duration of challenge window (7 days), it’s considered final. ● Once commitment considered final, Layer 1 smart contracts safely accept proofs based on commitment. Paradigm Research How does Optimism’s Rollup work? (2021)
  • 17. Citations Scalability (2014), V. Buterin blog.ethereum.org/2014/09/17/scalability-part-1-building-top/ Bitcoin Lightning Network (2015), J. Poon, T. Dryja lightning.network/lightning-network-paper.pdf Plasma (2017), J. Poon, V. Buterin plasma.io/plasma.pdf Sidechains and State Channels (2018), V. Saini hackernoon.com/difference-between-sidechains-and-state- channels-2f5dfbd10707 Polygon (2021) polygon.technology/lightpaper-polygon.pdf ZK Proofs in Embedded Systems (2021), X. Salleras, V. Daza eprint.iacr.org/2021/1382 Optimistic Rollups (2022), S. Richards, C. Smith ethereum.org/en/developers/docs/scaling/optimistic-rollups/ Arbitrum (2018) usenix.org/system/files/conference/usenixsecurity18/sec18- kalodner.pdf How does Optimism’s Rollup work? (2021), Paradigm Research research.paradigm.xyz/optimism
  • 18. QuickNode Home Page quicknode.com Twitter twitter.com/QuickNode Events lu.ma/QuickNode Apr 25 7:30 lu.ma/qnxbuildspace Jobs jobs.lever.co/quicknode Discord discord.gg/f2jmEtmSWY