I just watched Build a Play2Earn game tutorial on youtube.
So whenever the game is done and player won, playerWon()
from smart contract is called by moralis cloud which uses admin private key.
Question here is, what if 1k or 10k people played the game and won simultaneously or between the similar time? I know it’d be hectic for one admin account to process tons of transactions at the same time because of the nonce issue.
What’s the production level solution to this?