Back to Course

2. Intermediate Course

0% Complete
0/0 Steps
  1. 1. What is Layer 0 in Blockchain technology?
  2. 2. What is layer 1 in Blockchain?
  3. 3. Second layer (layer 2) - what is it? 
  4. 4. Blockchain and its layers - What is layer three in Blockchain (L3)?
  5. 5. Ethereum 2.0 - What is it? 
  6. 6. Ethereum Proof-of-Stake (PoS) - what should you know?
  7. 7. Ethereum London Hard Fork - what is it ? 
  8. 8. What is the Ethereum Name Service (ENS) and how does it work?
  9. 9. Arbitrum: Ethereum scaling solution - everything you need to know
  10. 10. Polygon 2.0 - the value layer for the Internet
  11. 11. Ethereum ERC-4337 - what is it and how does this standard work?
  12. 12. What is an ERC20 token and how is it created?
  13. 13. The ERC-721X VS ERC-721 Standard – Key Differences!
  14. 14. What is cryptocurrency burning?
  15. 15. Examples of the use of WEB3 on the blockchain
  16. 16. What is Web5? 
  17. 17. Blockchain Oracle - what are oracles? 
  18. 18. Polkadot - Decentralized blockchain and DOT cryptocurrency
  19. 19. Polkadot Parachain - Next-generation blockchain
  20. 20. Interoperability in the world of cryptocurrencies and blockchain
  21. 21. What is Blockchain sharding?
  22. 22. Mainnet versus Testnet on the Blockchain. The complete guide!
  23. 23. MINA Protocol: the lightest blockchain in the world!
  24. 24. Sustainable Blockchain - Proof of Useful Work & Flux
  25. 25. Cosmos SDK: Building the Blockchain Ecosystem
  26. 26. What is cross-chain interoperability in Blockchain technology?
  27. 27. Blockchain trilemma - explanation of the problem. What is the impact on cryptocurrency payments?
  28. 28. Non-fungible tokens and NFT exchanges
  29. 29. How to make money with NFT?
  30. 30. What is the NFT licence fee?
  31. 31. NFT Gas Fee - what is it? How can you reduce your gas fee?
  32. 32. The main differences between static NFT and dynamic NFT
  33. 33. What is minting an NFT?
  34. 34. What are NFT Ordinals? A guide to Bitcoin NFT.
  35. 35. What is KnowOrigin NFT, and how does it work?
  36. 36. ERC-6551 - the new NFT standard. What does it bring to the non-exchangeable token sector?
  37. 37. What is NFT Lending all about? An innovative solution in the world of cryptocurrencies!
  38. 38. The Metaverse – a new virtual world
  39. 39. Metaverse – TOP 15 virtual reality projects
  40. 40. Technical analysis – is it worth using?
  41. 41. Trading order types: stop loss, trailing stop loss, LIMIT
  42. 42. Market Cap versus Fully Diluted Market Cap - the most important differences you should know!
  43. 43. Set up of Stop Loss and Take Profit orders
  44. 44. What are DeFi liquidity pools?
  45. 45. Real Yield in DeFi - what is this trend? What does it consist of?
  46. 46. Vampire Attacks in Decentralized Finance (DeFi): Explanation and Examples
  47. 47. What are wrapped tokens 
  48. 48. What are security tokens?
  49. 49. What are Social Tokens? 
  50. 50. Liquidity Provider Tokens (LPs). What are they, and why are they so important?
  51. 51. What is the Lightning Network, and how does it work?
  52. 52. What is Play-to-Earn (P2E) and how does it work?
  53. 53. Cryptocurrency steps - What is move to earn M2E?
  54. 54. Segregated Witness - what is Segwit Bitcoin all about?
  55. 55. What are Decentralized Cryptocurrency DEX Exchanges?
  56. 56. What is Curve Finance?
  57. 57. What is GameFi and how does it work?
  58. 58. What is Proof of Reserves (PoR)? How does it work?
  59. 59. DAO Investment: A revolution in the world of finance and investment
  60. 60. What is MakerDAO and DAI Stablecoin?
  61. 61. What is the SubDAO protocol, and how does it work?
  62. 62. How to Create Your Own Decentralized Autonomous Organization (DAO)?
  63. 63. Atomic Swap: What is an atomic swap, and how does it work with cryptocurrencies?
  64. 64. What Is Cryptocurrency Vesting? What Are Its Advantages?
  65. 65. What Is the Metaplex Candy Machine Protocol? How Does It Work?
  66. 66. What Is the BNB Greenfield Ecosystem?
  67. 67. What Is Slashing in Cryptocurrencies?
  68. 68. Royalties – What Are They? How Does This Type of Licensing Fee Work?
  69. 69. What is TradFi? The importance for cryptocurrencies!
  70. 70. What is the Real World Asset (RWA) trend in cryptocurrencies? Explanation and examples!
  71. 71. Pyth Network: a powerful oracle harnessing the power of Solana!
  72. 72. What are stables in the world of cryptocurrencies?
  73. 73. What Is Binance Oracle?
  74. 74. Shibarium: A new era in the Shiba Inu ecosystem?
  75. 75. What is an ETF? How will an exchange-traded fund on bitcoin work?
  76. 76. Symmetric and asymmetric encryption - key cryptography techniques!
  77. 77. Hedging in cryptocurrencies - great portfolio protection against risk!
  78. 78. How to create your own cryptocurrency? 
  79. 79. What is a Dusting Attack in cryptocurrencies? How to protect against it?
  80. 80. What is a Black Swan?
Lesson 21 of 80
In Progress

21. What is Blockchain sharding?

