AIP-20: Aztec Token Standard

Submit
aztec.network

AIP-20: Aztec Token Standard

AI summary of the linked article

AIP-20 proposes a unified API for token implementations in the Aztec protocol ecosystem, covering token transfers between accounts across private and public execution contexts. Because Aztec executes private functions before public ones, moving tokens from public to private state requires a transfer commitment that is initialized in the private context and then processed publicly. The standard, a Fungible Token implementation proposed by Wonderland, defines required private getters and methods such as balance_of_private and transfer_private_to_public, plus public methods such as transfer_public_to_public. It also notes that transferring to a commitment executes in the public space and, although the recipient address is hidden, still leaks information about the action and the transferred amount.

No comments yetWhat caught your eye? Start the discussion.