> For the complete documentation index, see [llms.txt](https://celopg.gitbook.io/tokenmanager/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://celopg.gitbook.io/tokenmanager/guides/l2-to-l1-migration.md).

# Flow 3: Migrate L2 Token to L1

Gives an existing Celo Native token an L1 counterpart on Ethereum, enabling bridging both ways.

## Steps

| Step | Action                                                                         | Chain    | Who signs    |
| ---- | ------------------------------------------------------------------------------ | -------- | ------------ |
| 1    | `L1TokenFactory.createToken()` — same name/symbol/decimals, `initialSupply: 0` | Ethereum | Anyone       |
| 2    | `L2SuperChainToken.setBridge(L2_BRIDGE)`                                       | Celo     | Token owner  |
| 3    | `L2SuperChainToken.setRemoteToken(L1_ADDRESS)`                                 | Celo     | Token owner  |
| 4    | (Optional) `L2StandardBridge.bridgeERC20To()` — burns on L2, mints on L1       | Celo     | Token holder |

## Contract calls

```solidity
function setBridge(address bridge_) external onlyOwner;          // Step 2
function setRemoteToken(address remoteToken_) external onlyOwner; // Step 3
```

{% hint style="warning" %}
**Irreversible**: once configured, bridge settings cannot be changed.
{% endhint %}

Notes: supply stays on L2 (L1 starts at 0); after migration, tokens bridge both L1→L2 and L2→L1.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://celopg.gitbook.io/tokenmanager/guides/l2-to-l1-migration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
