ethereum-optimism / design-docs

MIT License
27 stars 20 forks source link

design-doc: SuperchainERC20 Factory for L1 native tokens #50

Closed 0xParticle closed 3 months ago

0xParticle commented 4 months ago

Description This document presents the requirements for a factory that deploys SuperchainERC20 tokens for tokens native to L1.

tynes commented 4 months ago

Are you sure that we need to deploy the L2 tokens via deposits from L1? That will increase the cost of creating these tokens. I believe we can get around this if the salt commits to the L1 token address + the erc20 properties fetched from the OptimismMintableERC20 token

0xParticle commented 4 months ago

Are you sure that we need to deploy the L2 tokens via deposits from L1? That will increase the cost of creating these tokens. I believe we can get around this if the salt commits to the L1 token address + the erc20 properties fetched from the OptimismMintableERC20 token

After discussing this point, we will update the design doc to remove the need for L1 deployments. We will relax the metadata enforced condition and make it based on social consensous.

tynes commented 3 months ago

This looks ready for a design review meeting, the design at this point generally looks good to me

tynes commented 3 months ago

@mds1 Would love to have your eyes on this if you have time

tynes commented 3 months ago

Implementation PR for the token itself: https://github.com/ethereum-optimism/optimism/pull/11256