Calls to some methods of my smart contract are regular and frequent in my application. If the method is not playable and does not transfer funds, only a gas fee, how can I remove the need to confirm this action every time with a separate window?
I think asking the user to enter the private key will be inconvenient, I’m looking for other solutions. I am using ethers.js and signer contract
new ethers.Contract(contract, abi, new ethers.providers.Web3Provider(window.ethereum, “any”).getSigner())