trufflesuite / drizzle-legacy

Reactive Ethereum datastore for dapp UIs.
http://truffleframework.com/docs/drizzle/getting-started
MIT License
502 stars 129 forks source link

Support for meta transactions #216

Closed crisgarner closed 5 years ago

crisgarner commented 5 years ago

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

adrianmcli commented 5 years ago

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.

crisgarner commented 5 years ago

@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[bot] commented 5 years ago

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[bot] commented 5 years ago

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.