npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@defi-wonderland/aztec-standards

v4.0.0-devnet.2-patch.1

Published

[![npm version](https://img.shields.io/npm/v/@defi-wonderland/aztec-standards.svg)](https://www.npmjs.com/package/@defi-wonderland/aztec-standards)

Downloads

708

Readme

Aztec Standards

npm version

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.

Development

Prerequisite: Start an Aztec local network in a separate terminal:

aztec start --local-network

Tests: yarn test runs Noir and JS tests. JS tests expect the network to be running at http://localhost:8080 (or NODE_URL).

Benchmarks: yarn bench connects to the same running network.

Set NODE_URL to override the default (e.g. http://localhost:9000).

Table of Contents

Dripper Contract

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

Token Contract

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

Tokenized Vault Contract

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

NFT Contract

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

Escrow Standard Contract & Library

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.

Future Contracts

Additional standardized contracts (e.g., staking, governance, pools) will be added under this repository, with descriptions and function lists.