Skip to content

Migrating Dapp users from one AA implementation to another AA implementation. #900

Answered by avarobinson
elallamTaka asked this question in Issues
Discussion options

You must be logged in to vote

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

  • Depending on your existing account implementation, you will need to use the upgradeToAndCall or upgradeTo method
  • Instead of Light Account, you need to pass in the Modular Account implementation address to the newImplementation param. Find the address depending on chain here

Considerations:

  • Th…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@avarobinson
Comment options

@elallamTaka
Comment options

Answer selected by avarobinson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants