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. Trading order types: stop loss, trailing stop loss, LIMIT
  24. 24. Set up of Stop Loss and Take Profit orders
  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. 36. What is Blockchain sharding?
  37. 37. What is the NFT licence fee?
  38. 38. What is the SubDAO protocol, and how does it work?
  39. 39. The main differences between static NFT and dynamic NFT
  40. 40. What is minting an NFT?
  41. 41. Mainnet versus Testnet on the Blockchain. The complete guide!
  42. 42. What are NFT Ordinals? A guide to Bitcoin NFT.
  43. 43. Market Cap versus Fully Diluted Market Cap - the most important differences you should know!
  44. 44. MINA Protocol: the lightest blockchain in the world!
  45. 45. NFT Gas Fee - what is it? How can you reduce your gas fee?
  46. 46. Liquidity Provider Tokens (LPs). What are they, and why are they so important?
  47. 47. What is KnowOrigin NFT, and how does it work?
  48. 48. What is decentralized social media?
  49. 49. What is the Ethereum Name Service (ENS) and how does it work?
  50. 50. Arbitrum: Ethereum scaling solution - everything you need to know
  51. 51. Ethereum ERC-4337 - what is it and how does this standard work?
  52. 52. Sustainable Blockchain - Proof of Useful Work & Flux
  53. 53. Ethereum Proof-of-Stake (PoS) - what should you know?
  54. 54. Atomic Swap: What is an atomic swap, and how does it work with cryptocurrencies?
  55. 55. What Is Cryptocurrency Vesting? What Are Its Advantages?
  56. 56. What Is the Metaplex Candy Machine Protocol? How Does It Work?
  57. 57. What Is the BNB Greenfield Ecosystem?
  58. 58. Real Yield in DeFi - what is this trend? What does it consist of?
  59. 59. What Is Slashing in Cryptocurrencies?
  60. 60. How to Create Your Own Decentralized Autonomous Organization (DAO)?
  61. 61. The ERC-721X VS ERC-721 Standard – Key Differences!
  62. 62. Royalties – What Are They? How Does This Type of Licensing Fee Work?
  63. 63. Polygon 2.0 - the value layer for the Internet
  64. 64. ERC-6551 - the new NFT standard. What does it bring to the non-exchangeable token sector?
  65. 65. What is TradFi? The importance for cryptocurrencies!
  66. 66. What is the Real World Asset (RWA) trend in cryptocurrencies? Explanation and examples!
  67. 67. Pyth Network: a powerful oracle harnessing the power of Solana!
  68. 68. Vampire Attacks in Decentralized Finance (DeFi): Explanation and Examples
  69. 69. What are stables in the world of cryptocurrencies?
  70. 70. What Is Binance Oracle?
  71. 71. What is NFT Lending all about? An innovative solution in the world of cryptocurrencies!
  72. 72. Shibarium: A new era in the Shiba Inu ecosystem?
  73. 73. What is an ETF? How will an exchange-traded fund on bitcoin work?
  74. 74. Symmetric and asymmetric encryption - key cryptography techniques!
  75. 75. Cosmos SDK: Building the Blockchain Ecosystem
  76. 76. DAO Investment: A revolution in the world of finance and investment
  77. 77. What is cross-chain interoperability in Blockchain technology?
  78. 78. Blockchain trilemma - explanation of the problem. What is the impact on cryptocurrency payments?
  79. 79. Hedging in cryptocurrencies - great portfolio protection against risk!
Lesson 11 of 79
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.

Odkryj staking z tokenem KNG na Kanga Exchange