281
edits
Jimcrypted (talk | contribs) (added L2 examples) |
Jimcrypted (talk | contribs) m (added link to categories) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
=== ZK–Rollups === | === ZK–Rollups === | ||
Zero-knowledge | [[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 | [[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]] | ||
[[Category:Layer 2]] |
edits