OP Stack
Upgrading ERC20 to SuperchainERC20
💡

The SuperchainERC20 standard is ready for production deployments. Please note that the OP Stack interoperability upgrade, required for crosschain messaging, is currently still in active development.

Upgrading ERC20 to SuperchainERC20

Overview

This guide explains how to upgrade an ERC20 to a SuperchainERC20 (opens in a new tab) that can teleport across the Superchain interop cluster using the SuperchainTokenBridge (opens in a new tab) contract. For more information on how it works, see the explainer.

⚠️

The code on the documentation site is sample code, not production code. This means that we ran it, and it works as advertised. However, it did not pass through the rigorous audit process that most Optimism code undergoes. You're welcome to use it, but if you need it for production purposes you should get it audited first.

There are several ways to upgrade an existing ERC20 for interop, depending on the exact circumstances. Click any of the green rectangles for directions.

Next steps