Is there any boilerplate code out there which allows for meta transactions to be refunded?
Basically, let’s assume I want to swap 10 USDT for 10 USDC on Uniswap but I don’t have Eth. So I will sign a message which swaps the tokens for me and then sends 1 USDC to the relayer that paid the gas fees.
Is someone implementing this or something similar. If yes, can I also see their code for inspiration? TIA
2 thoughts on “Meta transactions with refund?”
Meta-transaction are a thing but I’ve only seen eip-1776 compliant token on Polygon
[Showtime XYZ](https://twitter.com/AlexMasmej/status/1619462830868267008) uses relayers to allow EOA’s to use web3 without needing to prefund gas