3

I try to build an app where users can send and receive ERC20 tokens.

I want the transactions for my user to be feeless.

So is it possible for a user to create and sign the transactions, my system collects these transactions and submit them to the network and pays their Ethereum fees?

2

Yes! This pattern of transactions is called metatransactions.

As you described, your user would sign the transaction, but you would send the transaction to the network via a metatransaction.

There are a number of different ways to implement it. The Gas Station Network (GSN) by OpenZeppelin provides this as a service and is worth considering for your use.

| improve this answer | |
  • this GSN is quite abstracted and multi-purpose.i really need the minimum. e.g. the user creates and signs a transaction gives this transaction to me i broadcast the tx and pay the gas how would i go about this with minimum tools? – Mark Walser Nov 18 '19 at 4:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.