I'm currently working on creating a web3 browser game and I ran into an issue. I have a method in my SmartContract for giving players tokens and its onlyOwner. I want to be able to run it in my code but not let other people run it. Since Users could easily just give themselves free coins if they did that. Im Using Web3Js and i'm not the most familiar with it yet. Is there a way that i can run my function from MY address in my frontend, instead of it running from the connected users? All Feedback is welcome, thanks for your time.
Status: Not Anwsered