Hi,
Polygon gas prices went from 30 to 300 gwei in the past few days and my dappâs useWeb3ExecuteFunction started giving the âtransaction underpricedâ error.
From reading other posts here I understood that modifying the gas price is not possible in this function, and so my question is how can I replace this function with the standard ethers function (where I can override the gas prices)?
Because if I use ethers library directly instead of useWeb3ExecuteFunction I have to use my private key to sign the transactions. However, these transactions should be signed by the users, not me.
So how can I let my users sign a transaction with ethers js? Or alternatively, how can I make the useWeb3ExecuteFunction work when the gas prices fluctuate?
P.s. I onboard users with the Web3Auth login and donât have access to their private keys. And since this login method doesnât support popups they canât manually sign their transactions like they would be able with metamask, or can they?
Thank you.