-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature you would like
It would be cool if we could reuse an existing viem client for both the provider, and the bundler client (providing directly a BundlerClient for a given chain, like the getBundlerClient).
Something like:
new RhinestoneSDK({ clientFactory: (chainId) => ... , bundlerClientFactory: (chainId) => ... })
It would help support other bundler / paymaster than pimlico & alchemy, and also (my use case), use the same transport for the 3 (everything under an eRPC instance, doing caching, rate limiting and LB across multiple providers) + support fallbacks and all the cool stuff from viem.
I can work on it and submit a PR if you want
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request