Posts

[EN | ES ]An Analysis of: Layers | Un análisis de: Layers

avatar of @foxlatam
25
0 views
·
8 min read

Hello Foxes! 🦊

Welcome to our weekly article with the main news of ShapeShift and Decentralized Finance. Today we will talk about Layers, their types, characteristics and uses!

Version en español después de la versión en ingles 🦊

Layer 2 and Layer 1: Scalable infrastructures

Layer 2 solutions are the favorites of the market, compared to layer 1 layers -the case of bitcoin-, especially when it comes to promoting a better infrastructure, increasing the capacity of processing speed and execution. Currently, solutions that do not use second layers suffer from high rates of congestion in their networks when there are peaks in use, since the limitations in blockchains of this type are related to execution and storage limits.

Therefore, miners have a maximum execution capacity (at the computational level) and also blocks have a maximum size limit (forcing new transactions to be allocated in the next block). This problem becomes clear when we study the blockchain trilemma.

The theory presents three different characteristics of blockchains, which are: security, scalability, and decentralization.

According to him, a network needs to sacrifice one of these characteristics to fulfill the other two. In the case of Bitcoin and Ethereum, decentralization and security were chosen, giving up scalability. In this way, it is clear that a single layer is not able to gather all the necessary characteristics to solve the trilemma.

For this reason, Layer 2 or Second Layers are extremely important for the development of the crypto market: because they can scale the volume of transactions in the main chains.

The main idea of ​​layer 2 focused solutions is the ability to isolate the functions that a blockchain performs. In Ethereum, we can see that a single layer is responsible for various actions such as: data storage, execution, processing, consensus, and security. Due to this peculiarity, the second layers are intended to help you perform certain actions, isolating the functionalities and making each layer an expert in a single function. Layer 2 of Ethereum is responsible for processing smart contracts and transactions, while its layer 1 is maintained with the aim of keeping its ecosystem safe and reaching consensus among the nodes.

By dividing the computational load required to satisfy all the demand created by users between different blockchains, the desired scalability is obtained.

The dispute between the L2

Source: Consensys

Today, several cryptographic protocols are already being developed to act as layer 2 solutions for the Ethereum blockchain, such as Arbitrum, Optimism, StarkWare, and ZKSync.

Each of them has intrinsic characteristics in terms of technology. Projects like Arbitrum and Optimism are Optimistic Rollups and StarkWare and ZKSync are ZeroKnowledge Rollups. There is a discussion in the etherian community about the best application for layers 2, and the vast majority think about the preference for Rollups.

You may be wondering: what the heck are Rollups?

Rollups are consensus mechanisms that aim to promote scalability on the Ethereum network. A Rollup adds a set of transactions and executes them in a second layer (layer 2). After executing several transactions, a single transaction equivalent to all of them is sent to the main layer to be validated in a new network block with other transactions.

Similar situation when many people go through a toll. If all these people want to use their own car to go through a toll, all cars will pay their own vehicle fee. However, if half of the drivers choose to use a bus for transportation, only 1 fare would be paid to get these passengers through the toll. In this example, the bus works as a Rollup.

Within the universe of Rollups there are different types and we will summarize their concepts for you to learn more about the future of Ethereum.

Optimistic Rollup

It uses the fraud proof system to verify that the transactions are legal, true and without errors. When this part of the process is reached, it is necessary to wait between 1 or 2 weeks to make withdrawals by this method.

In short, the "Optimist Rollup'' trusts the operator and the transactions present (with 7 days of dispute of errors or malicious intent). proof of fraud to the Ethereum network. If the verifier is successful, the network should roll back to when it was secure.

Highlights of this model:

  • More mature mechanism
  • More simple
  • Greater Ethereum EVM compatibility
  • Slow to validate the information.

Zero Knowledge Rollup

Use the ** System proof of validity** to prove the authenticity of the transactions contained in the Rollup. This proof is sent by the operator to layer 1 - main network - together with the transactions and the information is validated.

The data contained in the Rollup is private and only the validity test can confirm its veracity, but without revealing it.

