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

Expose viem public client actions from ViemWalletProvider #272

Open
gskril opened this issue Feb 5, 2025 · 0 comments · May be fixed by #264
Open

Expose viem public client actions from ViemWalletProvider #272

gskril opened this issue Feb 5, 2025 · 0 comments · May be fixed by #264

Comments

@gskril
Copy link

gskril commented Feb 5, 2025

🚀 The feature, motivation and pitch

It would be helpful to have access to things like simulateContract from walletProvider in custom actions. In the context of a custom action that submits a transaction, being able to simulate the outcome first would allow the LLM to see the contract revert message rather than just seeing if a transaction failed or succeeded.

Or perhaps an easier solution is exposing both public and wallet clients from the wallet provider.

@gskril gskril linked a pull request Feb 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant