SlideShare a Scribd company logo
1 of 44
Download to read offline
Zero-knowledge proofs and why
they are the future of blockchain
Konrad Kokosa
@konradkokosa
1 / 37
@konradkokosa 2 / 37
Moreover...
@konradkokosa 3 / 37
@konradkokosa 4 / 37
Blockchain Trilemma
@konradkokosa 5 / 37
Scalability solutions
On-chain scaling solutions, such as sharding
Side Chains (Polygon)
completely independently operating blockchain
own consensus
interopability via Bridges
State Channel (Connext)
off chain peer-to-peer ad hoc channel
open/close on mainnet
Rollups in general
batching transaction like in "carpool lane"
so... Layer 2
@konradkokosa 6 / 37
"A rollup-centric ethereum roadmap - Fellowship of Ethereum Magicians" by
Vitalik
"eth2’s long-term future: as a single high-security execution shard that everyone
processes, plus a scalable data availability layer"
"Today, Ethereum has ~15 TPS. If everyone moves to rollups, we will soon have
~3000 TPS. Once phase 1 comes along and rollups move to eth2 sharded chains
for their data storage, we go up to a theoretical max of ~100000 TPS."
@konradkokosa 7 / 37
Layer 2 - Optimistic Rollups
gathers and batches transactions
assumes all transactions are correct unless proven otherwise (fraud proofs)
withdrawal to Layer 1 even 7-days long
examples: Optimism, Arbitrum
@konradkokosa 8 / 37
Layer 2 - Zero-knowledge Rollups
gathers and batches transactions
compressed data and validity proof (Zero-knowledge proofs)
examples: Loopring, Polygon Hermez, StarkNet and StarkEx, zkSync
@konradkokosa 9 / 37
Zero-knowledge proofs
"A zero-knowledge protocol is a method by which one party (the prover) can
prove to another party (the verifier) that something is true, without revealing
any information apart from the fact that this specific statement is true." - “The
knowledge complexity of interactive proof systems", 1985
@konradkokosa 10 / 37
Zero-knowledge proofs
"A zero-knowledge protocol is a method by which one party (the prover) can
prove to another party (the verifier) that something is true, without revealing
any information apart from the fact that this specific statement is true." - “The
knowledge complexity of interactive proof systems", 1985
In other words...
@konradkokosa 10 / 37
Zero-knowledge proofs
"A zero-knowledge protocol is a method by which one party (the prover) can
prove to another party (the verifier) that something is true, without revealing
any information apart from the fact that this specific statement is true." - “The
knowledge complexity of interactive proof systems", 1985
In other words...
"tell me you know the secret without telling me the secret"
@konradkokosa 10 / 37
Interactive zero-knowledge proof
A series of questions to the prover that the verifier checks - the more times such
an interaction occurs, the chance that the prover is cheating significantly
decreases
@konradkokosa 11 / 37
Interactive zero-knowledge proof
A series of questions to the prover that the verifier checks - the more times such
an interaction occurs, the chance that the prover is cheating significantly
decreases
Classic example is "The Ali Baba cave" story ("How to Explain Zero-Knowledge
Protocols to Your Children", Quisquater, Jean-Jacques; Guillou, Louis C.; Berson,
Thomas A., 1990)
@konradkokosa 11 / 37
@konradkokosa 12 / 37
@konradkokosa 13 / 37
@konradkokosa 14 / 37
Interactive zero-knowledge proof
source: Walkthrough of an Interactive Zero-Knowledge Proof for Sudoku Puzzle | by Andreas Pogiatzis | Coinmonks | Medium
@konradkokosa 15 / 37
Non-interactive zero-knowledge proof
"Non-interactive zero-knowledge and its applications", Manuel Blum, Paul
Feldman, Silvio Micali, 1988
@konradkokosa 16 / 37
SNARK:
trusted setup
small proof sizes
"easier"©
STARK:
no trusted setup 👍
quasilinear verifier time 👍
post-quantuum resistant
SNARKs vs STARKs
@konradkokosa 17 / 37
Applications
Anonymous payments
ZK-based blockchains like ZCash and Monero
Tornado Cash uses zero-knowledge proofs to obfuscate transaction details
and guarantee financial privacy
Identity and authentication
decentralized identity - aka ‘self-sovereign identity’)
badges - Sismo
@konradkokosa 18 / 37
Applications
Privacy
Aztec protocol - next-generation encrypted blockchain secured by Ethereum,
with Noir - universal ZK Circuit Language (~Q2 2023)
@konradkokosa 19 / 37
Applications
Privacy
Chainlink's Deco - Deco-enabled oracles can prove facts about data sourced
from trusted servers without revealing the data on-chain
@konradkokosa 20 / 37
Applications
Verifiable computation
The entity submits the result along with a proof verifying that the program
was executed correctly
used in ZK Rollups.. zk-Rollups, ZK-Rollups, zkRollups, ...😡
@konradkokosa 21 / 37
"In the medium to long term, ZK rollups will win out
in all use cases as ZK-SNARK technology improves."
— Vitalik Buterin
@konradkokosa 22 / 37
"In the medium to long term, ZK rollups will win out
in all use cases as ZK-SNARK technology improves."
— Vitalik Buterin
according to Vitalik said, the awareness and importance of ZKP will reach
the blockchain awerness level in the next 10 years
@konradkokosa 22 / 37
Layer 2 - Zero-knowledge Rollups
gathers and batches transactions
correctness represented as compressed data and validity proof... but where?
source: Hermez Adds USDT to Layer 2 Ethereum as ZK-Rollups Take Off
@konradkokosa 23 / 37
Layer 2 - Zero-knowledge Rollups
Data availability models:
Rollup - publishing data on-chain
decentralizes the data making it available for users to track and verify
the cost of publishing data is high
@konradkokosa 24 / 37
Layer 2 - Zero-knowledge Rollups
Data availability models:
Rollup - publishing data on-chain
decentralizes the data making it available for users to track and verify
the cost of publishing data is high
Validium - storing data off-chain
reduces costs and enhances privacy
we trust towards the Operator to properly manage and store its data
@konradkokosa 24 / 37
Layer 2 - Zero-knowledge Rollups
Data availability models:
Rollup - publishing data on-chain
decentralizes the data making it available for users to track and verify
the cost of publishing data is high
Validium - storing data off-chain
reduces costs and enhances privacy
we trust towards the Operator to properly manage and store its data
Volition - lets end-users choose per transaction
@konradkokosa 24 / 37
@konradkokosa 25 / 37
source: l2beat.com
@konradkokosa 26 / 37
Layer 2 - Zero-knowledge Rollups
There are two ways to build general DApps in zk-Rollup.
One is building application-specific circuit (“ASIC”) for different DApps.
The other is building a universal “EVM” circuit for smart contract
execution.
Proving general-purpose EVM computation in circuits is more difficult
@konradkokosa 27 / 37
EVM-compatibility (aka zkEVM)
The different types of ZK-EVMs:
Type 1 (fully Ethereum-equivalent) - verify of Ethereum blocks as they are
today (ZK-EVM Community Edition)
Type 2 (fully EVM-equivalent) - the goal is to be fully compatible with
existing applications (at EVM level)
both Scroll zkEVM and Polygon Hermez are targeting there
Type 3 (almost EVM-equivalent) - almost EVM-equivalent, but just remove a
few features
Type 4 (high-level-language equivalent) - transpile high-level language like
Solidity to SNARK/STARK-friendly
zkSync - although it may add compatibility for EVM bytecode over time. N
StarkNet and StarkEx
@konradkokosa 28 / 37
StarkNet and zkSync 🥰
@konradkokosa 29 / 37
source: l2beat.com
@konradkokosa 30 / 37
StarkNet and zkSync 🥰
zkSync 2.0 (~Q2 2023)
uses SNARKs and it's Validium (zkPorter - off-chain PoS data availability)
Type 4 EVM-compatibile zkVM - support Solidity and Vyper
native account abstraction
@konradkokosa 31 / 37
StarkNet and zkSync 🥰
zkSync 2.0 (~Q2 2023)
uses SNARKs and it's Validium (zkPorter - off-chain PoS data availability)
Type 4 EVM-compatibile zkVM - support Solidity and Vyper
native account abstraction
StarkNet (~Q1 2023)
uses STARKs and it's zk-Rollup (but there's StarkEx too)
Type 4 EVM-compatibile, runs ZK-compatible virtual machine CairoVM
and programs written in Cairo
Warp transpiler from Solidity to Cairo (eg. Uniswap v3 Core contracts)
native account abstraction
@konradkokosa 31 / 37
@konradkokosa 32 / 37
StarkNet + 2023 = 😍
Great Twitter threads:
complete tutorial on how to set up your StarkNet wallet and bring funds to it
StarkNet airdrop strategy #1
StarkNet airdrop strategy #2
StarkNet testnet opportunities
@konradkokosa 33 / 37
...why it is future of blockchain
@konradkokosa 34 / 37
@konradkokosa 35 / 37
Materials
ZKP:
https://zkrepl.dev/
https://learn.0xparc.org/
https://appliedzkp.org/
https://zkp.science/
https://github.com/matter-labs/awesome-zero-knowledge-proofs
@konradkokosa 36 / 37
And... that's all! Thank you, any
questions?!
@konradkokosa 37 / 37

