Replies: 2 comments 5 replies
-
If you are managing an Ethereum account on behalf of a user, you can handle transactions for those users however you want. You can implement all of the wallet logic in your snap to submit userOps. However, you cannot implement custom transaction handling for the Ethereum accounts managed by MetaMask. There is no API to do this yet. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hey.
It is probably the UserOperation, which is an object that needs to be
passed in order to make an accout abstracted transaction.
Regards,
Krisztian
…On Mon, Mar 18, 2024 at 11:16 AM cwhcheng ***@***.***> wrote:
i follow this repo
https://github.com/MetaMask/snap-account-abstraction-keyring/tree/v0.2.2
to create a AA account in snap and I can connect the AA ac to any dapp. But
when i actually try to send out a transaction (let's say doing a swap in
Uniswap), it throws me an error Invalid options to add user operation
smartContractAccount - Expected an object, but received: undefined {
"originalError": {} } Do you know how to deal with this issue? thanks!
—
Reply to this email directly, view it on GitHub
<#1379 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT6KSTBARBTYEKGFUCMWYJ3YY25HFAVCNFSM6AAAAAAXRVTP3CVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQMRVHAZDI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Everyone.
I am having a team where we would like to implement erc 4337 to Metamask Snaps. Our only question would be that is it possible to convert user's transactions into a userOp ( UserOperation ) or not? Because basically this is the only thing which decides whether we can do our project or not?
Thank you.
Regards,
Krisztian
Beta Was this translation helpful? Give feedback.
All reactions