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

[Feature Request] Client library for Flutter #897

Open
jpiabrantes opened this issue Sep 8, 2022 · 3 comments
Open

[Feature Request] Client library for Flutter #897

jpiabrantes opened this issue Sep 8, 2022 · 3 comments

Comments

@jpiabrantes
Copy link

Flutter is a competitor to React. It currently has two popular plugins to develop web3 applications: flutter_web3 and web3dart.

Unfortunately, there is no easy way to use OpenGSN with Flutter. Is there a plan to make or extend a Flutter plugin to make it easy to use with OpenGSN?

P.S. if anyone has done this already, please reach out! :)

@drortirosh
Copy link
Member

Can you please elaborate on the problem of using GSN with flutter?
With GSN3, there's an easy way to use for code that uses ethers:
if you have a contract "myContract", then you can do

gsnEnabledContract = await wrapContract(myContract, gsnConfig)

and use that contract for making transactions.
You can still use your original "myContract" for making view calls.

@jpiabrantes
Copy link
Author

Most Flutter developers (like myself) don't touch any javascript.

We have plugins like flutter_web3 that contain all the javascript like ethers but expose only dart (what flutter devs use) code.

We need the same for the GSN code.

@forshtat
Copy link
Member

Hi @jpiabrantes
Have you been able to use GSN with Flutter? We don't have a plan to create such a plugin but will be glad to add it to the official repo if you were able to make it work.
Thanks!

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

3 participants