More Related Content

Similar to Zero-knowledge proofs and why it is future of blockchain.pdf

Packet switching
Packet switchingPacket switching
Packet switchingVikash Dhal
 
illusoryTLS: Nobody But Us Impersonate, Tamper, Exploit (DeepSEC 2015)
illusoryTLS: Nobody But Us Impersonate, Tamper, Exploit (DeepSEC 2015)illusoryTLS: Nobody But Us Impersonate, Tamper, Exploit (DeepSEC 2015)
illusoryTLS: Nobody But Us Impersonate, Tamper, Exploit (DeepSEC 2015)a001
 
Blockchain IoT Night / 25th Oct 2017
Blockchain IoT Night / 25th Oct 2017Blockchain IoT Night / 25th Oct 2017
Blockchain IoT Night / 25th Oct 2017Lothar Wieske
 
Data Encryption and Decryption using Hill Cipher
Data Encryption and Decryption using Hill CipherData Encryption and Decryption using Hill Cipher
Data Encryption and Decryption using Hill CipherAashirwad Kashyap
 
Data Encryption and Decryption using Hill Cipher
Data Encryption and Decryption using Hill CipherData Encryption and Decryption using Hill Cipher
Data Encryption and Decryption using Hill CipherAashirwad Kashyap
 
Why Should You Pay Attention To Quantum Computing?
Why Should You Pay Attention To Quantum Computing?Why Should You Pay Attention To Quantum Computing?
Why Should You Pay Attention To Quantum Computing?Milos Dunjic
 
