Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend the extension contracts to support meta transactions #5

Open
akolotov opened this issue Mar 3, 2021 · 1 comment
Open

Extend the extension contracts to support meta transactions #5

akolotov opened this issue Mar 3, 2021 · 1 comment
Labels
enhancement New feature or request mediators Related to mediators contracts

Comments

@akolotov
Copy link
Collaborator

akolotov commented Mar 3, 2021

Depends on #4.

The idea of this issue is to implement a support of meta transactions on the mediators contract as so bridged NFTs (or NFTs supporting the standard) could be triggered for the transfer without the necessity in the direct interaction with the contracts from the user side.

For example, the interaction flow could be like the following:

  • the user is requested to sign a message which could be used to approve a particular account to use transferFrom functionality of the token contract
  • the message and the signature are incorporated into a call of an extended version of relayToken
  • some agent sends a transaction with the extended version of relayToken to the mediator contract
  • the mediator contract uses the message to get the approval for itself to use transferFrom
  • the mediator contract picks the token and proceeds with the action to complete the token transfer
@akolotov akolotov added enhancement New feature or request mediators Related to mediators contracts labels Mar 3, 2021
@akolotov
Copy link
Collaborator Author

Depends on both #4 (MT for ERC721) and #41 (MT for EIP1155).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mediators Related to mediators contracts
Projects
None yet
Development

No branches or pull requests

1 participant