Replies: 2 comments 2 replies
-
Honestly, I don't think this is ready to merge & much of the implementation in the repo is missing / mocked. Please see this PR & this file specifically for how I believe the token program should be implemented. Critical problems:
I also don't think the reference implementation should be on Leo. It should probably be in Aleo until Leo catches up with feature completeness. Thank you for getting the ball rolling on this standard. |
Beta Was this translation helpful? Give feedback.
-
Evan makes good points, and I have a few to add too: ERC-20 started with core functions that had to be agreed on, and then was expanded to add mint/burn/capped/pausable tokens. The ARC-20 should likely have more core functions than the ERC-20, because we need to make a distinction between private transfers and public transfers. There are certain functions in the ERC-20 that we may not choose to follow exactly, like the I also don't think Aleo supports what is necessary to make a full ERC-20-like Aleo token yet. The features I think we'd ideally need to have before we can fully debate ARC-20's standard and implementation are:
This implementation makes some of those decisions implicit, but taking a step back, I think Aleo devs need to agree on some important points:
|
Beta Was this translation helpful? Give feedback.
-
Implementation of the 6 mandatory rules and 3 optional rules in Leo Programming Language so that they can be invoked in a Smart contract.
Beta Was this translation helpful? Give feedback.
All reactions