POST-QUANTUM CRYPTOGRAPHY
POST-QUANTUM CRYPTOGRAPHYPOST-QUANTUM CRYPTOGRAPHY
POST-QUANTUM CRYPTOGRAPHYPavithra Muthu
 
Bat38 aouini bogosalvarado_zk-snark_blockchain
Bat38 aouini bogosalvarado_zk-snark_blockchainBat38 aouini bogosalvarado_zk-snark_blockchain
Bat38 aouini bogosalvarado_zk-snark_blockchainBATbern
 
Data Encryption Standard
Data Encryption StandardData Encryption Standard
Data Encryption StandardAmirul Wiramuda
 
illusoryTLS: Impersonate, Tamper, and Exploit
illusoryTLS: Impersonate, Tamper, and ExploitillusoryTLS: Impersonate, Tamper, and Exploit
illusoryTLS: Impersonate, Tamper, and Exploita001
 
Nasscom Demystifying Blockchain 101
Nasscom Demystifying Blockchain 101Nasscom Demystifying Blockchain 101
Nasscom Demystifying Blockchain 101Mayank Jain
 
Three Party Authenticated Key Distribution using Quantum Cryptography
Three Party Authenticated Key Distribution using Quantum CryptographyThree Party Authenticated Key Distribution using Quantum Cryptography
Three Party Authenticated Key Distribution using Quantum CryptographyIJMER
 
NFT_technical_guide.pdf
NFT_technical_guide.pdfNFT_technical_guide.pdf
NFT_technical_guide.pdfssuser9cf5ab
 
آموزش پرایس اکشن (price action)
آموزش پرایس اکشن (price action)آموزش پرایس اکشن (price action)
آموزش پرایس اکشن (price action)price act
 
