Migrating Dapp users from one AA implementation to another AA implementation. #900
-
Say that smart accounts were created for a user via ECR-4337 compatible smart contract, deployed via a factory, what is the process of migrating these active users to Alchmeys Modular Smart Accounts? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @elallamTaka - great question! You can migrate from one 4337 account implementation to another with one User Operation that will replace the underlying implementation with Modular Account as long as your existing account supports the upgradeToAndCall or upgradeTo methods. Here are details for how to upgrade a Simple Account to Light Account. You'll need to make some changes for Modular Account
Considerations:
What account are you migrating from and which chain? Happy to give more details or answer any other questions! |
Beta Was this translation helpful? Give feedback.
Hey @elallamTaka - great question!
You can migrate from one 4337 account implementation to another with one User Operation that will replace the underlying implementation with Modular Account as long as your existing account supports the upgradeToAndCall or upgradeTo methods.
Here are details for how to upgrade a Simple Account to Light Account. You'll need to make some changes for Modular Account
newImplementation
param. Find the address depending on chain hereConsiderations: