Skip to content

Conversation

@r001
Copy link

@r001 r001 commented Jan 1, 2024

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:

  1. Replaced onchain 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 eg transfer_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.
  2. Enable private token records to be sent to smart contracts - This problem must be addressed because one of the key selling points of Aleo is its programmable privacy. The author of this ARC also believes that to utilize the UTXO nature of Token records also leads to a much larger scalability than that can be achieved applying mappings and public tokens.
  3. A signature scheme that connects the contract with the main website of the project. Thus make it easier for users to trust the token contract, and decrease the possibility of phishing attacks.

By applying the proposals pointed out in this ARC the token standard will be more usable because of:

  1. one step approval process applying off chain signature, instead of two steps of approve() and transfer_from(), and
  2. the ability to send private tokens to smart contracts will enable a thriving DeFi life on top of the Aleo network.
  3. make token contracts more secure by connecting them to the company website applying a digital signature.

@andrashejj
Copy link

+1! This is essential for all DeFi projects building on ALEO!

@d0cd d0cd changed the title Add ARC0020 - token standard allowing public/private transfer to contracts ARC0020 - token standard allowing public/private transfer to contracts Feb 2, 2025
@d0cd
Copy link
Collaborator

d0cd commented Feb 2, 2025

@r001 thank you for the submission!
We're working on revamping the ARCs process and resolving past proposals.
To that end, is this effort still active?

We plan to either close or refresh this PR on February 10th, 2025.

@d0cd d0cd changed the title ARC0020 - token standard allowing public/private transfer to contracts ARC-0020 - token standard allowing public/private transfer to contracts Feb 2, 2025
@r001
Copy link
Author

r001 commented Feb 5, 2025

@r001 thank you for the submission! We're working on revamping the ARCs process and resolving past proposals. To that end, is this effort still active?

We plan to either close or refresh this PR on February 10th, 2025.

Hi, thanks for checking in.
As there is no current standard on private smart contract interaction, and this standard contains solution for that, my answer is YES, it is still active.

Best
Robert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants