Back to Course

2. Intermediate Course

0% Complete
0/0 Steps
  1. 1. Ethereum 2.0 - What is it? 
  2. 2. What is cryptocurrency burning?
  3. 3. How to create your own cryptocurrency? 
  4. 4. Blockchain Oracle - what are oracles? 
  5. 5. How to make money with NFT?
  6. 6. What is an ERC20 token and how is it created?
  7. 7. The Metaverse – a new virtual world
  8. 8. Metaverse – TOP 15 virtual reality projects
  9. 9. Technical analysis – is it worth using?
  10. 10. What are DeFi liquidity pools?
  11. 11. Second layer (layer 2) - what is it? 
  12. 12. What are wrapped tokens 
  13. 13. What is the Lightning Network, and how does it work?
  14. 14. What are security tokens?
  15. 15. What is play-to-earn (P2E) and how does it work?
  16. 16. What are Social Tokens? 
  17. 17. Examples of the use of WEB3 on the blockchain
  18. 18. What is Web5? 
  19. 19. Ethereum London Hard Fork - what is it ? 
  20. 20. Segregated Witness - what is Segwit Bitcoin all about?
  21. 21. Polkadot - Decentralized blockchain and DOT cryptocurrency
  22. 22. Polkadot Parachain - Next-generation blockchain
  23. 23. Set up of Stop Loss and Take Profit orders
  24. 24. Trading order types: stop loss, trailing stop loss, LIMIT
  25. 25. What are Decentralized Cryptocurrency DEX Exchanges?
  26. 26. What is Curve Finance?
  27. 27. What is GameFi and how does it work?
  28. 28. Non-fungible tokens and NFT exchanges
  29. 29. Cryptocurrency steps - What is move to earn M2E?
  30. 30. What is Proof of Reserves (PoR)? How does it work?
  31. 31. Interoperability in the world of cryptocurrencies and blockchain
  32. 32. Blockchain and its layers - What is layer three in Blockchain (L3)?
  33. 33. What is Layer 0 in Blockchain technology?
  34. 34. What is layer 1 in Blockchain?
  35. 35. What is MakerDAO and DAI Stablecoin?
  36. 38. What is the SubDAO protocol, and how does it work?
  37. 39. The main differences between static NFT and dynamic NFT
  38. 40. Liquidity Provider Tokens (LPs). What are they, and why are they so important?
  39. 41. What is KnowOrigin NFT, and how does it work?
  40. 42. What is decentralized social media?
  41. 43. What is the Ethereum Name Service (ENS) and how does it work?
  42. 44. Arbitrum: Ethereum scaling solution - everything you need to know
  43. 45. Ethereum ERC-4337 - what is it and how does this standard work?
  44. 46. Sustainable Blockchain - Proof of Useful Work & Flux
  45. 47. Ethereum Proof-of-Stake (PoS) - what should you know?
  46. 48. Atomic Swap: What is an atomic swap, and how does it work with cryptocurrencies?
  47. 49. What Is Cryptocurrency Vesting? What Are Its Advantages?
  48. 50. What Is the Metaplex Candy Machine Protocol? How Does It Work?
  49. 51. What Is the BNB Greenfield Ecosystem?
  50. 52. Real Yield in DeFi - what is this trend? What does it consist of?
  51. 53. Polygon 2.0 - the value layer for the Internet
  52. 54. What Is Slashing in Cryptocurrencies?
Lesson 11 of 52
In Progress

11. Second layer (layer 2) – what is it? 

These are solutions designed to simplify the scaling of a given network/ecosystem by processing transactions outside the core network. At the same time, they maintain the highest security and decentralization measures as the main network. The solutions proposed by network 2 increase the speed of transactions and, for example in the case of Ethereum, reduce gas fees. 

The proposed Layer 2 solutions are significant. They allow for increased scalability and throughput, while maintaining the full integrity of the blockchain. They provide full decentralization, security and transparency. 

It probably won’t surprise you if we say that the ecosystem that most often uses  Layer 2 solutions is Ethereum. Bitcoin also has such a solution, and it is the  Lightening Network

The layer acts as an additional ‘layer’ to the already existing blockchain. The first  Layer 2 was actually born on the Bitcoin and Litecoin blockchains with the Lightening  Network and then on Ethereum via the Raiden Network, the equivalent of the  Lightening Network for ETH. 

Layer 2 acts as an overlay on top of an already existing and established blockchain that encounters new problems to which the main blockchain (Layer 1) cannot respond effectively enough. 

For example, in the case of Bitcoin: transactions are slow, with an average block creation time estimated at 10 minutes per block and the ‘likely’ finality of a transaction being around 20 minutes (2 blocks) to 60 minutes (6 blocks), in addition, the average transaction cost can exceed $1 to $5 per transaction, making Bitcoin unsuitable for micropayments

In the case of Ethereum: the problem is quite similar with a block time of 13 seconds,  but the finality of the transaction in general ~ 2 to 7 minutes, i.e. 10 to 35 blocks,  depending on the security, the transaction should be considered ultimately valid.  Furthermore, Ethereum transactions cost several or even tens of dollars in case of network congestion. 

It can be said to be overpriced and slow. This is the price of having a secure and decentralized network

The most important layer two solutions in the history of Blockchain 

Two prime examples of older Layer 2 solutions are Lightning Network and Ethereum  Plasma.

Although they have their own operating mechanisms and peculiarities, both seek to increase the bandwidth of blockchain systems. 

On the Bitcoin blockchain, Lightning Network relies on ‘state channels‘. These are channels that perform operations outside the Bitcoin blockchain to relieve the network of excessive demand and increase transaction processing time on the network to then resolve transactions and register them on the blockchain. 

On the Ethereum blockchain, Plasma consists of secondary blockchains attached to  Ethereum (such as the OMG Network or Polygon). This kind of phenomenon now allows Ethereum to be the most diverse ‘Layer 1’ blockchain, as its blockchain projects are diverse and varied. 

“Layer 2 ‘plasmas’ can serve several purposes: 

Reducing the bandwidth of Ethereum traffic 

Bridging to other blockchains 

Creating new processes 

Diversifying the Ethereum ecosystem 

Securing the Ethereum blockchain 

Layer 2 can also be referred to as ‘off-chain scalability solutions’. 

One of the main advantages of using off-blockchain solutions is that the main blockchain does not have to undergo any structural changes, as a second layer  (layer 2) is added as an additional layer. 

Layer 2 solutions therefore have the potential to achieve high throughput of operations without sacrificing the security of the main blockchain network. 

If every change made by Layer 2 was automatically integrated into the main blockchain, this would cause an inevitable security problem

If there is a security problem at Layer 2, ecosystem users can avoid it until a solution is found. Which could not be considered for a hybrid Layer 1 – Layer 2 approach.  

Dividing the ecosystem into several layers also allows, in the case of Ethereum, to provide several aspects of the blockchain without burdening the network. 

Ethereum takes care of the security of the network, while most of Layer 2 makes  Ethereum more interesting and competitive, offering higher performance than  Ethereum would offer without Layer 2. 

Layer 2 – types 

1. Sidechains. This is the most popular form of scaling a given ecosystem, but also the least optimal. It involves the introduction of a sidechain that has its own structure and consensus. It is bidirectionally linked to the main network.  This allows us to transfer assets from one chain to another. However, we cannot take this literally. So how does it work? Assets are blocked on the main 

chain and then bumped to the sidechain in a 1:1 ratio. Transferring assets to the core network involves burning them on the sidechain and unblocking them on the main network. The sidechain has its own miners and validators. 

2. State Channels, which are similar to Bitcoin’s Lightning Network in their functionality. They support payments and all kinds of updates to the respective ecosystem. Literally translated as ‘State Channels’. They are an off-chain system for sending transactions. As a user, you lock part of the state of a  given chain into a multisig contract and then transfer tokens between each other. Everything takes place outside the main chain, but according to its rules. Only the final state is sent to the main chain. 

3. Rollups. The newest and most widely used layer two. There are two types of rollups – ZK-Rollups and Optimistic Rollups. Transactions occurring in this layer are literally wrapped in bundles of several transactions at the same time.  They take place on the main chain, but all the calculations necessary for its execution take place off-chain; i.e. off-chain. This maintains maximum security, higher throughput, and lower costs. 


The use of layer two solutions is becoming increasingly popular. Already, even some  NFT games need such a solution in order not to empty the wallet during the game.  Layer two, if only cryptocurrency adoption grows, will be an inseparable part of the whole ecosystem.

Explore the world of cryptocurrencies with Kanga Exchange