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

Execute send transaction from Viem client #222

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

carlosfebres
Copy link

Summary

To enable execution from more complex wallet clients (e.g. smart wallet account clients), the send transaction Viem function is usually overwritten to handle sending these transactions. Viem currently doesn't support the execution of smart accounts in their default send transaction function.

Viem uses a getAction util function to execute a given function on the client or default to Viem's default function, which I believe should be used within the SDK.

@chybisov
Copy link
Member

chybisov commented Dec 9, 2024

@carlosfebres hey, thank you for the PR. Could you please describe your use case more and which smart wallets you use?

PR makes sense, we need to see if there are any more places we need to use getAction 👀

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

Successfully merging this pull request may close these issues.

2 participants