Upgrade your EOA to a Mimic 7702

Traditional EOAs are designed for manual interaction and typically require repeated approvals and signatures, making them a poor fit for automated workflows.

This guide shows how to upgrade an existing EOA into a Mimic 7702 smart account, enabling automation-friendly behavior without deploying a new smart account contract.


Can I deploy a smart account contract instead?

Yes, that's possible. However, there are some downsides to bear in mind:

  • Deployment requires gas

  • A new address must be managed

  • Funds often need to be migrated

For many users, this upfront complexity is unnecessary.


What EIP-7702 enables

EIP-7702 allows an EOA to authorize a smart account implementation via a special transaction.

This means:

  • The EOA keeps the same address

  • No deployment step is required

  • The account can behave like a smart account when needed


How Mimic uses EIP-7702

Mimic uses EIP-7702 to let EOAs opt into richer execution behavior only when required.

Once upgraded:

  • The EOA can participate in automation flows

  • Execution logic is delegated safely

  • Repeated approvals are avoided

All execution complexity is handled by Mimic.


Upgrading your EOA

Mimic provides a small command-line toolarrow-up-right that performs the upgrade in a single transaction.

At a high level:

  1. Configure your RPC and private key

  2. Specify the official Mimic Smart Account address

  3. Run the upgrade command

From your command line, clone the repository:

Enter the cloned repository and install dependencies:

Create a .env file from the example:

Fill in the following variables:

  • RPC_URL – RPC endpoint for the target chain

  • PRIVATE_KEY – EOA private key to be upgraded

  • SMART_ACCOUNT_ADDRESS – Official Mimic EIP-7702 Smart Account implementation address

circle-exclamation

Upgrade your EOA

This sends a zero-value self-transaction containing an EIP-7702 authorization that upgrades the EOA to a Mimic smart account.

Check status

This prints basic wallet and network information and provides helpful explorer links for manual verification.

Last updated