-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Summary
We want to the agent to be able to trigger multiple transactions, and as much as possible avoid the user having to sign every individual tx. We have two potential approaches to this
Approach 1
This is our "ideal" and the first one we want to spike into. EIP 7702 & 4337 offer a method to "upgrade" wallets to become "smart wallets" that can bulk sign transactions. Where this gets hairy is, not everyone is going to want their wallets permanently upgraded. We need to investigate if it's possible to temporarily upgrade a wallet, perform our tx signing, then downgrade the wallet safely.
Approach 2
If this spike fails, we want to create a ticket to spike into approach 2. That's utilising embedded wallets to avoid bulk signing. If we use embedded wallets then we have full control and can sign everything ourselves. We'll need to see if for a bulk tx, we can perform a kind of "handover" to the embedded wallet so that it can handle all the in between tx's and then give the results back.
Helpful stuff
https://docs.metamask.io/smart-accounts-kit
https://docs.metamask.io/smart-accounts-kit/get-started/smart-account-quickstart
Metadata
Metadata
Assignees
Labels
Type
Projects
Status