# 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 tool](https://github.com/mimic-fi/mimic-7702-upgrade/) 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:

```bash
git clone https://github.com/mimic-fi/mimic-7702-upgrade
```

Enter the cloned repository and install dependencies:

```bash
cd mimic-7702-upgrade && yarn
```

Create a `.env` file from the example:

```bash
cp .env.example .env
```

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

{% hint style="warning" %}
EIP-7702 authorization is powerful. Only authorize Smart Account addresses provided by official Mimic sources.
{% endhint %}

#### Upgrade your EOA

```bash
yarn upgrade-7702
```

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

#### Check status

```bash
yarn status
```

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

#### Rollback your EOA

```bash
yarn downgrade-7702
```

This sends a zero-value self-transaction containing an EIP-7702 authorization that rolls back your EOA to its original status.
