SlideShare a Scribd company logo
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/

More Related Content

Similar to ETH Amsterdam - Scaling Ethereum

Blockchain Basics
Blockchain BasicsBlockchain Basics
Blockchain Basics
Ali 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 - Eternic
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
LennartF
 
Distributed Ledger Technologies for International Banking
Distributed Ledger Technologies for International BankingDistributed Ledger Technologies for International Banking
Distributed Ledger Technologies for International Banking
Eternic
 
DLT developments in Finance
DLT developments in FinanceDLT developments in Finance
DLT developments in Finance
Alphons Ranner
 
DLT developments in finance
DLT developments in financeDLT developments in finance
DLT developments in finance
Alphons 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 topics
Koen 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 Vingerhoets
Brussels Legal Hackers
 
blockchain governance : opportunities and challenges
 blockchain governance : opportunities and challenges blockchain governance : opportunities and challenges
blockchain governance : opportunities and challenges
Rachid Meziani, PhD, CGEIT, PMP
 
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 Platform
Marco 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 2018
Codemotion
 
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
Dr. Mohamed Torky
 
Cryptomonday #3: Algorand @ CryptoLab
Cryptomonday #3: Algorand @ CryptoLabCryptomonday #3: Algorand @ CryptoLab
Cryptomonday #3: Algorand @ CryptoLab
AdrianoDiLuzio
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
Mufaddal Nullwala
 
Blockchain @ Insurance Analytics Summit Canada
Blockchain @ Insurance Analytics Summit CanadaBlockchain @ Insurance Analytics Summit Canada
Blockchain @ Insurance Analytics Summit Canada
Cristina Ignatenco
 

Similar to 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
 

Recently uploaded

De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 

Recently uploaded (20)

De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 

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