A common pattern in the cryptocurrency industry is that it is Ethereum that has the biggest scalability problems. Of course, in terms of the cost and time it takes to complete a given transaction.

The case of Ethereum is not isolated, however. Scalability issues are experienced by most blockchains. We have already written about this impediment of the blockchain network here. For this reason, many developers are working to solve this problem. One of their proposals is a multiphase update, called Sharding. What is Blockchain sharding, and why is it so important?

Blockchain Sharding

Sharding is one method of increasing the scalability of blockchain. It involves partitioning the databases that are used in a given ecosystem of blockchain technology. This allows them to perform more transactions per second.

To put it more simply – sharding is dividing the entire blockchain network into several smaller ones, called shards. One shard contains unique data and is independent of the others. As a result, storage in the Peer-to-Peer network is not so overloaded. So, nodes can perform more transactions, in a faster time. After sharding, each node stores only the data that pertains to its department or shard.

The sharding process is also non-invasive to the entire blockchain ecosystem. Information contained in individual shards can be shared with other nodes, while keeping the distributed order book secure and decentralized. Why? Because after splitting still, any shard can view any ledger entry without retaining data about it. In this way, we avoid overloading the network.

The sharding process is an excellent solution in reducing transaction delays.

How does sharding on blockchain work?

We mainly apply sharding to blockchains, having a great deal of data, but a single base. A perfect example of this would be Ethereum – many developers, working on various projects.

There are more than 300 dApps working on the Ethereum blockchain in addition to developers, which even forces the ecosystem to take advantage of sharding to increase scalability.

The sharding process makes it easier to spread out the stored data, which in turn makes roll-ups even more cost-effective, while simplifying node support. As a result, Layer 2 solutions benefit from Ethereum while being secure and less expensive.

The sharding process helps divide the entire network into smaller modules, each of which increases the TPS of the network. The whole process seems simple, but it has quite a few important elements in it:

  • Nodes.

Each node in the blockchain network processes or manages a transaction that occurs within the ecosystem.  Nodes, that run on blockchain technology, are autonomous. Their job is to store all the data that the decentralized network generates. We’re talking about account balances or records of individual transactions.

Through this approach, all transaction processing is very slow. However, it retains a high level of security, since each transaction is stored in each node of the network. The slow speed of transaction processing is not encouraging for potential users.

Therefore, sharding is used to reduce the transaction load. It effectively relieves the burden on nodes, which no longer need to manage or process the entire transaction. Through the sharding process, node management can be more efficient.

  • Horizontal Partitioning.

Horizontal division of databases. Also, it can be used to perform sharding. For example: the task of one shard could be to store transaction history and current address status. Another would store data on account balances and so on.

Moreover, with Horizontal Partitioning, shards could be partitioned according to the type of digital assets that are stored in each individual shard.

Why is Sharding so important in the blockchain ecosystem?

There are three, main reasons why sharding is so essential.

  • Compression of used data.

As we mentioned in the paragraphs above, each node has a copy of itself, which contains the full history of the network. This is why it is so difficult for hackers to take control and potentially modify transactions. However, maintaining this comes at the expense of the scalability of the entire blockchain network.

  • Scalability.

This is the most important advantage of sharding applications. Increased scalability. Through this process, blockchain can split nodes and store more information. And this without slowing down the transaction time!

As a result, developers have already aired the potential. With sharding, more industries can implement blockchain technology in their operations. Finance, FinTech, banking can take advantage of blockchain and compete with centralized counterparts.

  • Availability.

Improved accessibility for network users is an additional benefit of sharding. Using Ethereum  as an example, sharding reduced the amount of hardware required to run the network. This can easily be done on consumer devices. The result – more people participate in the network.

Sharding, and security

Sharding, like most blockchain scalability solutions, is only in the testing phase. However, its advantages are undeniable.

A problem that can occur during sharding is the collision of shards. One shard can take control of another. As a result, the information in it may be lost. We also consider that malicious shards can introduce blockchain damaged data into the network.

If we look at Ethereum, such a danger is very limited and virtually impossible to occur.

Another danger to consider is a cyberattack on a single shard. After such an action, fraudulent transactions can be introduced into the network. However, this possibility has also been minimized. In the case of Ethereum, nodes have been assigned to specific shards.

Examples of blockchain networks using sharding.

  • NEAR

NEAR focused on real-time cross-shard transactions. At the same time, he wanted to keep the network load light for users. How did he do that? He allowed each low-end device to run a node as part of the overall network.

Consequently, each such device helps process a subset of transactions. The Sharded Proof of Stake blockchain NEAR has greater scalability and allows network nodes to run on low-end devices. With this solution, the network gives access to many additional devices, and these improve the speed of the entire ecosystem.

  • Ethereum Beacon Chain

Beacon Chain, is the main chain in Ethereum 2.0. Its job is to process cross-links and “store” active validators waiting in a queue. It also helps process the block by block consensus in Ethereum. Functions include:

  • Management of validators and their rates.
  • Implementation of existing consensus principles.
  • Organizing voting on proposed changes.
  • Assign rewards and penalties to validators.
  • It records the states of the shards and is responsible for transactions between them.

Polkadot Parachain

This is another interesting project, which we wrote about here. It’s a very intriguing use of shards in a distributed database. The whole ecosystem offers a simplified perspective of the blockchain network. It is also worth mentioning that Polkadot has highly specialized parachain, which we have already written about.

Summary

The process of sharding is undoubtedly a fascinating and noteworthy solution, improving the scalability of a given blockchain network. Admittedly, the desired results are far from being achieved, but developers are working to optimize the entire process. They are solving any obstacles that may arise, while working to improve security.