-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Feature]: permissionless erc20 <-> cosmos coin #17
Comments
PR adds support for sending Cosmos Coins back to a Native ERC20 contract within Evmos: strangelove-ventures/os#4 |
permissionless ERC20 registration as well from Joel -- strangelove-ventures/os#5 We'll be moving over the cosmos/evm fork soon so we can push to upstream as well as our own |
@Reecepbcups your PR makes converting between ERC20 and Bank tokens permissionless, but I personally think we should move off of the bank<>erc20 conversion behaviour and transition into having balances mirrored between the two. Personally a fan of keeping this governance gated for now (and just not using it) and working on fully moving over to a mirrored mechanic for this. This seems like legacy code before STRv2 was released, and would be more of a pain to migrate over to mirrored balances if chains used it. Lmk what you think |
Summary
Currently only IBC coins and governance proposals set ERC20->Cosmos bank native pairs.
Problem Definition
IBC and gov only ERC20s is far too limiting. Cosmos bank tokens are superior and being able to convert to and from an ERC20<>bank is ideal. This way a user can:
eth mainnet -> LZ/IBC -> Chain WTOKEN -> ConvertERC20ToCosmosToken -> perform actions with it (staking, other) -> RedeemERC20FromCosmosToken -> LZ/IBC back out
This
Chain WTOKEN
is not the native token (the native_precompile), it is some new token.Proposed Feature
Rough POC I put together. This assumes the codebase stays close to its current form and just appends on features.
Script
Permissionless Link Idea
The text was updated successfully, but these errors were encountered: