-
Notifications
You must be signed in to change notification settings - Fork 268
ARC-0020 - token standard allowing public/private transfer to contracts #58
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
base: master
Are you sure you want to change the base?
Conversation
|
+1! This is essential for all DeFi projects building on ALEO! |
|
@r001 thank you for the submission! We plan to either close or refresh this PR on February 10th, 2025. |
Hi, thanks for checking in. Best |
README.md
Discussion
main.aleo
main.leo
There are several ARC-20 implementation standard proposals for the Aleo blockchain. This ARC provides a complete token standard for both public and private account/contract operations. Compared to other ARC-20 proposals this ARC has the following major differences:
approve()functionality with offchain signature -approve()transition should not be implemented, instead user can agree to send token to a contract offchain using an offchain signature process to approve a transaction, and an onchain function egtransfer_from_public()that can apply that signature. This way smart contract interaction does not have to be a two step, but rather a one step process. This solution will save system resources as the approve part is offchain rather than onchain.By applying the proposals pointed out in this ARC the token standard will be more usable because of:
approve()andtransfer_from(), and