Deniable Encryption Key
Deniable Encryption KeyDeniable Encryption Key
Deniable Encryption KeyIOSR Journals
 

Similar to Zero-knowledge proofs and why it is future of blockchain.pdf (20)

Packet switching
Packet switchingPacket switching
Packet switching
 
CIKMTutorial.pdf
CIKMTutorial.pdfCIKMTutorial.pdf
CIKMTutorial.pdf
 
illusoryTLS: Nobody But Us Impersonate, Tamper, Exploit (DeepSEC 2015)
illusoryTLS: Nobody But Us Impersonate, Tamper, Exploit (DeepSEC 2015)illusoryTLS: Nobody But Us Impersonate, Tamper, Exploit (DeepSEC 2015)
illusoryTLS: Nobody But Us Impersonate, Tamper, Exploit (DeepSEC 2015)
 
Slavisa web stories
Slavisa web storiesSlavisa web stories
Slavisa web stories
 
Blockchain IoT Night / 25th Oct 2017
Blockchain IoT Night / 25th Oct 2017Blockchain IoT Night / 25th Oct 2017
Blockchain IoT Night / 25th Oct 2017
 
Mesh IoT Networks Explained
Mesh IoT Networks ExplainedMesh IoT Networks Explained
Mesh IoT Networks Explained
 
Data Encryption and Decryption using Hill Cipher
Data Encryption and Decryption using Hill CipherData Encryption and Decryption using Hill Cipher
Data Encryption and Decryption using Hill Cipher
 
Data Encryption and Decryption using Hill Cipher
Data Encryption and Decryption using Hill CipherData Encryption and Decryption using Hill Cipher
Data Encryption and Decryption using Hill Cipher
 
Blockchain and Cryptocurrency for Dummies
Blockchain and Cryptocurrency for DummiesBlockchain and Cryptocurrency for Dummies
Blockchain and Cryptocurrency for Dummies
 
Blockchain for Notaries
Blockchain for NotariesBlockchain for Notaries
Blockchain for Notaries
 
Why Should You Pay Attention To Quantum Computing?
Why Should You Pay Attention To Quantum Computing?Why Should You Pay Attention To Quantum Computing?
Why Should You Pay Attention To Quantum Computing?
 
POST-QUANTUM CRYPTOGRAPHY
POST-QUANTUM CRYPTOGRAPHYPOST-QUANTUM CRYPTOGRAPHY
POST-QUANTUM CRYPTOGRAPHY
 
Bat38 aouini bogosalvarado_zk-snark_blockchain
Bat38 aouini bogosalvarado_zk-snark_blockchainBat38 aouini bogosalvarado_zk-snark_blockchain
Bat38 aouini bogosalvarado_zk-snark_blockchain
 
Data Encryption Standard
Data Encryption StandardData Encryption Standard
Data Encryption Standard
 
illusoryTLS: Impersonate, Tamper, and Exploit
illusoryTLS: Impersonate, Tamper, and ExploitillusoryTLS: Impersonate, Tamper, and Exploit
illusoryTLS: Impersonate, Tamper, and Exploit
 
Nasscom Demystifying Blockchain 101
Nasscom Demystifying Blockchain 101Nasscom Demystifying Blockchain 101
Nasscom Demystifying Blockchain 101
 
Three Party Authenticated Key Distribution using Quantum Cryptography
Three Party Authenticated Key Distribution using Quantum CryptographyThree Party Authenticated Key Distribution using Quantum Cryptography
Three Party Authenticated Key Distribution using Quantum Cryptography
 
NFT_technical_guide.pdf
NFT_technical_guide.pdfNFT_technical_guide.pdf
NFT_technical_guide.pdf
 
آموزش پرایس اکشن (price action)
آموزش پرایس اکشن (price action)آموزش پرایس اکشن (price action)
آموزش پرایس اکشن (price action)
 
Deniable Encryption Key
Deniable Encryption KeyDeniable Encryption Key
Deniable Encryption Key
 

Recently uploaded

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 

Recently uploaded (20)

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 

