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

Remove dependency of provider plugin from wrapper #85

Open
Tracked by #77
cbrzn opened this issue May 2, 2023 · 0 comments
Open
Tracked by #77

Remove dependency of provider plugin from wrapper #85

cbrzn opened this issue May 2, 2023 · 0 comments

Comments

@cbrzn
Copy link
Contributor

cbrzn commented May 2, 2023

Currently, the ethers wrap is very dependent of the ProviderModule dependency. This is because whenever we do a JSON RPC request, we do it using the dependency (ProviderModule::request).

In order to fix this, we can do the JSON RPC requests using the HTTP Plugin, and when it comes to interactions with keys (signing transaction, for example), then use the ethereum-wallet plugin to interact with these signing functions.

This would allow the wrapper to be used without any ethereum provider, just an HTTP Plugin and be able to read from blockchain easily. Making it (the wrapper) easier to interact with

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

1 participant