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

consider moving to generic viem client, passing into individual methods #1307

Open
holic opened this issue Aug 15, 2023 · 0 comments
Open

consider moving to generic viem client, passing into individual methods #1307

holic opened this issue Aug 15, 2023 · 0 comments

Comments

@holic
Copy link
Member

holic commented Aug 15, 2023

Instead of carrying around publicClient and walletClient and calling specific ones depending on the context, we can support a generic client and use only the viem methods we need, to make it easier to tree-shake: https://viem.sh/docs/clients/custom.html#tree-shaking

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

No branches or pull requests

1 participant