trufflesuite/drizzle-legacy

Support for meta transactions

crisgarner opened this issue · 4 comments

Meta transaction allows developers to pay the gas fee for users with no balance, the Burner Wallet is a case of success using meta transactions. Implementing meta transactions with drizzle is complicated.

Decentralized relayers are a solution and hope soon is available for everyone, some links:

https://medium.com/tabookey/how-to-make-your-dapp-gasless-da15d4d3cacd

https://github.com/tabookey/tabookey-gasless

Meta transactions are still very new. I think they are an important part of Ethereum's future, but I doubt we have the bandwidth to work on that at this point. However, if you would like to work on a PR for experimentation purposes, I'd love to take a look.

@adrianmcli I tried to implement it with drizzle a couple of weeks ago. Documentation of taboo key mentions that you just need to update the provider like:

tabookey = require( 'tabookey-gassless')
provider = new tabookey.RelayProvider(web3.currentProvider, {} }
web3.setProvider(provider) 

I added the new provider as a custom provider in drizzle options and didn't set the new provider. I'll keep experimenting and let you know.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale commented

This issue has been closed, but can be re-opened if further comments indicate that the problem persists. Feel free to tag maintainers if there is no reply to further comments.