-
Notifications
You must be signed in to change notification settings - Fork 187
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
Consider ERC1155? #34
Comments
I commented on the original repo but this one seems more active: I’ve decided to try to rewrite the protocol as an ERC1155 protocol for several reasons: No mixed function/signature pairs in ERC1155/ERC20. What I did: Made a mapping _totalSupply[erc20Id] to override ERC20 totalSupply() using erc20Id of 0 Thanks to this approach all native ERC20 and ERC1155 minting, burning and transfer functions behave as expected. See my repo, it’s a vastly different approach to the current standard but achieves similar effects to what “ERC404” does. github.com/TechnicallyWeb3/TW3404 Things I haven’t had time to do to make it complete: |
This is dope. |
Has anyone considered this would be better with ERC1155, as it has batchTransfers, different function signatures it would be way better for blending ERC20, afterall, ERC1155 is designed for multiple tokens. I wrote my own version of "ERC404" using ERC1155, feel free to check it out or use it: https://github.com/TechnicallyWeb3/TW3404
The text was updated successfully, but these errors were encountered: