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

Why the SupportedAccounts on useSendUserOperation hook is limited to Alchemy Web Signers? #960

Open
valerioleo opened this issue Sep 11, 2024 · 2 comments

Comments

@valerioleo
Copy link

As per title, I am looking to understand the rationale behind this choice, which looks like a limitation to me.
I am building an app that should allow other custom signers and I see no reason why this should be a limitation for the use of react hooks.

export type SupportedAccounts =

@moldy530
Copy link
Collaborator

Hey @valerioleo! yea good question, we made this choice as it simplifies the initial assumptions that have to be made in supporting a useAccountHook because the account is typed based on the passed in signer. Our initial iteration was to limit the scope of supported signers in the react hooks + ui components to the alchemy signer, but we are evaluating ways to make this more configurable in the future

@valerioleo
Copy link
Author

Hey @valerioleo! yea good question, we made this choice as it simplifies the initial assumptions that have to be made in supporting a useAccountHook because the account is typed based on the passed in signer. Our initial iteration was to limit the scope of supported signers in the react hooks + ui components to the alchemy signer, but we are evaluating ways to make this more configurable in the future

@moldy530 is there any roadmap we can refer to to know when the scope of signers will be expanded?

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

2 participants