Sidechains – Crypto Academy / S4W8 – Homework Post for @pelon53

in SteemitCryptoAcademy3 years ago (edited)

This is my homework post for Steemit Crypto Academy Season 4 Week 8 of Professor @pelon53’s class Sidechains.

Note : I performed this task on Windows 10 PC, Google Chrome.

Task 1 - Sidechains with the use of ZK-Rollups

1.1. Sidechains

Sidechains are separate blockchains that work in parallel with a main blockchain (or main chain). Sidechains are becoming one of the most popular solutions today to the scalability and high cost problem of blockchain (especially the earlier generations), without compromising its security properties.

Sidechains are blockchains that are separate and distinct from the main chain, with their own rules, their own consensus algorithms, their own Byzantine Fault Tolerances. But even so, a sidechain works in parallel with the main chain.

Sidechains can help its main chain with scalability and cost issues by recording most transactions off-chain, not on the main chain (or on-chain). In sidechains, a mechanism that accommodate the flow of assets between sidechains and their main chains are important, because the transaction will basically be done on the sidechains.

Examples of Sidechains are:

xDai Chain logo, as seen on https://www.xdaichain.com/.
POA Network logo, as seen on https://twitter.com/poanetwork.
  • POA Network or POA Core. It is an autonomous network. The autonomous network is secured by a group of validators which are all United States notaries. These validators allow the network to work fast and provide inexpensive transactions. POA Network has its own native token named POA Network with ticker POA, and is currently trading at USD 0.01892722 (according to CoinGecko).

1.2. ZK-Rollups

ZK-Rollups are one of the currently available and used rollups. Rollups is a solution produced to speed up transactions by executing them outside the main chain, while keeping the transaction data in the main chain. So, basically, rollups are secured by layer 1.

Rollups work at Layer-2 and are effective at: 1) cutting costs, 2) facilitating participation, and 3) accelerating transactions. So, unlike sidechains which are separate blockchains, rollups are part of the “main chain” itself.

There are two types of rollups currently available: 1) Optimistic Rollups, and 2) Zero Knowledge Rollups (or ZK-Rollups). These two rollups differ in terms of security models. If Optimistic Rollups considers all transactions valid by default and computations are executed with fraud-proof technique, then ZK-Rollups performs offchain computations and sends validity proof to layer 1.

Examples of a blockchain using ZK-Rollups technology:

ZCash logo, as seen on https://z.cash/.
  • ZCash. ZCash is a blockchain that has a native token named ZCash with ticker ZEC. ZCash token is a privacy coin, which is a token that prioritizes the anonymity of its users. The ZCash token is based on Bitcoin's codebase and has several similarities to Bitcoin including a fixed total supply of 21 million units of tokens. At the time of writing, ZEC is trading at USD 158.61, based on data from CoinMarketCap.
Loopring Blockchain logo, as seen on https://loopring.org/#/.
  • Loopring. Loopring is Ethereum-based software aims to incentivize users around the globe for operating a platform which enables the creation of new types of crypto asset exchanges. Loopring was founded by a software engineer named Daniel Wang who works for internet-based companies including Google and JD.com. Loopring was basically createdfor trading and payment. The ICO was conducted in 2017 and raised 120,000 ETH (equivalent to USD 45 million). Loopring has a native token named Looring which has a ticker LRC. At time of writing, according to CoinGecko, LRC is trading at USD 0.516.

1.3. Sidechains and ZK-Rollups

Sidechains and ZK-Rollups are two of three currently popular solutions for blockchain scalability and cost issue. The third one is Optimistic Rollups.

They work pretty much the same way: do most of the logging off the main chain. In the Bitcoin ecosystem, this kind of working system is found at Lightning Network technology. The differences between Sidechains and Rollups are:

  • Sidechains are separate blockchains while rollups are a layer-2 solution of a blockchain.
  • Because Sidechains are blockchains that are separate from the main chain, a mechanism that facilitates the flow of assets from the main chain to the sidechain, and vice versa, is needed. While in the rollups system, it’s only the transactions are executed at layer-2 while the records are sent to the top of the blockchain, no flow of assets takes place.

Task 2 - Liquid Network Sidechain


Liquid Network logo, as seen on https://liquid.net/.

Liquid Network is a sidechain protocol built on top of the Bitcoin ecosystem. Liquid Network was developed by Blockstream which declared itself as "the global leader in Bitcoin and blockchain technology".

