My app works well locally but fails communicating with the contract through infura. After researching a bit. I found out that I had to setup accounts manually but I don’t know how to do this in my frontend app. I can do it easily with the console though using hard hat or truffle.
Any ideas? I’m using ethers.js to communicate with infura for my frontend app.