Skip to main content

25 docs tagged with "contracts"

View all tags

Aztec macros

Learn about macros available in Aztec.nr for code generation and abstraction.

Call Types

Understand the different types of contract calls in Aztec, including private and public execution modes, and how they compare to Ethereum's call types.

Compile Contracts

Learn how to compile your Noir smart contracts for deployment on Aztec.

Contract Deployment

Learn how contract classes and instances are created and deployed on the Aztec network.

Contract Structure

Learn the fundamental structure of Aztec smart contracts including the contract keyword, directory layout, and how contracts manage state and functions.

Contract Upgrades

Understand contract upgrade patterns in Aztec and how to implement upgradeable contracts.

Emitting Events

Learn how to emit events from your Aztec smart contracts for off-chain applications to consume.

How to Pay Fees

This guide shows you how to pay fees for transactions in Aztec using different payment methods.

Inbox

Learn about the inbox mechanism in Aztec portals for receiving messages from L1.

Note Types

Learn about note types and how to implement custom note types in your Aztec smart contracts.

Optimize Contracts

Learn how to profile your Aztec transactions to optimize performance and gas usage.

Outbox

Learn about the outbox mechanism in Aztec portals for sending messages to L1.

Project Structure

Learn how to set up and structure your project for Aztec smart contracts.

Registry

Learn about the portal registry and how it manages L1-L2 contract mappings.

Smart Contracts

Introduction to Aztec smart contracts, their unique features, and how they differ from traditional blockchain contracts.

Writing Efficient Contracts

Best practices and techniques for writing gas-efficient contracts on Aztec, optimizing for both proving and execution costs.