MultiversX Tracker is Live!

How can a different wallet pay for the gas fees in someone's else transaction?

Etherum Reddit

More / Etherum Reddit 145 Views

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!

submitted by /u/johnbimbow
[link] [comments]
Get BONUS $200 for FREE!

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