How can I sign & send multiple transactions at once? Batch transactions #2537
Replies: 1 comment
-
Hi adiandelgg. You can deploy a contract that will work as a "smart wallet" and use a for-loop with delegate call to batch N transactions in a single transaction. For instance, in DeFi Basket we deploy this contract for our users and use the function P.S.: Be aware that using this pattern has some security issues. For example, you should use delegate call only to call trusted contracts, and in case you make |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to be able to send 2 transactions in 1 transaction.
How can I do this?
Example:
approve()
transferFrom()
Beta Was this translation helpful? Give feedback.
All reactions