Difference between revisions of "Layer 2"

Jump to navigation Jump to search
31 bytes added ,  22:55, 24 May 2022
m
added link to sources
(added L2 examples)
m (added link to sources)
Line 8: Line 8:


=== ZK–Rollups ===
=== ZK–Rollups ===
Zero-knowledge Rollups are smart contracts that collate several transactions off-chain, creating a cryptographic proof, called a SNARK (Succinct Non-interactive Argument of Knowledge) which is submitted to the Layer 1. This cryptographic proof is also known as validity proof. Layer 1 ([[Ethereum]]) helps maintain the state of all transfers on the ZK smart contract, making it easier for a block to be validated since only the validity proof is required and not the entire transaction data.
[[Zero Knowledge rollups|Zero-knowledge rollups]] are smart contracts that collate several transactions off-chain, creating a cryptographic proof, called a SNARK (Succinct Non-interactive Argument of Knowledge) which is submitted to the Layer 1. This cryptographic proof is also known as validity proof. Layer 1 ([[Ethereum]]) helps maintain the state of all transfers on the ZK smart contract, making it easier for a block to be validated since only the validity proof is required and not the entire transaction data.


=== Optimistic Rollups ===
=== Optimistic Rollups ===
Optimistic Rollups run side by side with the main chain. However, Optimistic rollups assume that a transaction is valid by default, after which they propose the new state to the mainnet.
[[Optimistic rollups]] run side by side with the main chain. However, Optimistic rollups assume that a transaction is valid by default, after which they propose the new state to the mainnet.


While assuming that a transaction is correct could save the computational power that mainnet miners would otherwise require to verify the transaction status. This could pose great risks, such as the tendency to submit a fraudulent transaction on layer 1. Optimistic rollups avoid this and other risks by introducing what is known as fraudproof.
While assuming that a transaction is correct could save the computational power that mainnet miners would otherwise require to verify the transaction status. This could pose great risks, such as the tendency to submit a fraudulent transaction on layer 1. Optimistic rollups avoid this and other risks by introducing what is known as fraudproof.
[[Category:Glossary]]
[[Category:Glossary]]
281

edits

Navigation menu