Almost rolled over last month. Our guild has planned a small event with simple rules: whoever kills 10 designated monsters in a certain game will receive a token reward. When the results were executed, it was found that the gas fee for each verification of player data almost caught up with the reward amount. This made me ponder a question - how can an organization of YGG's size, their Superquests system, support thousands of people participating at the same time, without being overwhelmed by the cost of on-chain interaction?
To understand this, you have to first disassemble and see how YGG handles the game data on the chain. The most shrewd thing about them is that they don't intend to stuff every player operation onto the chain at all. The entire logic core is a hybrid architecture of "off-chain computation, on-chain proof".
For example. The game server is the examination room, recording all your answer trajectories - how much time is spent, the distribution of right and wrong, and the sequence of operations. What are traditional on-chain tasks like? For example, uploading all the 4K original films monitored in the examination room to the chain, everyone can retrieve and replay verification, which is absolutely fair, but the cost can squeeze people dry, and the network bandwidth cannot bear this kind of violence and transparency.
YGG is more cunning. They let the game server do your test locally and generate a concise transcript with a string of cryptographic signatures. This report card is then submitted to the on-chain smart contract for final review - the contract only checks the validity of the signature and the basic compliance conditions, no matter how you answer the questions. It is equivalent to condensing the entire 4K monitoring into a PDF stamped with the official seal, which not only ensures credibility, but also cuts the amount of data on the chain to a fraction of the original.
There are three key support points for this plan. The first is a trusted execution environment to ensure that no one can cheat or tamper with the report card when the game server generates it; the second is zero-knowledge proofs or similar cryptographic tools, which allow on-chain contracts to verify authenticity without looking at the original data; The third is the event triggering mechanism, which only submits proof when the player reaches a key node, and the usual small actions do not touch the chain at all.
What does this mean for the average player? The threshold for participation has been lowered. You don't have to pay high gas fees to submit task progress, and many times you don't even feel the existence of the blockchain - the reward will automatically arrive after defeating monsters, and the experience is close to traditional games, but the assets are indeed lying in your wallet. For builders, this is a replicable path: if you want to build an on-chain incentive system, don't go all in the whole chain as soon as you come up, leave high-frequency interactions off-chain first, and only throw key proofs and asset settlements on-chain.
But this system is not without cost. The security of off-chain computing relies on specific infrastructure, and once that layer of trusted environment is breached, cheat data can be disguised as legitimate proofs to blend in. In addition, while simplifying the verification process saves gas, it sacrifices some transparency - you can't see how others complete the task, you can only trust the final result given by the system. Whether this trade-off is suitable for your project is up to you to decide.
Back to the scene of the small rollover in our guild. Now that I think about it, if I hadn't insisted on uploading every kill record to the chain, but asked the game server to count "who completed 10 kills" first, and only put the hash value and signature of this list on the chain, the cost could be saved by more than 90%. YGG's super task system actually industrializes this idea - using a mature technology stack and standardized processes to allow more projects to be quickly accessed, rather than starting from scratch every time.
When the technical cloak is peeled off, the core is revealed: not all data is worthy of expensive on-chain storage, and the only things that really need to be put on the chain are those key proofs of trust and asset ownership. YGG used this combination to pull Web3 game incentives back from idealism to the track of sustainable operation. As for how far this road can go, it depends on the maturity of the underlying infrastructure and the verification of more practical cases.
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
16 Likes
Reward
16
7
Repost
Share
Comment
0/400
BlockchainBrokenPromise
· 2025-12-13 02:18
Damn, this is exactly the issue I was complaining about last time—Gas fees eating up rewards is really not an isolated case.
Off-chain calculation + on-chain verification is indeed a perfect combo; saving 90% of costs is no joke. But the problem is, how do we guarantee trust? It still depends on who's operating this system behind the scenes.
YGG is able to run because they themselves have credibility. Trying this setup with a smaller project would probably lead to all kinds of problems.
Honestly, I care more about transparency. If I can't see the process, I can only trust the final result. This kind of thing is prone to becoming a black box.
Didn't expect to learn something from this wave. I was overcomplicating things earlier; it’s not necessary to go all-in on-chain.
But the security risks are still pretty frightening. If the trusted environment is broken, the whole system is a joke. Are there any practical protection cases?
View OriginalReply0
OldLeekConfession
· 2025-12-11 23:14
This is the correct way to open Web3 games; it should have been done this way long ago.
View OriginalReply0
digital_archaeologist
· 2025-12-11 09:02
Had I known it was so risky, I would have used offline verification. Gas fees are truly killing invisibly.
View OriginalReply0
MentalWealthHarvester
· 2025-12-10 04:41
So, the previous full-chain upload and monitoring scheme was indeed cerebral palsy
I've seen too much gas fees to overturn everyone, and your guild was a living teaching material that time
Off-chain computing and on-chain proof of this trick, to put it bluntly, is to make the system smarter and not toss around, not everything has to be stuffed on-chain to be called decentralization
YGG and the gang have really got the hang of it, they are not doing good deeds, they are doing sustainable business
View OriginalReply0
BearWhisperGod
· 2025-12-10 04:39
Oh, I should have done this a long time ago, how much money did I save?
View OriginalReply0
ImpermanentPhilosopher
· 2025-12-10 04:37
Haha, I understand the lesson of your gas fee this overturn. To put it bluntly, it wants to replicate YGG's success but ignores the hurdle of cost.
Off-chain computing on-chain proof This gameplay is indeed cunning, but I am more concerned about who guarantees the authenticity of that report card. Once something goes wrong in the trusted execution environment, it's completely gambling.
To be honest, 90% cost optimization sounds comfortable, but transparency is a real problem. Who can guarantee that the data has not been secretly altered?
In fact, YGG's system can run, mainly relying on scale effects and brand credit, how can our small guild have so much say.
Finally, as the old saying goes, not all projects are suitable for full chain transparency, but don't stuff everything under the chain, you have to step on this degree yourself.
View OriginalReply0
MetaverseVagabond
· 2025-12-10 04:26
Damn, isn't this the loss we suffered last time, the gas fee directly swallowed up most of the rewards
YGG did understand that off-chain accounting and on-chain signing are simply dimensionality reduction blows
Having said that, what is the price, what to do if the data is hacked, trust this thing is gone
Almost rolled over last month. Our guild has planned a small event with simple rules: whoever kills 10 designated monsters in a certain game will receive a token reward. When the results were executed, it was found that the gas fee for each verification of player data almost caught up with the reward amount. This made me ponder a question - how can an organization of YGG's size, their Superquests system, support thousands of people participating at the same time, without being overwhelmed by the cost of on-chain interaction?
To understand this, you have to first disassemble and see how YGG handles the game data on the chain. The most shrewd thing about them is that they don't intend to stuff every player operation onto the chain at all. The entire logic core is a hybrid architecture of "off-chain computation, on-chain proof".
For example. The game server is the examination room, recording all your answer trajectories - how much time is spent, the distribution of right and wrong, and the sequence of operations. What are traditional on-chain tasks like? For example, uploading all the 4K original films monitored in the examination room to the chain, everyone can retrieve and replay verification, which is absolutely fair, but the cost can squeeze people dry, and the network bandwidth cannot bear this kind of violence and transparency.
YGG is more cunning. They let the game server do your test locally and generate a concise transcript with a string of cryptographic signatures. This report card is then submitted to the on-chain smart contract for final review - the contract only checks the validity of the signature and the basic compliance conditions, no matter how you answer the questions. It is equivalent to condensing the entire 4K monitoring into a PDF stamped with the official seal, which not only ensures credibility, but also cuts the amount of data on the chain to a fraction of the original.
There are three key support points for this plan. The first is a trusted execution environment to ensure that no one can cheat or tamper with the report card when the game server generates it; the second is zero-knowledge proofs or similar cryptographic tools, which allow on-chain contracts to verify authenticity without looking at the original data; The third is the event triggering mechanism, which only submits proof when the player reaches a key node, and the usual small actions do not touch the chain at all.
What does this mean for the average player? The threshold for participation has been lowered. You don't have to pay high gas fees to submit task progress, and many times you don't even feel the existence of the blockchain - the reward will automatically arrive after defeating monsters, and the experience is close to traditional games, but the assets are indeed lying in your wallet. For builders, this is a replicable path: if you want to build an on-chain incentive system, don't go all in the whole chain as soon as you come up, leave high-frequency interactions off-chain first, and only throw key proofs and asset settlements on-chain.
But this system is not without cost. The security of off-chain computing relies on specific infrastructure, and once that layer of trusted environment is breached, cheat data can be disguised as legitimate proofs to blend in. In addition, while simplifying the verification process saves gas, it sacrifices some transparency - you can't see how others complete the task, you can only trust the final result given by the system. Whether this trade-off is suitable for your project is up to you to decide.
Back to the scene of the small rollover in our guild. Now that I think about it, if I hadn't insisted on uploading every kill record to the chain, but asked the game server to count "who completed 10 kills" first, and only put the hash value and signature of this list on the chain, the cost could be saved by more than 90%. YGG's super task system actually industrializes this idea - using a mature technology stack and standardized processes to allow more projects to be quickly accessed, rather than starting from scratch every time.
When the technical cloak is peeled off, the core is revealed: not all data is worthy of expensive on-chain storage, and the only things that really need to be put on the chain are those key proofs of trust and asset ownership. YGG used this combination to pull Web3 game incentives back from idealism to the track of sustainable operation. As for how far this road can go, it depends on the maturity of the underlying infrastructure and the verification of more practical cases.