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

Instructions on how to use #1

Open
fvictorio opened this issue Mar 3, 2020 · 2 comments
Open

Instructions on how to use #1

fvictorio opened this issue Mar 3, 2020 · 2 comments

Comments

@fvictorio
Copy link

Hi, are there some docs (or maybe a tutorial somewhere) on how to build on top of this? Thanks!

@wighawag
Copy link
Owner

wighawag commented Mar 9, 2020

Hi, sorry for the late reply. I don't have any documentation yet except for the EIP : ethereum/EIPs#1776

But currently to try it out you can see the contract example that receive EIP-1776 metatx here : https://github.com/wighawag/singleton-1776-meta-transaction/blob/master/contracts/src/Test/NumberSale.sol

As for relayer, you can see some code here to execute the tx :

tx = await metaTxProcessor.executeMetaTransaction(

Hope that helps. But I ll leave the issue open and once I get some time, I ll try to write documentation or maybe even a tutorial about it.
What kind of perspective are you interested in ? Someone that want to make a contract to receive native meta tx?

@fvictorio
Copy link
Author

Awesome, thank you!

What kind of perspective are you interested in ? Someone that want to make a contract to receive native meta tx?

Yeah, I think that should work, a sort of "how to build a contract with support for meta transactions".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants