Decentralized-Web
Dezentralisation will help to transcend the world. Innovation and education are key. Doing my part to make it happen !!BCW3B - Decentralized - Webhttps://www.bcw3b.ioSKILL - TREEhttps://www.notion.so/BCW3B-Decentralized-Web-6d1f3f0df46e49229028a8c5df606705?pvs=4
Blockchain and Smart Contracts
Bitcoin and BlockchainYou might be familiar with Bitcoin, which is one of the first protocols to utilize the revolutionary blockchain technology. The Bitcoin Whitepaper, authored by the pseudonymous Satoshi Nakamoto, described how Bitcoin could facilitate peer-to-peer transactions within a decentralized network using cryptography. This gave rise to censorship-resistant finance and presented Bitcoin as a superior digital store of value, often referred to as digital gold. There is a fixed amoun...
Traditional Networks vs Blockchain
Traditionally, when you run an application be it a website or something that connects to a server you are interacting with a centralized entity. This is the opposite of what you may recall from our distributed blockchain example, in that the server is controlled and run by a single centralized group. Blockchains, as we saw, run on a network of independent nodes. In our previous example, each of the Peers was representative of an independent node operator. The term node typically refers to a s...
<100 subscribers
Decentralized-Web
Dezentralisation will help to transcend the world. Innovation and education are key. Doing my part to make it happen !!BCW3B - Decentralized - Webhttps://www.bcw3b.ioSKILL - TREEhttps://www.notion.so/BCW3B-Decentralized-Web-6d1f3f0df46e49229028a8c5df606705?pvs=4
Blockchain and Smart Contracts
Bitcoin and BlockchainYou might be familiar with Bitcoin, which is one of the first protocols to utilize the revolutionary blockchain technology. The Bitcoin Whitepaper, authored by the pseudonymous Satoshi Nakamoto, described how Bitcoin could facilitate peer-to-peer transactions within a decentralized network using cryptography. This gave rise to censorship-resistant finance and presented Bitcoin as a superior digital store of value, often referred to as digital gold. There is a fixed amoun...
Traditional Networks vs Blockchain
Traditionally, when you run an application be it a website or something that connects to a server you are interacting with a centralized entity. This is the opposite of what you may recall from our distributed blockchain example, in that the server is controlled and run by a single centralized group. Blockchains, as we saw, run on a network of independent nodes. In our previous example, each of the Peers was representative of an independent node operator. The term node typically refers to a s...
Share Dialog
Share Dialog
I want to briefly touch on the concepts of Layer 1 and Layer 2 networks here as well.
Layer 1 solutions: This refers to base layer blockchain implementations like Bitcoin or Ethereum.
Layer 2 solutions: These are applications added on top of a layer one, like Chainlink or Arbitrum.
Layer 2s like Arbitrum and Optimism are special in that they're trying to solve the problem of scalability. These protocols leverage something called rollups. We won't go too deep, but the idea is that the protocols bundle their transactions to be processed by a Layer 1.
L1s L2s And Rollups
A Layer 1 (L1) blockchain is the base layer of the blockchain ecosystem, where nodes help the chain to reach consensus. It operates without any additional plugins and is often referred to as the settlement layer. Examples of L1 chains include Bitcoin, BNB Chain, Solana, and Avalanche. In this course, we primarily focus on Ethereum, which serves as the hub of the Ethereum ecosystem. Applications directly deployed on Ethereum, like Uniswap, are not considered L2s but rather dApps on L1.
A Layer 2 is any application built on outside an L1 blockchain that hooks back into it. There are different types of Layer 2, for example Chainlink, a decentralized Oracle networks and event indexing networks like The Graph, which enable applications to access on-chain data. But the most popular type of L2 is the rollup, or L2 chain.
Rollups are L2 scaling solutions that enable to increase the number of transactions on Ethereum by bundling multiple transactions into one, reducing gas costs.
Rollups help solve the blockchain trilemma, which states that a blockchain can only achieve two out of three properties: decentralization, security, and scalability. In the case of Ethereum, scalability is sacrificed as it can only process approximately 15 transactions per second. Rollups, on the other hand, aim to enhance scalability without compromising security or decentralization.
When a user submits a transaction to a rollup, an operator (a node or entity responsible for processing transactions) picks it up, bundles it with other transactions, compresses them, and submits the batch back to the L1 blockchain. This process allows for efficient handling of transactions as gas costs associated with the transaction, are split among all the users that submitted the transactions in the batch.
There are two types of rollups, Optimistic and Zero-Knowledge rollups. The main difference between the two lies in how each rollup verifies the validity of the transactions.
They assume that off-chain transactions are valid by default. Operators propose the valid state of the rollup chain, and during a challenge period, other operators can challenge potentially fraudulent transactions by computing a fraud proof.
This fraud proof process involves the operator engaging in a call and response interaction with another operator to identify and isolate a specific computational step. This specific step is then executed on the Layer 1 blockchain: if the result differs from the original state, it indicates that the transaction was fraudulent. When the fraud proof succeeds, the rollup will re-execute the entire batch of transactions correctly, and the operator responsible for including the incorrect transaction will be penalized, usually by losing staked tokens (slashing).
ZK rollups use validity proofs, known as zk proofs, to verify transaction batches. In this process, the prover (operator) generates a zk proof to show that their inputs (the transactions) satisfy this equation. A verifier (an L1 contract) then checks this proof to ensure that the output matches the expected result. The solution that the prover uses to demonstrate that their input satisfies the mathematical equation in the zk proof is commonly referred to as the witness.
Rollups enhance Ethereum's scalability by processing transactions off-chain, bundling them, and submitting them back to Ethereum with validity proofs. This method maintains the security and decentralization of L1 while significantly increasing transaction throughput.
I want to briefly touch on the concepts of Layer 1 and Layer 2 networks here as well.
Layer 1 solutions: This refers to base layer blockchain implementations like Bitcoin or Ethereum.
Layer 2 solutions: These are applications added on top of a layer one, like Chainlink or Arbitrum.
Layer 2s like Arbitrum and Optimism are special in that they're trying to solve the problem of scalability. These protocols leverage something called rollups. We won't go too deep, but the idea is that the protocols bundle their transactions to be processed by a Layer 1.
L1s L2s And Rollups
A Layer 1 (L1) blockchain is the base layer of the blockchain ecosystem, where nodes help the chain to reach consensus. It operates without any additional plugins and is often referred to as the settlement layer. Examples of L1 chains include Bitcoin, BNB Chain, Solana, and Avalanche. In this course, we primarily focus on Ethereum, which serves as the hub of the Ethereum ecosystem. Applications directly deployed on Ethereum, like Uniswap, are not considered L2s but rather dApps on L1.
A Layer 2 is any application built on outside an L1 blockchain that hooks back into it. There are different types of Layer 2, for example Chainlink, a decentralized Oracle networks and event indexing networks like The Graph, which enable applications to access on-chain data. But the most popular type of L2 is the rollup, or L2 chain.
Rollups are L2 scaling solutions that enable to increase the number of transactions on Ethereum by bundling multiple transactions into one, reducing gas costs.
Rollups help solve the blockchain trilemma, which states that a blockchain can only achieve two out of three properties: decentralization, security, and scalability. In the case of Ethereum, scalability is sacrificed as it can only process approximately 15 transactions per second. Rollups, on the other hand, aim to enhance scalability without compromising security or decentralization.
When a user submits a transaction to a rollup, an operator (a node or entity responsible for processing transactions) picks it up, bundles it with other transactions, compresses them, and submits the batch back to the L1 blockchain. This process allows for efficient handling of transactions as gas costs associated with the transaction, are split among all the users that submitted the transactions in the batch.
There are two types of rollups, Optimistic and Zero-Knowledge rollups. The main difference between the two lies in how each rollup verifies the validity of the transactions.
They assume that off-chain transactions are valid by default. Operators propose the valid state of the rollup chain, and during a challenge period, other operators can challenge potentially fraudulent transactions by computing a fraud proof.
This fraud proof process involves the operator engaging in a call and response interaction with another operator to identify and isolate a specific computational step. This specific step is then executed on the Layer 1 blockchain: if the result differs from the original state, it indicates that the transaction was fraudulent. When the fraud proof succeeds, the rollup will re-execute the entire batch of transactions correctly, and the operator responsible for including the incorrect transaction will be penalized, usually by losing staked tokens (slashing).
ZK rollups use validity proofs, known as zk proofs, to verify transaction batches. In this process, the prover (operator) generates a zk proof to show that their inputs (the transactions) satisfy this equation. A verifier (an L1 contract) then checks this proof to ensure that the output matches the expected result. The solution that the prover uses to demonstrate that their input satisfies the mathematical equation in the zk proof is commonly referred to as the witness.
Rollups enhance Ethereum's scalability by processing transactions off-chain, bundling them, and submitting them back to Ethereum with validity proofs. This method maintains the security and decentralization of L1 while significantly increasing transaction throughput.
No comments yet