ethereum-optimism / design-docs

MIT License
25 stars 19 forks source link

Add transfer precompile design doc #51

Open karlb opened 3 months ago

karlb commented 3 months ago

Description

Bring Celo's transfer precompile to OP-stack to allow Token Duality (native token via ERC20) without requiring an op-geth fork.

Additional context

tynes commented 3 months ago

I think this could make sense given the chain operator could turn on/off the smart contract that is authorized to interact with the predeploy. There is a non zero chance that an existing application has a bug due to this, so chains that want to be more conservative in adopting this would be able to not use it. Then chains that do want this feature could turn it on