Aztec Development Skills
Comprehensive patterns and best practices for Aztec smart contract development.
Subskills
Navigate to the appropriate section based on your task:
- Workspace Setup - Initializing and configuring Aztec projects
- Contract Development - Writing Aztec smart contracts
- Contract Unit Testing - Unit testing Aztec smart contracts with TXE
Quick Reference
Creating a New Project
See Project Setup for initializing new Aztec projects.
Writing Contracts
Start with Contract Structure for the basic template, then explore:
- Storage - State variable types
- Notes - Private state management
- Cross-Contract Calls - Inter-contract communication
Testing Contracts
See TXE Setup to configure your test environment, then:
- Writing Tests - Test patterns and assertions
- Running Tests - Compilation and execution
Using Aztec MCP Server
For detailed API documentation and code examples beyond what's covered here, use the Aztec MCP tools:
First, sync the repos (if not already done):
aztec_sync_repos()
Search for code patterns:
aztec_search_code({ query: "<pattern>", filePattern: "*.nr" })
List and read example contracts:
aztec_list_examples()
aztec_read_example({ name: "<example-name>" })
Search documentation:
aztec_search_docs({ query: "<question>" })
Read any file from cloned repos:
aztec_read_file({ path: "<relative-path>" })