Highlights of this model:

-Experimental

  • More complex
  • Less support for EVM Ethereum
  • quick purpose
  • Withdrawals can be made immediately after the transaction is confirmed

What about Polygon?

You may be wondering about Polygon and why we haven't covered it here yet. Actually, this chain is not a layer 2, but a sidechain. In this model, the blockchain uses a native security layer and does not share its security robustness with Ethereum.

Polygon seeks solutions based on Rollups, Optimistic and ZeroKnowledge, thanks to the availability of sufficient resources to pulverize studies, research and technological advances.

Second-tier solutions are on the rise, especially when there is a need to achieve high levels of scalability. A large part of the investors' capital goes to projects that are in this segment. However, there are many options under development and the community has not yet defined which solution should be used by the majority of users.

This was our weekly analysis of the crypto world, explaining a little about the diversity of scalability solutions in blockchains and their importance for the evolution of the market.

Were there doubts about the concepts brought here?

Join our Discord, Telegram and/or Twitter and we will help you with them!

Síguenos en nuestras redes!


This article is not investment advice, but only a newsletter with strictly educational content and is not a solicitation or advice to buy or sell assets.


Español

¡Hola Foxs! 🦊

Bienvenido a nuestro artículo semanal con las principales novedades de ShapeShift y Finanzas Descentralizadas. ¡Hoy hablaremos de Capas, sus tipos, características y usos!

Layer 2 y Layer 1: Infraestructuras escalables

Las soluciones de capa 2 son las favoritas del mercado, en comparación con las capas de capa 1 -el caso de bitcoin-, especialmente cuando se trata de promover una mejor infraestructura, aumentar la capacidad de velocidad de procesamiento y ejecución. Actualmente, las soluciones que no utilizan segundas capas sufren altos índices de congestión en sus redes cuando hay picos de uso, ya que las limitaciones en blockchains de este tipo están relacionadas con los límites de ejecución y almacenamiento.

Por lo tanto, los mineros tienen una capacidad de ejecución máxima (a nivel computacional) y también los bloques tienen un límite de tamaño máximo (obligando a asignar nuevas transacciones en el siguiente bloque). Este problema se vuelve claro cuando estudiamos el trilema de blockchain.

La teoría presenta tres características diferentes de blockchains, que son: seguridad, escalabilidad y descentralización.

Según él, una red necesita sacrificar una de estas características para cumplir con las otras dos. En el caso de Bitcoin y Ethereum, se optó por la descentralización y la seguridad, renunciando a la escalabilidad. De esta manera, queda claro que una sola capa no es capaz de reunir todas las características necesarias para resolver el trilema.

Por esta razón, las Layers 2 o Segundas Capas son extremadamente importantes para el desarrollo del mercado criptográfico: porque pueden escalar el volumen de transacciones en las principales cadenas.

La idea principal de las soluciones enfocadas en las layers 2 es la capacidad de aislar las funciones que realiza una cadena de bloques. En Ethereum, podemos ver que una sola capa es responsable de varias acciones como: almacenamiento de datos, ejecución, procesamiento, consenso y seguridad. Debido a esta peculiaridad, las segundas capas están destinadas a ayudarte a realizar determinadas acciones, aislando las funcionalidades y haciendo que cada capa sea experta en una sola función. Las layers 2 de Ethereum son las encargadas de procesar los contratos y transacciones inteligentes, mientras que su layer 1 se mantiene con el objetivo de mantener seguro su ecosistema y alcanzar el consenso de los nodos.

Al dividir la carga computacional necesaria para satisfacer toda la demanda creada por los usuarios entre diferentes cadenas de bloques, se obtiene la escalabilidad deseada.

La disputa entre la L2

Fuente: Consensys

Hoy en día, ya se están desarrollando varios protocolos criptográficos para actuar como soluciones de layer 2 para la cadena de bloques de Ethereum, como Arbitrum, Optimism, StarkWare y ZKSync.

