Add ERC20 Cross-Chain Bridging, SuperchainERC20#436
Add ERC20 Cross-Chain Bridging, SuperchainERC20#436ericglau merged 81 commits intoOpenZeppelin:masterfrom
Conversation
|
@SocketSecurity ignore npm/ws@7.4.6 |
|
@SocketSecurity ignore npm/undici@5.28.4 Unrelated to this PR, see #430 (comment) |
|
Added a Chain ID field under Premint, which only appears and is only required when both Premint has a value and Cross-Chain Bridging is enabled. |
|
Ready for review. |
|
@ernestognw I changed it to disable the action buttons (Copy etc.) and make the code non-selectable when there are errors in the input. I'm not sure if we should set the default chainId to For example, if using the predeployed SuperchainTokenBridge, the ERC-7802 mints and burns would only be on Superchain networks and not on Ethereum. I think we should require the user to specify a chainId, since they may want to premint on something like OP Mainnet instead. |
|
Thank you for your contribution to OpenZeppelin Contracts Wizard. Before being able to integrate those changes, we would like you to sign our Contributor License Agreement. I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
|
I have read the CLA Document and I hereby sign the CLA |


Adds "Cross-Chain Bridging" feature for ERC20 (and Stablecoin and RWA tabs), with the selectable options being "Custom" or "SuperchainERC20".
These are based on ERC20Bridgeable from OpenZeppelin Community Contracts, where:
Wizard UI Preview