I am trying to figure out a way to make a different wallet to pay the gas fees in a ERC20 transaction.
Let's say I have user Joe with USDC tokens in his wallet but not ETH. If I try to transfer 10 USDC tokens to someone else, the transaction will fail because Joe doesn't have ETH to pay for the gas fees.
Is there a way to make this transfer but use my wallet to pay for the gas fees? So Joe would be able to transfer the 10 USDC tokens to someone else but I would pay for the gas fees. Any idea how to do this? I do have both private keys.
Just some context, I am working in a DApp where users will be able to transfer or make payments using USDC tokens. However we don't want users transferring ETH to their wallets to be able to transfer the USDC tokens. So we thought if it would be possible for us to pay the gas fees when the user transfer USDC tokens. We are using Nethereum but I couldn't find this info in the documentation.
Any suggestion is welcome! Thanks!
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments