Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Request: EIP5792 Support #190

Open
tre-dev opened this issue May 8, 2024 · 0 comments
Open

Request: EIP5792 Support #190

tre-dev opened this issue May 8, 2024 · 0 comments

Comments

@tre-dev
Copy link

tre-dev commented May 8, 2024

Hey, thank you for developing the package!

Could you add support for the newly added useWriteContracts hook? It is still experimental, but required to sponsor user transactions via paymasters.

Docs: https://wagmi.sh/react/api/hooks/useWriteContracts
Code: https://github.com/wevm/wagmi/blob/main/packages/react/src/experimental/hooks/useWriteContracts.ts
Use Case: https://www.smartwallet.dev/guides/paymasters#3-send-eip-5792-requests-with-a-paymaster-service-capability

Edit: Actually, I think we'll need all of the 4 calls: https://www.eip5792.xyz/getting-started

@tre-dev tre-dev changed the title Request: useWriteContracts Request: EIP5792 Support May 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant