Skip to content

Commit 457f46d

Browse files
author
AztecBot
committed
Merge branch 'v5-next' into merge-train/fairies-v5
2 parents faea43d + eb19401 commit 457f46d

19 files changed

Lines changed: 235 additions & 0 deletions

File tree

docs/developer_versioned_docs/version-v4.3.0/docs/aztec-nr/framework-description/authentication_witnesses.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ references: ["noir-projects/noir-contracts/contracts/app/token_contract/src/main
88

99
Authentication witnesses (authwit) allow other contracts to execute actions on behalf of your account. This guide shows you how to implement and use authwits in your Aztec smart contracts.
1010

11+
import YouTubeEmbed from '@site/src/components/YouTubeEmbed';
12+
13+
For a video walkthrough of the concepts and the implementation pattern, watch this explainer (find more on the [video lessons](../../resources/video_lessons.mdx) page):
14+
15+
<YouTubeEmbed videoId="VRZVOCdjGZ4" title="How Authorization Works on Aztec" />
16+
1117
## Prerequisites
1218

1319
- An Aztec contract project set up with `aztec-nr` dependency

docs/developer_versioned_docs/version-v4.3.0/docs/foundational-topics/advanced/authwit.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ description: Learn about Aztec's Authentication Witness scheme that enables secu
88

99
Authentication Witness is a scheme for authenticating actions on Aztec, allowing users to authorize third-parties (protocols or other users) to execute actions on their behalf.
1010

11+
import YouTubeEmbed from '@site/src/components/YouTubeEmbed';
12+
13+
For a video walkthrough of how authwits work, including both the private and public flows, watch this explainer (find more on the [video lessons](../../resources/video_lessons.mdx) page):
14+
15+
<YouTubeEmbed videoId="VRZVOCdjGZ4" title="How Authorization Works on Aztec" />
16+
1117
## Summary
1218

1319
- **Authwits authorize specific actions**, not blanket allowances like ERC20 approvals

docs/developer_versioned_docs/version-v4.3.0/docs/foundational-topics/call_types.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ We say that a smart contract is called when one of its functions is invoked and
1818

1919
There are multiple types of calls, and some of the naming can make things **very** confusing. This page lists the different call types and execution modes, pointing out key differences between them.
2020

21+
import YouTubeEmbed from '@site/src/components/YouTubeEmbed';
22+
23+
A key property of Aztec calls is that contracts can call each other privately, keeping even the call stack itself private. This two-minute explainer covers the idea before we get into the details (find more on the [video lessons](../resources/video_lessons.mdx) page):
24+
25+
<YouTubeEmbed videoId="idxRuGQnQKs" title="What is Private Composability? An Aztec Explainer" />
26+
2127
## Ethereum Call Types
2228

2329
Aztec's design is heavily influenced by Ethereum, and many APIs and concepts are similar. This section provides background on Ethereum call types for context. If you're already familiar with Ethereum, you can skip to [Aztec Call Types](#aztec-call-types).

docs/developer_versioned_docs/version-v4.3.0/docs/foundational-topics/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,18 @@ description: Overview of Aztec, a privacy-first Layer 2 on Ethereum supporting s
66
---
77

88
import Image from "@theme/IdealImage";
9+
import YouTubeEmbed from "@site/src/components/YouTubeEmbed";
910

1011
This page outlines Aztec's fundamental technical concepts. It is recommended to read this before diving into building on Aztec.
1112

1213
## What is Aztec?
1314

1415
Aztec is a privacy-first Layer 2 on Ethereum. It supports smart contracts with both private & public state and private & public execution.
1516

17+
Prefer video? This explainer covers the core idea in under 90 seconds, and there are more [video lessons](../resources/video_lessons.mdx) available.
18+
19+
<YouTubeEmbed videoId="urcBvo2QJp0" title="What is Aztec: Explained in Under 90 Seconds" />
20+
1621
<Image img={require("@site/static/img/Aztec_overview.png")} />
1722

1823
## High level view

docs/developer_versioned_docs/version-v4.3.0/docs/foundational-topics/transactions.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ references: ["noir-projects/noir-contracts/contracts/account/ecdsa_k_account_con
77
---
88

99
import Image from '@theme/IdealImage';
10+
import YouTubeEmbed from '@site/src/components/YouTubeEmbed';
1011

1112
On this page you'll learn:
1213

@@ -15,6 +16,10 @@ On this page you'll learn:
1516
- The private and public kernel circuits and how they execute function calls
1617
- The call stacks for private and public functions and how they determine a transaction's completion
1718

19+
For a two-minute visual overview of how a single transaction spans private and public execution, watch this explainer (find more on the [video lessons](../resources/video_lessons.mdx) page):
20+
21+
<YouTubeEmbed videoId="MayopgQ1FjI" title="One Transaction, Two Worlds: Private and Public State on Aztec" />
22+
1823
## Simple Example of the (Private) Transaction Lifecycle
1924

2025
The transaction lifecycle for an Aztec transaction is fundamentally different from the lifecycle of an Ethereum transaction.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: Video lessons
3+
description: "Learn Aztec through short video explainers covering what Aztec is, private and public state, private composability, and getting started."
4+
tags: [videos, learning]
5+
sidebar_position: 0
6+
---
7+
8+
import YouTubeEmbed from "@site/src/components/YouTubeEmbed";
9+
10+
Prefer watching to reading? These short explainers, presented by Ciara Nightingale from the Aztec team, each cover a core Aztec concept in just a few minutes. Written pages that go deeper are linked below each video.
11+
12+
## What is Aztec?
13+
14+
Aztec is a privacy-first Layer 2 on Ethereum: a zero-knowledge rollup where smart contracts can have both public and private state, and private execution happens locally on your own device. This video explains the core idea in under 90 seconds.
15+
16+
<YouTubeEmbed videoId="urcBvo2QJp0" title="What is Aztec: Explained in Under 90 Seconds" />
17+
18+
Related reading: [Aztec overview](../../overview.md), [foundational topics](../foundational-topics/index.md)
19+
20+
## Private and public state in one transaction
21+
22+
A single Aztec transaction can span private and public execution. Using a private voting contract as the example, this video shows how private execution runs first on your device, producing a proof and side effects (nullifiers, note commitments, and enqueued public calls) that the sequencer then applies in public, keeping your vote private while the tally stays public.
23+
24+
<YouTubeEmbed videoId="MayopgQ1FjI" title="One Transaction, Two Worlds: Private and Public State on Aztec" />
25+
26+
Related reading: [transactions](../foundational-topics/transactions.md), [state management](../foundational-topics/state_management.md)
27+
28+
## What is private composability?
29+
30+
On Aztec, smart contracts can call each other privately. Because transactions execute and prove locally, not only the state but the call stack itself can stay private: nobody watching the chain learns which contract called which. This video explains how that lets you build on top of other apps permissionlessly, just like Ethereum, without leaking what you are doing.
31+
32+
<YouTubeEmbed videoId="idxRuGQnQKs" title="What is Private Composability? An Aztec Explainer" />
33+
34+
Related reading: [call types](../foundational-topics/call_types.md), [calling other contracts](../aztec-nr/framework-description/calling_contracts.md)
35+
36+
## How authorization works (authwits)
37+
38+
Authentication witnesses (authwits) are Aztec's generalized alternative to Ethereum's approve and transferFrom pattern: they authorize a specific action for a specific caller, work in both private and public execution, and prevent replay. This lesson walks through the message hash structure, the private and public flows, and the `#[authorize_once]` macro.
39+
40+
<YouTubeEmbed videoId="VRZVOCdjGZ4" title="How Authorization Works on Aztec" />
41+
42+
Related reading: [authentication witness concepts](../foundational-topics/advanced/authwit.md), [using authwits in aztec.nr](../aztec-nr/framework-description/authentication_witnesses.md)
43+
44+
## Get started in under 60 seconds
45+
46+
Ready to build? This video walks through installing the Aztec tooling, creating a new contract project, compiling it, and deploying it to a local network, all in under a minute.
47+
48+
<YouTubeEmbed videoId="_jgHNdNgFOg" title="Get Started on Aztec in Under 60 Seconds" />
49+
50+
Related reading: [getting started on a local network](../../getting_started_on_local_network.md)
51+
52+
## More videos
53+
54+
For a full-length course and more explainers, visit the [Aztec Network YouTube channel](https://www.youtube.com/@aztecnetwork).

docs/developer_versioned_docs/version-v4.3.0/getting_started_on_local_network.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ What's included in the local network:
2121

2222
This guide will teach you how to install the Aztec local network, run it using the Aztec CLI, and interact with contracts using the wallet CLI. To jump right into the testnet instead, click the `Testnet` tab.
2323

24+
import YouTubeEmbed from '@site/src/components/YouTubeEmbed';
25+
26+
To see the whole flow before you start, watch this one-minute walkthrough (find more on the [video lessons](./docs/resources/video_lessons.mdx) page):
27+
28+
<YouTubeEmbed videoId="_jgHNdNgFOg" title="Get Started on Aztec in Under 60 Seconds" />
29+
2430
## Prerequisites
2531

2632
import { General, Fees } from '@site/src/components/Snippets/general_snippets';

docs/docs-developers/docs/aztec-nr/framework-description/authentication_witnesses.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ references: ["noir-projects/noir-contracts/contracts/app/token_contract/src/main
88

99
Authentication witnesses (authwit) allow other contracts to execute actions on behalf of your account. This guide shows you how to implement and use authwits in your Aztec smart contracts.
1010

11+
import YouTubeEmbed from '@site/src/components/YouTubeEmbed';
12+
13+
For a video walkthrough of the concepts and the implementation pattern, watch this explainer (find more on the [video lessons](../../resources/video_lessons.mdx) page):
14+
15+
<YouTubeEmbed videoId="VRZVOCdjGZ4" title="How Authorization Works on Aztec" />
16+
1117
## Prerequisites
1218

1319
- An Aztec contract project set up with `aztec-nr` dependency

docs/docs-developers/docs/foundational-topics/advanced/authwit.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ description: Learn about Aztec's Authentication Witness scheme that enables secu
88

99
Authentication Witness is a scheme for authenticating actions on Aztec, allowing users to authorize third-parties (protocols or other users) to execute actions on their behalf.
1010

11+
import YouTubeEmbed from '@site/src/components/YouTubeEmbed';
12+
13+
For a video walkthrough of how authwits work, including both the private and public flows, watch this explainer (find more on the [video lessons](../../resources/video_lessons.mdx) page):
14+
15+
<YouTubeEmbed videoId="VRZVOCdjGZ4" title="How Authorization Works on Aztec" />
16+
1117
## Summary
1218

1319
- **Authwits authorize specific actions**, not blanket allowances like ERC20 approvals

docs/docs-developers/docs/foundational-topics/call_types.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ We say that a smart contract is called when one of its functions is invoked and
1818

1919
There are multiple types of calls, and some of the naming can make things **very** confusing. This page lists the different call types and execution modes, pointing out key differences between them.
2020

21+
import YouTubeEmbed from '@site/src/components/YouTubeEmbed';
22+
23+
A key property of Aztec calls is that contracts can call each other privately, keeping even the call stack itself private. This two-minute explainer covers the idea before we get into the details (find more on the [video lessons](../resources/video_lessons.mdx) page):
24+
25+
<YouTubeEmbed videoId="idxRuGQnQKs" title="What is Private Composability? An Aztec Explainer" />
26+
2127
## Ethereum Call Types
2228

2329
Aztec's design is heavily influenced by Ethereum, and many APIs and concepts are similar. This section provides background on Ethereum call types for context. If you're already familiar with Ethereum, you can skip to [Aztec Call Types](#aztec-call-types).

0 commit comments

Comments
 (0)