As a sidechain to Bitcoin, the Liquid Network offers conveniences and advantages that the Bitcoin blockchain does not have:

  • Fast. Liquid Network's blocktime is 10 times shorter than Bitcoin's. If Bitcoin takes about 10 minutes to add a block, then Liquid Network adds one block every minute precisely. It only takes two confirmations to validate a transaction.
  • Multiple assets. On the Liquid Network, third parties are able to issue tokens (securities, stablecoins, and more).
  • Confidentiality of transactions. The Liquid Network allows information such as the type and amount of assets in a transaction to be confidential between the transacting parties because it is not recorded in the public ledger.

To be able to transact on the Liquid Network blockchain using Bitcoin, a user account needs to deposit Bitcoin at an address assigned by the Liquid Network. After the Bitcoin token is locked and confirmed, the user will get a token called L-BTC, short for Liquid Bitcoin. L-BTC has the same value as BTC, 1 BTC = 1 L-BTC. The process of depositing Bitcoin tokens to an address provided, is called peg-in.

Meanwhile, the process to convert L-BTC tokens back to Bitcoin tokens, known as peg-out, is carried out in a similar way, by depositing L-BTC tokens back to an assigned address.

Links and Social:

Task 3 – Connecting Metamask Wallet to Polygon network

  1. I opened the Polygon Network webpage.
    Screenshot image of Polygon Network webpage.
  2. I scrolled down the page to the bottom area where I saw the “Use Polygon” segment. I clicked on the [Wallet] tab.
    How I accessed the Polygon Web Wallet.
  3. A new tab (Polygon wallet webpage) opened on my web browser. I clicked the Polygon Wallet thumbnail.
    Polygon Web Wallet thumbnail.
  4. I chose Metamask on the next page.
    The wallets supported by Polygon Chain.
  5. The Google Chrome Metamask wallet extension box popped-up. I filled in the extension password and clicked the blue [UNLOCK] button.
    Unlocking Metamask wallet extension on Google Chrome.
  6. When I was logged in to the Metamask wallet, it asked for my signature. I click the [Sign] button to confirm wallet connection.
    Signing the request.
  7. The wallet connection was successfully made to Ethereum Mainnet.
    Connected ti Ethereum Mainnet.
  8. Below is the screenshot image of the Assets on Polygon Web Wallet interface when the wallet connection was made. Marker number (1) on the picture indicates the wallet address. Marker number (2) shows the assets Polygon Wallet support and the assets balance of the connected wallet. Marker number (3) shows that at the time of writing, Polygon Wallet supported 1440 assets.
    The Polygon Web Wallet page anatomy.
  9. But the truth was that the wallet still connected to the Ethereum Mainnet. To connect it directly to Polygon Network, I clicked the [Switch to Polygon] button at upper right side of the Polygon Web Wallet page.
    Switch to Polygonby hitting the button.
  10. The wallet extension popped up asking for approval. I clicked the [Approve] button.
    Wallet approval request.
  11. Another confirmation. I clicked the [Switch network] button.
    Confirmation on the request.
  12. The wallet was then connected to Polygon Network directly.
    Direct connection to Polygon Network was made successfully.
  13. No more [Switch to Polygon] button.

Task 4 - Polygonscan Block Explorer

Polygonscan logo as seen on https://polygonscan.com/.

4.1. Block #25,000,000

  1. I opened Polygonscan.
    Polygonscan webpage.
  2. I typed the block number to search (25000000) in the search box.
    Utilizing the search box.
  3. The result showed the data that, at time of writing, the block #25,000,000 will be produced in 113 days, 6 hours, 36 minutes, and 12 seconds. That means Sunday, February 20th, 2022, 10:59 GMT+7 or Saturday, February 19th, 2022, 3:59 UTC.
    Expected time of block #25,000,000’s arrival.

4.2. Block #12,000,000

  1. Again, I utilized the search box. I typed the block number, 12000000 and hit the search button.
    Searching for block #12,000,000.
  2. The block #12,000,000 detail page was then opened.
    Block #12,000,000 detail page.

    The page showed that the MATIC token price when block #12,000,000 produced (March 14th, 2021, 09:35:48 AM +UTC) was USD 3.08.
    The MATIC token price when block #12,000,000 produced.

Thanks

Thanks Professor @pelon53 for the lesson titled Sidechains.

Pictures Sourcing

  • The editorial picture was created by me.
  • Unless otherwise stated, all another pictures were screenshoots and were edited with Photoshop CS 3.

Sources and Reading Suggestion


My Introductory Post | Artikel Perkenalan Saya.


Picture created by @aneukpineung78


Thanks for stopping by.

Sort:  

Anda sangat pandai mbuat program. Itu sulit tetapi sukses selalu

terimakasih. sama-sama salam sukses juga.

Loading...

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 64561.21
ETH 3418.15
USDT 1.00
SBD 2.57