Zero-knowledge proofs and why it is future of blockchain.pdf

  • 1. Zero-knowledge proofs and why they are the future of blockchain Konrad Kokosa @konradkokosa 1 / 37
  • 6. Scalability solutions On-chain scaling solutions, such as sharding Side Chains (Polygon) completely independently operating blockchain own consensus interopability via Bridges State Channel (Connext) off chain peer-to-peer ad hoc channel open/close on mainnet Rollups in general batching transaction like in "carpool lane" so... Layer 2 @konradkokosa 6 / 37
  • 7. "A rollup-centric ethereum roadmap - Fellowship of Ethereum Magicians" by Vitalik "eth2’s long-term future: as a single high-security execution shard that everyone processes, plus a scalable data availability layer" "Today, Ethereum has ~15 TPS. If everyone moves to rollups, we will soon have ~3000 TPS. Once phase 1 comes along and rollups move to eth2 sharded chains for their data storage, we go up to a theoretical max of ~100000 TPS." @konradkokosa 7 / 37
  • 8. Layer 2 - Optimistic Rollups gathers and batches transactions assumes all transactions are correct unless proven otherwise (fraud proofs) withdrawal to Layer 1 even 7-days long examples: Optimism, Arbitrum @konradkokosa 8 / 37
  • 9. Layer 2 - Zero-knowledge Rollups gathers and batches transactions compressed data and validity proof (Zero-knowledge proofs) examples: Loopring, Polygon Hermez, StarkNet and StarkEx, zkSync @konradkokosa 9 / 37
  • 10. Zero-knowledge proofs "A zero-knowledge protocol is a method by which one party (the prover) can prove to another party (the verifier) that something is true, without revealing any information apart from the fact that this specific statement is true." - “The knowledge complexity of interactive proof systems", 1985 @konradkokosa 10 / 37
  • 11. Zero-knowledge proofs "A zero-knowledge protocol is a method by which one party (the prover) can prove to another party (the verifier) that something is true, without revealing any information apart from the fact that this specific statement is true." - “The knowledge complexity of interactive proof systems", 1985 In other words... @konradkokosa 10 / 37
  • 12. Zero-knowledge proofs "A zero-knowledge protocol is a method by which one party (the prover) can prove to another party (the verifier) that something is true, without revealing any information apart from the fact that this specific statement is true." - “The knowledge complexity of interactive proof systems", 1985 In other words... "tell me you know the secret without telling me the secret" @konradkokosa 10 / 37
  • 13. Interactive zero-knowledge proof A series of questions to the prover that the verifier checks - the more times such an interaction occurs, the chance that the prover is cheating significantly decreases @konradkokosa 11 / 37
  • 14. Interactive zero-knowledge proof A series of questions to the prover that the verifier checks - the more times such an interaction occurs, the chance that the prover is cheating significantly decreases Classic example is "The Ali Baba cave" story ("How to Explain Zero-Knowledge Protocols to Your Children", Quisquater, Jean-Jacques; Guillou, Louis C.; Berson, Thomas A., 1990) @konradkokosa 11 / 37
  • 18. Interactive zero-knowledge proof source: Walkthrough of an Interactive Zero-Knowledge Proof for Sudoku Puzzle | by Andreas Pogiatzis | Coinmonks | Medium @konradkokosa 15 / 37
  • 19. Non-interactive zero-knowledge proof "Non-interactive zero-knowledge and its applications", Manuel Blum, Paul Feldman, Silvio Micali, 1988 @konradkokosa 16 / 37
  • 20. SNARK: trusted setup small proof sizes "easier"© STARK: no trusted setup 👍 quasilinear verifier time 👍 post-quantuum resistant SNARKs vs STARKs @konradkokosa 17 / 37
  • 21. Applications Anonymous payments ZK-based blockchains like ZCash and Monero Tornado Cash uses zero-knowledge proofs to obfuscate transaction details and guarantee financial privacy Identity and authentication decentralized identity - aka ‘self-sovereign identity’) badges - Sismo @konradkokosa 18 / 37
  • 22. Applications Privacy Aztec protocol - next-generation encrypted blockchain secured by Ethereum, with Noir - universal ZK Circuit Language (~Q2 2023) @konradkokosa 19 / 37
  • 23. Applications Privacy Chainlink's Deco - Deco-enabled oracles can prove facts about data sourced from trusted servers without revealing the data on-chain @konradkokosa 20 / 37
  • 24. Applications Verifiable computation The entity submits the result along with a proof verifying that the program was executed correctly used in ZK Rollups.. zk-Rollups, ZK-Rollups, zkRollups, ...😡 @konradkokosa 21 / 37
  • 25. "In the medium to long term, ZK rollups will win out in all use cases as ZK-SNARK technology improves." — Vitalik Buterin @konradkokosa 22 / 37
  • 26. "In the medium to long term, ZK rollups will win out in all use cases as ZK-SNARK technology improves." — Vitalik Buterin according to Vitalik said, the awareness and importance of ZKP will reach the blockchain awerness level in the next 10 years @konradkokosa 22 / 37
  • 27. Layer 2 - Zero-knowledge Rollups gathers and batches transactions correctness represented as compressed data and validity proof... but where? source: Hermez Adds USDT to Layer 2 Ethereum as ZK-Rollups Take Off @konradkokosa 23 / 37
  • 28. Layer 2 - Zero-knowledge Rollups Data availability models: Rollup - publishing data on-chain decentralizes the data making it available for users to track and verify the cost of publishing data is high @konradkokosa 24 / 37
  • 29. Layer 2 - Zero-knowledge Rollups Data availability models: Rollup - publishing data on-chain decentralizes the data making it available for users to track and verify the cost of publishing data is high Validium - storing data off-chain reduces costs and enhances privacy we trust towards the Operator to properly manage and store its data @konradkokosa 24 / 37
  • 30. Layer 2 - Zero-knowledge Rollups Data availability models: Rollup - publishing data on-chain decentralizes the data making it available for users to track and verify the cost of publishing data is high Validium - storing data off-chain reduces costs and enhances privacy we trust towards the Operator to properly manage and store its data Volition - lets end-users choose per transaction @konradkokosa 24 / 37
  • 33. Layer 2 - Zero-knowledge Rollups There are two ways to build general DApps in zk-Rollup. One is building application-specific circuit (“ASIC”) for different DApps. The other is building a universal “EVM” circuit for smart contract execution. Proving general-purpose EVM computation in circuits is more difficult @konradkokosa 27 / 37
  • 34. EVM-compatibility (aka zkEVM) The different types of ZK-EVMs: Type 1 (fully Ethereum-equivalent) - verify of Ethereum blocks as they are today (ZK-EVM Community Edition) Type 2 (fully EVM-equivalent) - the goal is to be fully compatible with existing applications (at EVM level) both Scroll zkEVM and Polygon Hermez are targeting there Type 3 (almost EVM-equivalent) - almost EVM-equivalent, but just remove a few features Type 4 (high-level-language equivalent) - transpile high-level language like Solidity to SNARK/STARK-friendly zkSync - although it may add compatibility for EVM bytecode over time. N StarkNet and StarkEx @konradkokosa 28 / 37
  • 35. StarkNet and zkSync 🥰 @konradkokosa 29 / 37
  • 37. StarkNet and zkSync 🥰 zkSync 2.0 (~Q2 2023) uses SNARKs and it's Validium (zkPorter - off-chain PoS data availability) Type 4 EVM-compatibile zkVM - support Solidity and Vyper native account abstraction @konradkokosa 31 / 37
  • 38. StarkNet and zkSync 🥰 zkSync 2.0 (~Q2 2023) uses SNARKs and it's Validium (zkPorter - off-chain PoS data availability) Type 4 EVM-compatibile zkVM - support Solidity and Vyper native account abstraction StarkNet (~Q1 2023) uses STARKs and it's zk-Rollup (but there's StarkEx too) Type 4 EVM-compatibile, runs ZK-compatible virtual machine CairoVM and programs written in Cairo Warp transpiler from Solidity to Cairo (eg. Uniswap v3 Core contracts) native account abstraction @konradkokosa 31 / 37
  • 40. StarkNet + 2023 = 😍 Great Twitter threads: complete tutorial on how to set up your StarkNet wallet and bring funds to it StarkNet airdrop strategy #1 StarkNet airdrop strategy #2 StarkNet testnet opportunities @konradkokosa 33 / 37
  • 41. ...why it is future of blockchain @konradkokosa 34 / 37
  • 44. And... that's all! Thank you, any questions?! @konradkokosa 37 / 37