-
Notifications
You must be signed in to change notification settings - Fork 189
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
feat: initialize viem package #565
base: main
Are you sure you want to change the base?
Conversation
parentRpcUrl, | ||
childRpcUrl, | ||
parentWalletClient, | ||
childWalletClient, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need the childWalletClient here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I would not request any client here, and just create everything within the function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you clarify? typically, the consumer will want control of their clients, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If they want to keep control on their client, they can extend with actions on their own. I would expect createArbitrumClient
to do every thing for me and create the clients not extend them. But it's not an issue.
parentRpcUrl, | ||
childRpcUrl, | ||
parentWalletClient, | ||
childWalletClient, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If they want to keep control on their client, they can extend with actions on their own. I would expect createArbitrumClient
to do every thing for me and create the clients not extend them. But it's not an issue.
No description provided.