I need to know if it is possible to implement a smart contract to send signed transaction (signed with metamask). The user that sign the transaction must pay the fees. All examples that I'm reading is to implement gasless transactions (meta-transactions) and GSN v2 (https://docs.opengsn.org/).

The objective is create a smart contract to do specific business logic before to do the DAI token transaction.


  • With metamask you can sign a message and send a transaction (the user will have to accept two confirmation dialogs). It is not clear what's the purpose, a contract will never be able to impersonate and act as a user. Some tokens allow EIP 2612 signed approvals, but it is a specific purpose.
    – Ismael
    Feb 11, 2022 at 4:17

1 Answer 1


I think you can create a modifier on your smart contract to perform those actions prior to making transactions, if those business logics don't go successfully you can just revert the transactions.

  • then, do I need to extend the DAI contract to add new business logic?
    – rmr
    Feb 21, 2022 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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