-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Currently, there is no support for bridging the native token between rootchain and childchain.
For example, on Ethereum, the native token is Ether, i.e. not an ERC20. This means the RootERC20Predicate contract cannot be used to facilitate the deposit and withdrawal of Ether.
This Github issue proposes adding new contracts RootNativePredicate and ChildNativePredicate which can be used to facilitate the deposit and withdrawal of Ether. (Open to naming convention changes)
One could argue that users can deposit WETH (an ERC20 wrapper of Ether) however, this causes significant UX friction, requiring users to wrap and unwrap, while also introducing issues for non-crypto native users who are not familiar with WETH and the need for wrapping.
I will be implementing the contracts required to support Native Token Bridging and ideally, it would be merged back to this repository. I'll share a draft PR as it progresses. Open to discussion here