-
Notifications
You must be signed in to change notification settings - Fork 168
Add ERC20 Cross-Chain Bridging, SuperchainERC20 #436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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