Aztec Standards is a comprehensive collection of reusable, standardized contracts for the Aztec Network. It provides a robust foundation of token primitives and utilities that support both private and public operations, empowering developers to build innovative privacy-preserving applications with ease.
- Dripper Contract
- Token Contract
- Tokenized Vault Contract
- NFT Contract
- Escrow Standard Contract & Library
- Future Contracts
The Dripper contract provides a convenient faucet mechanism for minting tokens into private or public balances. Anyone can easily invoke the functions to request tokens for testing or development purposes.
📖 View detailed Dripper documentation
The Token contract implements an ERC-20-like token with Aztec-specific privacy extensions. It supports transfers and interactions explicitly through private balances and public balances, offering full coverage of Aztec's confidentiality features.
We published the AIP-20 Aztec Token Standard to the forum. Feel free to review and discuss the specification there.
📖 View detailed Token documentation
The Token contract can be configured to function as a Tokenized Vault, allowing it to issue yield-bearing shares that represent deposits of an underlying asset. To enable this mode, deploy the contract using the constructor_with_asset() initializer. The underlying asset contract must be an AIP-20–compliant token, and the vault itself issues AIP-20–compliant share tokens to depositors.
We published the AIP-4626: Tokenized Vault Standard to the forum. Feel free to review and discuss the specification there.
📖 View detailed Tokenized Vault documentation
The NFT contract implements an ERC-721-like non-fungible token with Aztec-specific privacy extensions. It supports transfers and interactions through both private and public ownership, offering full coverage of Aztec's confidentiality features for unique digital assets.
📖 View detailed NFT documentation
The Escrow Standard contains two elements:
- Escrow Contract: a minimal private contract designed to have keys with which authorized callers can spend private balances of tokens and NFTs compliants with AIP-20 and AIP-721, respectively.
- Logic Library: a set of contract library methods that standardizes and facilitates the management of Escrow contracts from another contract, a.k.a. the Logic contract.
📖 View detailed Escrow documentation
To see examples of Logic contract implementations, such as a linear vesting contract or a clawback escrow contract, go to aztec-escrow-extensions.
Additional standardized contracts (e.g., staking, governance, pools) will be added under this repository, with descriptions and function lists.