Aztec Overview
This page outlines Aztec's fundamental technical concepts. It is recommended to read this before diving into building on Aztec.
What is Aztec?
Aztec is a privacy-first Layer 2 on Ethereum. It supports smart contracts with both private & public state and private & public execution.
High level view
- A user interacts with Aztec through Aztec.js (like web3js or ethersjs)
- Private functions are executed in the PXE, which is client-side
- Proofs and tree updates are sent to the Public VM (running on an Aztec node)
- Public functions are executed in the Public VM
- The Public VM rolls up the transactions that include private and public state updates into blocks
- The block data and proof of a correct state transition are submitted to Ethereum for verification