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

Web3 Middleware #6864

Closed
2 tasks done
jdevcs opened this issue Mar 6, 2024 · 0 comments
Closed
2 tasks done

Web3 Middleware #6864

jdevcs opened this issue Mar 6, 2024 · 0 comments
Assignees
Labels

Comments

@jdevcs
Copy link
Contributor

jdevcs commented Mar 6, 2024

  • Feature:

  • Build feature of Pre and Post hooks for request processing to be used in plugin development.

  • This should allow to optionally pre-process request just before sending to provider, and post-process request's result after receiving from provider and before passing back to lib.

  • The user should be able to set middleware using web3 config and requestmanager should be aware if its not undefined and use that.

  • Define specifications for this middleware so users can implement it and set in web3js lib's plugins implementation

  • Tests:

Add unit tests

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

No branches or pull requests

1 participant