Cada uno de ellos tiene características intrínsecas en términos de tecnología. Proyectos como Arbitrum y Optimism son Optimistic Rollups y StarkWare y ZKSync son ZeroKnowledge Rollups. Existe una discusión en la comunidad etheriana sobre la mejor aplicación para las layers 2, y la gran mayoría opina sobre la preferencia por los Rollups.

Quizás te estés preguntando: ¿qué diablos son los Rollups?

Los rollups son mecanismos de consenso que tienen como objetivo promover la escalabilidad en la red Ethereum. Un Rollup agrega un conjunto de transacciones y las ejecuta en una segunda capa (layer 2). Después de ejecutar varias transacciones, se envía una sola transacción equivalente a todas ellas a la capa principal para ser validada en un nuevo bloque de la red con otras transacciones.

*Situación similar a cuando mucha gente pasa por un peaje. Si todas estas personas quieren usar su propio coche para pasar un peaje, todos los coches pagarán la tarifa de su propio vehículo. Sin embargo, si la mitad de los conductores elige usar un autobús para el transporte, solo se pagaría 1 tarifa para pasar a estos pasajeros a través del peaje. En este ejemplo, el bus funciona como un Rollup.

Dentro del universo de los Rollups existen diferentes tipos y te resumiremos sus conceptos para que conozcas más sobre el futuro de Ethereum.

Optimistic Rollup

Utiliza el sistema prueba de fraude para verificar que las transacciones sean legales, verdaderas y sin errores. Cuando se llega a esta parte del proceso, es necesario esperar entre 1 o 2 semanas para realizar retiros por este método.

En resumen, el "Optimist Rollup'' confía en el operador y las transacciones presentes (con 7 días de disputa de errores o mala intención). prueba de fraude a la red Ethereum. Si el verificador es correcto, la red debe revertirse a cuando era segura.

Aspectos destacados de este modelo:

  • Mecanismo más maduro
  • Mas simples
  • Mayor compatibilidad Ethereum EVM
  • Lentitud para validar la información.

Zero Knowledge Rollup

Utilizar el Sistema de prueba de validez para acreditar la autenticidad de las transacciones contenidas en el Rollup. Esta prueba es enviada por el operador a la layer 1 - red principal - junto con las transacciones y se valida la información.

Los datos contenidos en el Rollup son privados y solo la prueba de validez puede confirmar su veracidad, pero sin revelarlos.

Aspectos destacados de este modelo:

  • Experimental
  • Mas complejo
  • Menos compatibilidad con EVM Ethereum
  • propósito rápido
  • Los retiros se pueden hacer inmediatamente después de que se confirme la transacción

¿Qué pasa con Polygon?

Quizás se esté preguntando acerca de Polygon y por qué no lo hemos cubierto aquí todavía. En realidad, esta cadena no es una layer 2, sino una cadena lateral. En este modelo, la cadena de bloques utiliza una capa de seguridad nativa y no comparte su robustez de seguridad con Ethereum.

Polygon busca soluciones basadas en Rollups, Optimistic y ZeroKnowledge, gracias a la disponibilidad de recursos suficientes para pulverizar estudios, investigaciones y avances tecnológicos.

Las soluciones de segundo nivel están en aumento, especialmente cuando existe la necesidad de lograr altos niveles de escalabilidad. Gran parte del capital de los inversionistas se destina a proyectos que se encuentran en este segmento. Sin embargo, hay muchas opciones en desarrollo y la comunidad aún no ha definido qué solución debe ser utilizada por la mayoría de los usuarios.

Este fue nuestro análisis semanal del mundo cripto, explicándote un poco sobre la diversidad de soluciones de escalabilidad en blockchains y su importancia para la evolución del mercado.

¿Hubo dudas sobre los conceptos traídos aquí?

Únase a nuestro DiscordTelegram y/o Twitter ¡y te ayudaremos con ellos!

Síguenos en nuestras redes!


Este artículo no es un consejo de inversión, sino solo un boletín con contenido estrictamente educativo y no es una solicitud ni un consejo para comprar o vender activos.