Here's the dilemma, which I am sure has been solved before:
We need to create an application which updates information on-chain according to the users progress in the application.
In this case it's a game, and the game is off-chain, but the data is stored on-chain.
I understand that the best solution is to have the smart contract have a modifier that makes it so only one specific wallet address would be able to call the function to update user data.
Then we would have the application be the only one able to sign transactions using that wallet's private key, which would be stored in a secure manner.
Theoretically, I understand all of this (if it is indeed correct), yet I do not know how to implement this last part. Can anyone provide some guidance or even point me in the right direction when it comes to this?