Reducing on chain spamming with layer 2 solutions

Having a layer 2 solution in blockchain is an important thing. This has been the case in the last few years where many projects have created their own layer 2 solution instead of having everything on the main blockchain itself. Having a layer 2 helps in many aspects like scalability, efficiency in terms of transaction speed, cost reduction, etc. This can be done on many blockchains. There should be some basic support available on the blockchain and if it is available, layer 2 solutions can be made available.

One of the biggest reasons why someone should think about using a layer 2 solution is because it will reduce the spamming on the main blockchain. This applies mostly to gaming applications. There is a high chance that games might need multiple events happening. It is also necessary that these events have to be faster so that the gaming experience is seamless. Having them on the main blockchain directly can make things slow and it would also be considered as spamming the main chain. Some aspects of the games can still go in as transactions on the chain but it is good to have other things handled internally in layer 2. This way the efficiency can be improved.

Source

Game asset management

Currently, most of the games have their assets on layer 2 of the blockchain. Hive is the best example for that because it has Hive Engine and pretty much all the assets are stored inside Hive Engine and this is a layer 2 blockchain built and managed by the main chain. WAX has everything on their main chain itself but there are supporting libraries and code that would help in building the data in the format we want from the main blockchain. There are also a few other gaming platforms that keep their game assets on the blockchain but handle the microtransactions in their layer two. This way layer 2 can also be kept private and most of the important things alone can be kept for public view.

Game events on layer 2

Game events are mostly the microtransactions that happen inside the game. For example, if a player is moving from one map to another map, it need not necessarily have to be on the chain. It can be handled in layer 2 and the outcome alone can be synced with the blockchain and that too only if required. Some games have now moved their game events to their respective databases or layer 2 and have only the important and primary events on the blockchain that are essential to be handed on the blockchain. Initially, many games started with having everything on top of blockchain but things have changed now.

Source

Logging on layer 2

There were also a few projects that started logging their project activities on a chain with the help of microtransactions. Though this facility is available, it is advisable to move the logging part to layer 2 because it is also considered as spamming the chain. This type of data is going to be sitting on a blockchain forever. Reducing spamming helps in keeping the blockchain clean and easily scalable. Most of the logging can happen on layer 2 and it can be related to the blockchain if required with the help of transaction ID.


If you like what I'm doing on Hive, you can vote me as a witness with the links below.

Vote @balaz as a Hive Witness

Vote @kanibot as a Hive Engine Witness



Posted Using InLeo Alpha



0
0
0.000
17 comments
avatar

This type of data is going to be sitting on a blockchain forever. Reducing spamming helps in keeping the blockchain clean and easily scalable.

What happens to the chains that have already been badly spammed?

This post has been manually curated by the VYB curation project

0
0
0.000
avatar

This post has been manually curated by @steemflow from Indiaunited community. Join us on our Discord Server.

Do you know that you can earn a passive income by delegating to @indiaunited. We share more than 100 % of the curation rewards with the delegators in the form of IUC tokens. HP delegators and IUC token holders also get upto 20% additional vote weight.

Here are some handy links for delegations: 100HP, 250HP, 500HP, 1000HP.

image.png

100% of the rewards from this comment goes to the curator for their manual curation efforts. Please encourage the curator @steemflow by upvoting this comment and support the community by voting the posts made by @indiaunited..

This post received an extra 20.00% vote for delegating HP / holding IUC tokens.

0
0
0.000
avatar

1


This post has been selected for upvote from our token accounts by @bhattg! Based on your tags you received upvotes from the following account(s):

- @dhedge.bonus
- @dhedge.leo
- @dhedge.bee
- @dhedge.ctp
- @dhedge.pob
- @dhedge.neoxag
- @dhedge.waiv

@bhattg has 6 vote calls left today.

Hold 10 or more DHEDGE to unlock daily dividends. Hold 100 or more DHEDGE to unlock thread votes. Calling in our curation accounts currently has a minimum holding requirement of 100 DHEDGE. The more DHEDGE you hold, the higher upvote you can call in. Buy DHEDGE on Tribaldex or earn some daily by joining one of our many delegation pools at app.dhedge.cc.

0
0
0.000
avatar

Thank you for this update
It is important to reduce spamming activities as much as we can

0
0
0.000
avatar

Great articles you actually put up here and trust me if those things or measures you mentioned here can really be followed. It will go a long way in solving a lot of things

0
0
0.000
avatar

Such upgrades show that they are much needed, their particular benefit is that transaction fees are reduced and people are very happy about it. It was overpaid.

0
0
0.000
avatar

Thankfully we don't have any transaction fees on Hive.

0
0
0.000
avatar

Last I saw, custom json was like 80% of the volume. We also have a problem with accounts spamming the chain with nonsense because they are pissed off, there is nothing anyone can do about it.

0
0
0.000
avatar

Yeah true. I guess it might even increase further. Many projects rely on custom json transactions.

0
0
0.000
avatar

It is really important that this recommendation you have given is followed as it will go a long way in helping out

0
0
0.000
avatar

There is no such thing as spamming the blockchain! Everyone is free to do what they want with the blockchain based on their available RCs. They “paid” for that by stacking their HIVE.

There could be many reasons to prefer to store data on a fully decentralized layer 1 rather than on a (centralized) layer 2 built on top of it.

If this is a problem, then the system needs to be reviewed.

PS: Don't get me wrong, I'm not talking about spamming on the social layer (comment/posts).

0
0
0.000
avatar

Yes agreed. I think it differs from case to case and especially while building games on Hive.

0
0
0.000