Can a dapp pay the gas and be refunded by the customer in tokens in the same transaction?

Hi @abcoathup

Playing around with Solidity and smart contracts so sorry if this is a noob question.
Is it possible for my dapp to pay the gas for a customer and the customer to refund me in the same transaction?

1 Like

Hi @bcsr,

Welcome to the community forum :wave:

It should be possible for your dapp to pay the Ether gas transaction fee and then be refunded by the customer in an ERC20 token. I recommend checking with the OpenGSN team.

All development on the GSN has been moved to the OpenGSN organization. They are developing GSNv2.

If you have questions on GSNv2 you can asking in the GSN support telegram: