What problem does it solve?
This Skill provides structured patterns and best practices to help developers design, implement, and test Aztec Noir contracts across contract structure, data types, storage, cross-contract calls, and test workflows.
Core Features & Use Cases
- Contract Structure patterns for building robust Noir contracts with macros, initializers, and clear annotations.
- Data Types & Storage guidance on choosing PublicMutable, Owned, Map, and private note patterns for secure and efficient state management.
- TXE Testing & Auth workflows describing how to unit test private/public functions, include authwit patterns, and set up test environments.
- Public Structs & Events patterns for structured public data and event emission in both private and public contexts.
- Cross-Contract Interactions approaches for private→private and private→public flows, including delayed reads and safe enqueues.
Quick Start
Read the Contract Structure guidance to scaffold a minimal Aztec Noir contract project and begin implementing a simple transfer pattern.
Use AI prompt: "Create a minimal Aztec Noir contract project following the Contract Structure pattern and add a basic unit test using TXE."